Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Handling splits in multi-timeframe strategies

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

    Handling splits in multi-timeframe strategies

    I have a ninja script strategy that uses both intraday and daily (close) data. My feed provider (IQFeed) provides split adjusted data for Daily but not for Intraday. Is there some intuitive way to handle this in NT either through Ninja script functions or the Control Center? I know that I can select Tools>Options>Data>Adjust for Splits and also set up for splits in the Instrument Manager, but I need to only adjust for splits on intraday while simultaneously not adjusting for splits on the Daily (since the data is already adjusted). Any help would be appreciated.

    #2
    Sorry for our late reply here Joe - I would create 2 different symbols here so you can choose for which you would add the split info for the intraday data and then you can still refer to the IQFeed native one for the daily data so the NT master symbol would not use any split info for this one then.

    Comment


      #3
      Instead of daily bars, try using 400-minute bars, and make sure you have the correct session hours set fpr the instrument in the Instrument manager. This should give you 1 OnBarUpdate at the end of the session, collected from the minute data so it will be correctly split/dividend adjusted from the raw data if you have that enabled. The close won't be the "official" close (which is usually some VWMA of the last seconds of trading), but should be good enough except maybe for lightly-traded instruments.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      60 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      148 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      97 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      284 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X