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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
65 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
59 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
51 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment