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 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
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment