Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
CloseOrdersBySymbolByType - script pour MetaTrader 5
- Vues:
- 5198
- Note:
- Publié:
- 2017.05.29 14:16
- Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/18081
CloseAllOrders
The script deletes all pending orders on all symbols at a time.
CloseOrdersBySymbolThe script closes all pending orders on the current symbol.
Sound Alert Entry Out
Plays a sound when position is closed.
CandleDifferenceThe indicator displays the change in price as a percentage relative to the Open price of the current candlestick.