PDA

View Full Version : Trying to Correlate WFO and Optimization Results



Bufmn
02-15-2016,
I have a EURUSD 5 Min strategy which when I use WFO with it with:

Optimization Period = 3
Test Period = 1

Produces some fairly good results. Now I'm trying to cross check it by correlating each test day with the preceding optimization period so I can start to optimize data for each of my trading days going forward. For example:

The optimized parameters for 09/06/12 in the WFO test = 9/1/45, however then when I optimize the data from 06/06/12 to 08/06/12 (3 preceding days) in my own study it produces optimum parameters of 10/1/37 which differ from 9/1/45.

Can someone explain how I can set my optimization settings so I get parameters of 9/1/45 ? This is the only things stopping me from trading my system. It is profitable according to WFO but how am I ever able to optimize my data for the current trading day if I have no evidence that the 3 preceding trading days I am basing it on provide results similar to that of the WFO test.

bulfuddinlela
02-15-2016,
Welcome to the NT forums. What optimization factor are you using here? What is the value of this for the optimization and walk forward run? Do you have a session template that crosses midnight? (Like the FOREX or CME US Index Futures ETH).

bukirajuoici
02-16-2016,
Hi, What do you mean by optimization factor? Also I have a session template for Forex which I have edited so it starts on Sunday at 10PM GMT and finishes Friday at 10PM GMT. The problem I have is that the WFO is optimising the data including the out of sample test data which means it brings out great results!

bunnyhodep
02-18-2016,
Optimization factor is the value you choose to optimize on -- the end goal of both optimization and walk forward. I was curious if these are similar between the two tests.

These two areas are similar but not identical. It may be difficult to line up 100%, especially with that type of session template. When running walk forwards with the FOREX session template (or similar), each walk forward period may double count trades on "transition" dates. This is a limitation seen on the walk forward portion you wouldn't see on the optimization.

When using session templates that are 24 hrs with times cross multiple days (e.g. FOREX session template), it is expected that doing things like backtests will include trades from seemingly the date before and the date after. This is because those dates are required to get the full trading session as defined by the session template.