- Universal MA Cross EA
- Can somebody help me?
- Some basic strategies / Help with MQL4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Usually, one would put in a condition in the EA to reject inputs where the "fast" period would be longer than the "slow" period, to prevent such cases from being included in the optimisations.
However, in this case due to not having that filter, what was discovered was simply that the strategy does better at "fading" then by following the crossover trend. By "fading", I mean trading in the opposite direction of the crossover trend, which is essentially what happens when you switch the fast and slow periods.
However, this realisation could be misleading and depends on what modelling was used for the testing. So run it again, using "Every tick based on real ticks", should that not have been the case for these results.
EDIT: On a side note, in order for optimisation results to have some statistical significance, make sure that your test period has at least 100 trades or so. Otherwise, your optimisation results may just be a "fluke".
- Piroska Bisits Bullen
- tools4dev.org
Usually, one would put in a condition in the EA to reject inputs where the "fast" period would be longer than the "slow" period, to prevent such cases from being included in the optimisations.
However, in this case due to not having that filter, what was discovered was simply that the strategy does better at "fading" then by following the crossover trend. By "fading", I mean trading in the opposite direction of the crossover trend, which is essentially what happens when you switch the fast and slow periods.
However, this realisation could be misleading and depends on what modelling was used for the testing. So run it again, using "Every tick based on real ticks", should that not have been the case for these results.
EDIT: On a side note, in order for optimisation results to have some statistical significance, make sure that your test period has at least 100 trades or so. Otherwise, your optimisation results may just be a "fluke".
Hi Fernando Carreiro, Thank you for the response, I just started coding EAs and am learning how to automate strategies. I will try to optimize the EA on a bigger dataset and include a minimum of 100 trades with recommended settings.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use