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 habeebft, Today, 07:27 AM
      0 responses
      1 view
      0 likes
      Last Post habeebft  
      Started by Tim-c, Today, 03:54 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by rocketman7, Today, 01:00 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by wzgy0920, 04-23-2024, 09:53 PM
      3 responses
      76 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by JonesJoker, 04-22-2024, 12:23 PM
      9 responses
      46 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X