
Originally Posted by
PyeR2
I can't read mql, however I was directed to this information in another forum by a friend who can.
Quote:
int CheckForTestingModeResult(int ai_0) {
bool li_ret_8;
int l_year_4 = TimeYear(iTime(NULL, PERIOD_M1, 0));
if (ai_0 == 0) {
if (l_year_4 == 2000 || l_year_4 == 2001 || l_year_4 == 2002 || l_year_4 == 2004 || l_year_4 == 2005 || l_year_4 == 2006 || l_year_4 == 2008)
li_ret_8 = TRUE;
else
li_ret_8 = FALSE;
} else {
if (ai_0 == 1) {
if (l_year_4 == 2003 || l_year_4 == 2007 || l_year_4 == 2009) li_ret_8 = TRUE;
else li_ret_8 = FALSE;
} else li_ret_8 = FALSE;
}
return (li_ret_8);
}
This code was found within Forex Derivative mq4 file. What it is doing is calling upon the dll file for yearly optimised parameters, thus when you back-test it you will get a wonderful looking equity curve. Basically it's been curve fitted year by year.
It may continue to work for a while, time will tell - however I doubt you will see anything like the performance you get in your back-tests.
It's unbelievable the lengths the marketeers are going to to deceive purchasers.