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 4 Expert Advisor | 1 Click Button To Close All Open and Pending Orders V03

Click "Close All" button to close all your open & pending orders at once.

MetaTrader Experts, Indicators, Scripts and Libraries

Parameters:

  • RunOnCurrentCurrencyPair = true (Expert Advisor works only on attached chart's currency pair which means if you run this expert advisor on EurUsd chart, it will only close EurUsd positions)
  • RunOnCurrentCurrencyPair = false (All your positions (regardless of the pair) will be closed)
  • CloseOnlyManualTrades = true to close only manual trades.
  • CloseOnlyManualTrades = false to close manual trades and/or other trades opened by an Expert Advisor.
  • DeletePendingOrders = true to close open orders and pending orders
  • DeletePendingOrders = false to close only open orders
15149

Best MetaTrader Indicators + Profitable Expert Advisors