Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | Trailing Activate

Assistant

For trailing, a new parameter ' Trailing activate if profit is >= ' is used - this is essentially a breakeven for trailing. Trailing activates only after the position reaches profit in ' Trailing activate if profit is >= ' Points.

MetaTrader Experts, Indicators, Scripts and Libraries

Pic. 1.Trailing Activate

The Expert Advisor works only on the current symbol, but has no restrictions on the Magic number. In this case, the adviser, when modifying a position, copies the Magic of this position.

39288