Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical data reference when running a strategy from Strategies tab

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

    Historical data reference when running a strategy from Strategies tab

    My strategy needs to reference the past 20 day's closing price. It works as expected during backtest. However, when I ran the strategy from the Strategies tab, it only used past 10 day's historical data. How do I set a start date for "seeding" the historical data when running a strategy from Strategies tab?

    I've looked at the Help file for "Running a NinjaScript Strategy from Strategies Tab". The screenshot under step 4 shows a "From" field under "Time frame" section. I don't see this field in my version (I'm using NT6.5) though.

    #2
    allisonyz, welcome to our forums here - you want to setup your chart default lookback as needed for this as the strategies started from 'the tab' would use this setting, too. It can be found under Tools > Options > Data.

    Comment


      #3
      Thanks! It solved the problem.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      29 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, Yesterday, 02:41 AM
      0 responses
      13 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      21 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Working...
      X