Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
backtest error
Collapse
X
-
backtest error
I am using the Wizard for backtesting as I don't know coding. On a 15 min candle chart at the 9:45 EST (close time) bar I need to reference a signal on the previous trading day's chart at the bar close time of 4pm EST. My chart is of ES with all trading in the 24 hr period included. My manual count is that the reference bar is 67 bars back. So if I want to know if my Hull ma signal line was on a buy at that point then I assume the Condition for the Strategy is HMA(21)(67)>HMA(21)(66) and specify the Time as 16. However I'm not able to enable this to test it and I see the following message in the Log: Error on calling 'OnBarUpdate' method for strategy 'Hull1/9ec803fa4c514af1bf747ae949fba0d4': You are accessing an index with a value that is invalid since its out of range. I.E. accessing a series [barsAgo] with a value of 5 when there are only 4 bars on the chart......so I assume the problem is on the first date loaded on the chart where the Condition I set up is not able to look back to the previous day. How can I set the backtest to start a day or two after the chart begins? I couldn't figure out if there is a way to set the "Date value" to achieve this. ThanksTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by elirion, Today, 10:03 PM
|
0 responses
1 view
0 likes
|
Last Post
by elirion
Today, 10:03 PM
|
||
Started by RaddiFX, Today, 09:55 PM
|
0 responses
3 views
0 likes
|
Last Post
by RaddiFX
Today, 09:55 PM
|
||
Started by Trader146, 03-29-2024, 01:22 PM
|
4 responses
24 views
0 likes
|
Last Post
by Trader146
Today, 09:53 PM
|
||
Started by elirion, Today, 09:48 PM
|
0 responses
3 views
0 likes
|
Last Post
by elirion
Today, 09:48 PM
|
||
Started by set2win, 08-04-2021, 09:23 AM
|
39 responses
1,001 views
0 likes
|
Last Post Today, 08:20 PM |
Comment