Equity Loss and EquitTarget dont Job in Martingale .. Help Me

 

When i put the code the Ea dont Job..


i want put EquityLoss ans EquityTarget for protect my Balance.


See the EA in atach.

 
adonai wrote >>

When i put the code the Ea dont Job..

i want put EquityLoss ans EquityTarget for protect my Balance.

See the EA in atach.

take out the return statement

//return (0);


int li_28;
int li_32;
with your current inequality statements, yr profit drops like a cliff; change to

if (AccountEquity() <= EquityLoss||AccountEquity() >= EquityTarget)

but yr system still crashed as in all martingale

u also hv alot of ordermodify errrors .....