Simulate a withdraw while backtesting

 

Hi


How can I substract a value from the account balance? Simulate a withdraw while backtesting.


Thank you

 
mcronline:

Hi


How can I substract a value from the account balance? Simulate a withdraw while backtesting.


Thank you

https://www.mql5.com/en/docs/common/testerwithdrawal

Documentation on MQL5: Common Functions / TesterWithdrawal
Documentation on MQL5: Common Functions / TesterWithdrawal
  • www.mql5.com
Common Functions / TesterWithdrawal - Reference on algorithmic/automated trading language for MetaTrader 5