• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 JTizz, Today, 08:59 AM
      0 responses
      1 view
      0 likes
      Last Post JTizz
      by JTizz
       
      Started by GTBrooks, Today, 08:28 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by manxtrader75, Yesterday, 11:42 AM
      3 responses
      15 views
      0 likes
      Last Post NinjaTrader_ChristopherD  
      Started by julifro, Today, 08:24 AM
      0 responses
      2 views
      0 likes
      Last Post julifro
      by julifro
       
      Started by GTBrooks, Yesterday, 05:53 PM
      2 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X