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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        92 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        70 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        64 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X