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.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks! It solved the problem.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by mjairg, 07-20-2023, 11:57 PM
      3 responses
      213 views
      1 like
      Last Post PaulMohn  
      Started by TheWhiteDragon, 01-21-2019, 12:44 PM
      4 responses
      544 views
      0 likes
      Last Post PaulMohn  
      Started by GLFX005, Today, 03:23 AM
      0 responses
      3 views
      0 likes
      Last Post GLFX005
      by GLFX005
       
      Started by XXtrader, Yesterday, 11:30 PM
      2 responses
      12 views
      0 likes
      Last Post XXtrader  
      Started by Waxavi, Today, 02:10 AM
      0 responses
      7 views
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Working...
      X