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 cmtjoancolmenero, Yesterday, 03:58 PM
|
2 responses
19 views
0 likes
|
Last Post Today, 07:24 AM | ||
Started by Stanfillirenfro, Today, 07:23 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 07:23 AM | ||
Started by olisav57, Yesterday, 07:39 PM
|
1 response
9 views
0 likes
|
Last Post Today, 07:23 AM | ||
Started by cocoescala, 10-12-2018, 11:02 PM
|
7 responses
942 views
0 likes
|
Last Post
by Jquiroz1975
Today, 07:21 AM
|
||
Started by oviejo, Today, 12:28 AM
|
1 response
11 views
0 likes
|
Last Post Today, 07:20 AM |
Comment