Consecutive Loss Trades

 
Hello dear friends
At Metatrader 4, when we wanted optimization Expert we had a parameter called Consecutive Loss Trades
  Do we have the same parameter in Metatrader 5 in optimization ?
Thank you
 

Hi,

Unfortunately there is not such option in MT5.Unless you can code it into your EA.

 
hiptaseb:
Hello dear friends
At Metatrader 4, when we wanted optimization Expert we had a parameter called Consecutive Loss Trades
  Do we have the same parameter in Metatrader 5 in optimization ?
Thank you

You can code it using the statistic counter


TesterStatistics() function.


see: https://www.mql5.com/en/docs/constants/environment_state/statistics#enum_statistics

Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Testing Statistics
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Testing Statistics
  • www.mql5.com
Maximum balance drawdown as a percentage. In the process of trading, a balance may have numerous drawdowns, for each of which the relative drawdown value in percents is calculated. The greatest value is returned Maximum equity...
 
Mehrdad Jeddi:

Hi,

Unfortunately there is not such option in MT5.Unless you can code it into your EA.


thank you my friend

 
rrocchi:

You can code it using the statistic counter


TesterStatistics() function.


see: https://www.mql5.com/en/docs/constants/environment_state/statistics#enum_statistics

thank you my friend