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 | Clickable button excample (close all positions)

Photo for the article Clickable button excample (close all positions)

An example of adding buttons for your advisors.

In this example, a button has been implemented to close all active positions for all instruments.

In addition to the button event processing functionality, methods for closing positions relative to the symbol name and counting the number of positions relative to the symbol name are also implemented.

    48267

    Best MetaTrader Indicators + Profitable Expert Advisors