Bruno,
Please allow me to be the first to say thank you very much for this. You have saved me a lot of work.
Thank you very much.
Shep
The article uses a DLL to run the ShellExecuteW function. How dangerous is it? Is it possible to do all this without a DLL?
It is as dangerous as using Windows systems itself is dangerous
New article Automatically optimised MetaTrader 5 dedicated EA has been released:
Author: BPASoftware Thai Co. Ltd
Optimisation is based on the premise that the past is representative of the future. If this premise does not hold true, then, any more optimisation is just data fitting! It has no meaning for the future!
So, can past prices, K-lines, anything, reappear in the future? Simple example: one day in the previous week the price reached the value of 25 on the daily cycle of the RSI indicator and then bounced back.
One day this week it also reached the value of 25 and bounced back? The results did not rebound, continued to dip to 15, before rebounding. So none of the price jumps in the real market simply repeat history.
Instant human behaviour is simply repeated and reflected in the price chart will not simply be exactly the same as history.
Conclusion:
It is possible for repetitive optimisation to seem to work for a period of time. But in the long run, it's a trap. And all the time the cycle continues, especially after the price fluctuations come out of a different trend than history, the optimisation will lose its validation! For example:
Oscillations go to trend, trend goes to oscillations, optimisation is invalidated when the market changes. What's even more pat is that the market is always under a changing, unpredictable structure.
It is not working in MT5 bild 2177. Can you help?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Automated Optimization of an EA for MetaTrader 5 has been published:
This article describes the implementation of a self-optimization mechanism under MetaTrader 5.
The first MetaTrader 5 instance is running 24/7, this instance hosts the BuddyIlan EA and the EA on which we will work today (Optimizer EA) and which will launch the optimization processes on the second MetaTrader 5 instance.
At the end of the process, the Optimizer EA will set optimized values in Global variables which will be read by the running Buddy Ilan EA.
The optimization is scheduled every Saturday without any manual intervention.
Author: BPASoftware Thai Co. Ltd