Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Visibility of strategy params at run-time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Visibility of strategy params at run-time

    Is it possible to control the visibility of strategy parameters in the backtest window at run-time? For example, say I have a boolean parameter EnterAboveMarket. If the user of the strategy sets this parameter to true then the strategy enters several ticks above the market and if false it enters at market. If EnterAboveMarket is set to true, then I want to display the parameter TicksAboveMarket, which lets the user specify how many ticks above the market it should enter. If EnterAboveMarket is set to false then I don't want TicksAboveMarket to be visible as it is meaningless. Is this achievable in either Ninja 6.5 or 7?
    Thanks.

    #2
    Hi annettes, setting dynamic public properties is unfortunately not supported.

    Comment


      #3
      OK, I get that it is not supported, so you can't tell me HOW to do it. But is it possible (using, for example, compiler directives such as #define... #if... etc )?
      Last edited by annettes; 03-30-2011, 02:56 AM.

      Comment


        #4
        annettes, I would unfortunately not have further info on this for you - you would need to play around with it.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X