Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

CloseAllTrades - script for MetaTrader 4

Views:
37390
Rating:
(23)
Published:
2010.08.03 08:19
Updated:
2014.04.21 14:54
Close_trades.zip (7.25 KB)
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Description:

My first script, use for critical situation when something goes wrong and I want quickly close all trades.

Repaired, so it closes first the opened trades and than the pending orders.

  • CloseAllTrades - closes all opened and pending orders on all symbols;
  • CloseAllTradesCurrent - closes all opened and pending orders on current chart;
  • CloseAllTradesOpened - closes all opened orders on all symbols;
  • CloseAllTradesOpenedCurrent - closes all opened orders on current chart;
  • CloseAllTradesPending - closes all pending orders on all symbols;
  • CloseAllTradesPendingCurrent - closes all pending orders on current chart;
  • CloseAllTradesBuy - closes all opened buy orders on all symbols;
  • CloseAllTradesBuyCurrent - closes all opened buy orders on current chart;
  • CloseAllTradesSell - closes all opened sell orders on all symbols;
  • CloseAllTradesSellCurrent - closes all opened sell orders on current chart.
TakeAllProfit TakeAllProfit

TakeAllProfit

Random ZigZaG Random ZigZaG

Random ZigZaG

MACD_Not_So_Simple MACD_Not_So_Simple

EA for EURUSD, H4

Rich quickly with the lowest DD Rich quickly with the lowest DD

Use this Ea with an extreme attention, i got this amazing result searching to optimise setting several days. Work the best on Eur/Usd timeframe M5 long&short