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 DannyP96, 05-18-2026, 02:38 PM
        1 response
        29 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        117 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        69 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        227 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        309 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X