I was wondering is there any way of having access to both from the same strategy?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to load 10 days and intraday data and 3 month of daily?
Collapse
X
-
How to load 10 days and intraday data and 3 month of daily?
I wish I could have 3 month of tick data, but I don't. But I certainly have 3 month of daily.
I was wondering is there any way of having access to both from the same strategy?Tags: None
-
Let me try explain it again.
I need to load 3 month of daily data to a strategy. Following your example, I'd do it like that:
Add(PeriodType.Day, 1);
Then on a next line I'd put:
Add(PeriodType.Tick, 1);
So far so good. However. Instead of 3 month daily, my strategy will call OnUpdateBar() ONLY for the period of time I have corresponding data for intraday/ticks. So instead of 3 month I will have 10 days.
I am missing 2 month and 20 days of data. It is OK for me to don't have corresponding ticks for this period for this particular strategy. But it's essential to have these missing 2 month and 20 days (AND ticks as well. As much as the data provider will give me or how much I have stored).
How to have access to these 2 month and 20 days?Last edited by tealover007; 02-06-2010, 10:49 PM.
Comment
-
tealover007, you just need to apply the strategy that has that much data loaded on it for the strategy to read all those ticks. You can create a chart that spans those three months and then add the strategy to that chart, and it will have access to all three months of data.AustinNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
52 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
142 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
160 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
96 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
275 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment