Sounds like genetic optimization. MQ would be seriously remiss for not doing what you ask. Alas, it may take some time.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
eg: Can I get Profit as an output of a function, so I can get all these factors in my programme, instead of using copy and paste in the Optimization Results tab.
Pass Profit Total Trades Profit Factor Expected Payoff Drawdown $ Drawdown % Inputs
6 86456.97 7 16.52 112351.00 15668.58 1.46% MAi=25......
The reason I need to do this is that I am running EA optimization on different time period.
eg: the 1st optimization is between 2001.01.01 - 2002.12.31, 2nd optimization is between 2003.01.01 - 2004.12.31. and so on.
Only a specific factor, eg: highest Profit, or Lowest Drawdown % interests me.
What I am looking for is a function like
double Optimization(string Symbol, int TimeFrame, datetime Start, datetime End, int Model, int OutputFactor)
The return value is the max/min of the OutputFactor, eg: Profit, Drawdown %
That's for studying the trend of EA parameters, and the correlation with other factors.