Trader's self-deception: distrust of forwards. - page 14

 
Youri Tarshecki:
That sounds very unbelievable.
Probably because you don't know what I mean.
 
Комбинатор:
Probably because you don't understand what I mean.
So explain it to me.
 
Youri Tarshecki:
So explain.

This is all done in one EA run.

 
Комбинатор:

This is all done in one EA run.

Are you using this library https://www.mql5.com/ru/code/9152 ?
Библиотека Optimatic
Библиотека Optimatic
  • votes: 4
  • 2009.08.26
  • Stanislav Korotky
  • www.mql5.com
Оптимизация параметров эксперта на лету - мечта трейдера
 
-Aleks-:
Do you use this library https://www.mql5.com/ru/code/9152 ?
No, I have my own bike
 
Комбинатор:
No, I have my own bicycle

I see, but did I understand correctly that the principle is the same?

I don't understand why we can't just add to the EA a function that will lock EA's operation in a certain time range - if we take 4 years with variable ==1 we test the first 3 years, and with variable ==2 the fourth year, then in five minutes we see the picture in excel...

 
Комбинатор:

This is all done in one EA run.

No, you're wrong.

https://en.wikipedia.org/wiki/Walk_forward_optimization

A small portion of the reserved data following the in sample data is tested with the results recorded. The in sample time window is shifted forward by the period covered by the out of sample test, and the process repeated.

I.e. after the shift, the optimization process starts over again. There is not only one run but a lot of them and each new one is repeated with the same set of parameters and you cannot change something on the fly. So nothing is emulated.

Also, it is not at all clear whether Amibroker (whose picture you cited) can, say, optimise each variable in turn or optimise them all simultaneously, which is important when there are many variables.

 
Youri Tarshecki:

No, you're wrong.

Go back to your wikipedia and figure it out for yourself. They're so smart they can't even read what's written under their noses.
 
Комбинатор:
Go figure it out on your own wikipedia. They're so smart they can't even read what's written under their noses.

The process can be repeated over subsequent time segments. The following illustration shows how the process works.

Repeted, Karl!

https://www.amibroker.com/guide/h_walkforward.html

 
Youri Tarshecki:

No, you're wrong.

https://en.wikipedia.org/wiki/Walk_forward_optimization

A small portion of the reserved data following the in sample data is tested with the results recorded. The in sample time window is shifted forward by the period covered by the out of sample test, and the process repeated.

I.e. after the shift, the optimization process starts over again. There is not only one run but a lot of them and each new one is repeated with the same set of parameters and you cannot change something on the fly. So nothing is emulated.

Also, it is not at all clear whether Amibroker (whose picture you cited) can, say, optimise each variable in turn or optimise them all simultaneously, which is important when there are many variables.

From a set of runs from 1998 to 2008, the best one for 1998-2001 is taken and its result for 2002 is written into the resulting equities, then the best one for 1999-2002 is taken and its result for 2003 is appended to the previous one, etc. A lot of runs are obtained in advance for the whole history. Essentially a trivial sliding window. There is no magic and repeted here.