You can use TesterWithdrawal function for withdrawal emulation, but adding more money is not possible to my knowledge.
https://www.mql5.com/en/articles/131
Using the TesterWithdrawal() Function for Modeling the Withdrawals of Profit
- 2010.09.06
- Andrey Voytenko
- www.mql5.com
This article describes the usage of the TesterWithDrawal() function for estimating risks in trade systems which imply the withdrawing of a certain part of assets during their operation. In addition, it describes the effect of this function on the algorithm of calculation of the drawdown of equity in the strategy tester. This function is useful when optimizing parameter of your Expert Advisors.
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
Dear,
Is there any function or coding into MT5 EA So EA can add deposit or withdraw equity into backtesting.
Thanks.