• 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 faustf, Today, 05:00 AM
      0 responses
      5 views
      0 likes
      Last Post faustf
      by faustf
       
      Started by NinjaCustomer, Today, 03:19 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by MarianApalaghiei, Today, 02:54 AM
      1 response
      5 views
      0 likes
      Last Post MarianApalaghiei  
      Started by RandanAL, Yesterday, 11:58 PM
      0 responses
      5 views
      0 likes
      Last Post RandanAL  
      Started by Kabua, Yesterday, 11:24 PM
      0 responses
      5 views
      0 likes
      Last Post Kabua
      by Kabua
       
      Working...
      X