I'm making a new strategy and try to use PriorDayOHLC, when I backtest it with 5 min. chart over 2 days no returnvalues are given, what do I do wrong?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
PriorDayOHLC no returnvalue
Collapse
X
-
Re
No errormessages in the Log tab of control center.Originally posted by NinjaTrader_Josh View PostPlease ensure you have data for the previous day.
When I run it for 2 days 18-6-2008 until 19-6-2008 I get no PriordayOHLC.
Running from 18-6-2008 until 22-6-2008 I do get PriordayOHLC for 22-6.
As this date, 19-6 was also expire date for the contract tried, I also to backtest 22-6 until 23-6: no Priorday data. Backtest from 22-6 until 24-6: Priorday data for the 24-6.
Conclusion as of the 3rd date of my backtestperiod I have priorday data? I was hoping that it would be available from the 2nd day.
I need to write some statements to get around it.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
87 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
66 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
59 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment