Account drawdown calculation?

Back to topics list To post a new topic, please log in or register
avatar
11
Forex_cellence 2015.05.02 14:27
 

hi all,

Does anyone know of a way to program an EA to calculate the maximum or current drawdown in your trading account balance or equity?

ie what your current ACCOUNT_EQUITY is relative to your 'account peak equity'.

if there is no built in way to do this, could you trawl your order history pool to get info on profit/ loss of closed orders, plus commissions, plus deposits and withdrawals and calculate an array of equity/ balance from this?

I know it can be done as Myfxbook.com has a great equity/ balance graph that it calculates using only info from your MT4 platform.


Any help would be greatly appreciate.

 

avatar
12985
WHRoeder 2015.05.02 20:52 #
 
Forex_cellence: Does anyone know of a way to program an EA to calculate the maximum or current drawdown in your trading account balance or equity?
Could EA Really Live By Order_History Alone? - MQL4 forum

Back to topics list  

To add comments, please log in or register