거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

CloseOrdersBySymbolByType - MetaTrader 5용 스크립트

조회수:
5019
평가:
(22)
게시됨:
2017.05.29 14:16
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: 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.