Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Walk forward optimization
Collapse
X
-
Thank you I have found it.
Again with the walk forward Optimisation I seem to be getting results for the test period over a weekend when there is no trading ?
I have set optimization for 10 days and a test period for 5 time frame is for 2 months.
The walk forward test period is for Sat and Sunday which must throw the results out.
I have checked the Instrument Trading hours are set correctly for Monday to Friday yet the test result dates run over the weekend.
Thank you
Comment
-
I am not seeing anything in your screenshot that shows an order was placed outside of the session hours. Can you you confirm an order was placed outside of the session hours by looking at the chart? The "Start Date" and "End Date" are simply telling you the test period.
Help Guide- Walk Forward OptimizationJosh G.NinjaTrader Customer Service
Comment
-
I would not expect to see a trade made out of hours as the market was shut on a Saturday, and I didn't think that Saturday would be included in the date range of the test period ?
I followed your link to the walk through information but I am not understanding the sample and test periods over the Market open and shut times ?
I am assuming that when the optimisation period is set say to 14 days and the walk through would optimise that period less the period set in the trading hours template. The template would have Saturdays at least set to out of hours and the optimisation would not take that Saturday day into the calculation ?
Then I am assuming that the test period say to 5 days would reflect the optimisation period and not take a Saturday into the result. That could be the case, but in seeing the Saturday day into the date range in the results wasn't what I expected. I expected to see the Optimisation and the test period to ignore Saturdays as set in the trading hours template ?
I would understand that there were no trades on a Saturday, but having the date range of the test period include a Saturday alter the average of the results ?
Thanks
Comment
-
Unfortunately I do not have any information on the algorithm used for WFO other than help guide link I provided. The date range is simply that, I cannot break it down further. The session template limits the trading hours. If a trade does not occur how can you get any sort of calculation from that?
How else do you propose that this information is displayed?
Josh G.NinjaTrader Customer Service
Comment
-
AS I see it the WFO is a guide and can't have any degree of accuracy, but having said that I see the Saturday in the date range of the test period would lead me to assume that the blank trading day may have been calculated or averaged in the optimisation period.
The Session template should stop that if it is controlling the optimisation period.
Some degree of testing with SampleMACrossOver strategy as you suggested may offer an answer if tested over weekends against against working weeks mon to Frii perhaps, but then you cannot pick your days of the optimisation period. Maybe that would be a suggestion ?
The question here really is can you pick your optimisation period days with the sessions template? say you didn't want to trade Sunday/Mondays and optimise Tuesday - Friday but then your results would have to show the same day range?
Comment
-
The Session template should stop that if it is controlling the optimisation period.
can you pick your optimisation period days with the sessions template?Josh G.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by The_Sec, Yesterday, 03:53 PM
|
1 response
12 views
0 likes
|
Last Post Today, 06:23 AM | ||
Started by mmenigma, Yesterday, 03:25 PM
|
1 response
11 views
0 likes
|
Last Post Today, 06:09 AM | ||
Started by kujista, Today, 05:44 AM
|
0 responses
7 views
0 likes
|
Last Post
by kujista
Today, 05:44 AM
|
||
Started by ZenCortexCLICK, Today, 04:58 AM
|
0 responses
9 views
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,281 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
Comment