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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X