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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
60 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
148 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
284 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment