Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Script

CloseOrdersBySymbolByType - script per MetaTrader 5

Visualizzazioni:
5000
Valutazioni:
(22)
Pubblicato:
2017.05.29 14:16
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

The script deletes all orders of the type specified in settings, on the current symbol.

Script input parameters:

//+----------------------------------------------+
//| SCRIPT INPUT PARAMETERS                      |
//+----------------------------------------------+
input ENUM_ORDER_TYPE_  OrderType_=ORDER_TYPE_BUY_LIMIT_; // Order type
input uint RTOTAL=4;                                      // Number of attempts in case of failure
input uint SLEEPTIME=1;                                   // A pause between the attempts in seconds
input uint  Deviation_=10;                                // Price deviation

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/18081

CloseAllOrders CloseAllOrders

The script deletes all pending orders on all symbols at a time.

CloseOrdersBySymbol CloseOrdersBySymbol

The script closes all pending orders on the current symbol.

Sound Alert Entry Out Sound Alert Entry Out

Plays a sound when position is closed.

CandleDifference CandleDifference

The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.