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 | Close all positions

MetaTrader Experts, Indicators, Scripts and Libraries

Closing positions when reaching the Close all if Profit level. The overall profit on all positions is considered regardless of the symbol or magic number.

A profit is calculated only when a new bar appears.

22827