Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Handling splits in multi-timeframe strategies
Collapse
X
-
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.Tags: None
-
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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
649 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
573 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
576 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment