Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dymanic range chart values

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

    Dymanic range chart values

    Hi,

    In Strategy Analyser you can run your strategy using Data Series Type: Range and Value 2.

    My question is can you backtest the strategy using a dynamic value, so the range chart value can change during the test? or is it static to the value you enter in the Dataseries on analyser?

    I want to be able to run a backtest using varying range values you see,

    Thanks,

    #2
    Hello james377,

    Yes, this is possible. You can set optimize on data series = true, and then additional fields open up where you can optimize this.

    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      but i dont want to optimise this? i want to be able to run a strategy and my code will change the range value during the backtest? for example say i wanted to change the range size depending on another indicators strength?

      Comment


        #4
        This is unfortunately not directly possible, you could though Add() multiple range chart series and then work with each series and their indicator values as needed in a MultiSeries strategy.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        72 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        39 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        63 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