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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
563 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
329 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment