Controlling drawdown

 

what function is used to terminate the trades below a certain equity level.

Say I want to stop out of the trading once my total account valuy drops below N during a trade.

I know the quity function, but it is useful only at the time of opening a new position. I need something to be controlled during the trade.

 

CK

See:-

https://docs.mql4.com/account/AccountFreeMarginMode

and

https://docs.mql4.com/account/AccountFreeMargin

--

The first one affects the results produced by the second

-BB-

Reason: