Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2011.07.27 08:20
Experts

Close Orders - expert for MetaTrader 4

| English Español Português 日本語 Deutsch

Views:
18469
Rating:
votes: 6

Description:

This is a tool for you to automatically close all orders when you have dozens of pending orders and open orders.

For example, if now have 20 pending EUR/USD long and short orders, and have 20 open ones, and you now want to close them all, you should set as the following:

  • CloseOpenLongOrders = true;
  • CloseOpenShortOrders = true;
  • ClosePendingLongOrders = true;
  • ClosePendingShortOrders = true;
  • JustCloseSpecificMagicNumber= 0; // if set JustCloseSpecificMagicNumber to 0, will close all MagicNumber orders; if just want to close specific MagicNumber orders, set JustCloseSpecificMagicNumber to you magic value ;
  • CloseAllSymbols = true; // if set CloseAllSymbols = true, it will close all symbols satisfying the settings, if set CloseAllSymbols = false, just close the symbol you are applying this EA to;
  • JustCloseOrdersWithinTheRange = false; //if set JustCloseOrdersWithinTheRange = true, just close orders whose open prices are within the range CloseRangeHigh to CloseRangeLow.


Highest - Lowest Highest - Lowest

Simple chart to display the highest and lowest values for a data series over "n" bars period.

204060 Program AIGrid System 204060 Program AIGrid System

Grid is a money maker in weak market, while a disaster in trending market. Maybe you can consider close all positions at some time, and run it totally again at another time, just like a fisher. This is AIGrid System With Manual Control.

Price Alert Price Alert

Price Alert MetaTrader indicator plays sound alerts when the price reaches certain levels that are specified by the trader.

Heiken Ashi w/ Doji Spotter Heiken Ashi w/ Doji Spotter

This is the standard Heiken Ashi, but with the option to spot Dojis and color them differently.