Download MetaTrader 5

Forward Testing in MT4

To add comments, please log in or register
nelhajj
24
nelhajj  

I was thinking if there was a way to code forward tests in MT4 into OnTester() function. It's a pain having to do it manually while optimizing.

Does anyone have any idea if this could be done? 

Keith Watford
Moderator
10064
Keith Watford  

Really?

How do you expect a forward test from something that back tests????

nelhajj
24
nelhajj  
GumRai:

Really?

How do you expect a forward test from something that back tests????

really.. by forward testing I mean "out-of-sample" testing, or as it is called in mt5, "forward testing"... which means it divides the backtested period by 1/2, 1/3 or 1/4...
whroeder1
15117
whroeder1  
What's your problem? Set the start and end date and optimize. Use the optimized parameters and the start date outside the original range.
nelhajj
24
nelhajj  
WHRoeder:
What's your problem? Set the start and end date and optimize. Use the optimized parameters and the start date outside the original range.
I was just asking if there was a way to automate this, instead of having to retest every optimization result. It will be easier to discard parameters that aren't profitable on a different range immediately.
To add comments, please log in or register