당사 팬 페이지에 가입하십시오
OpenSellPosition_X - MetaTrader 5용 스크립트
- 조회수:
- 11486
- 평가:
- 게시됨:
- 2013.02.22 07:12
- 업데이트됨:
- 2016.11.22 07:32
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The OpenSellPosition_X script is created to sell at fixed values of Stop Loss and Take Profit in points from the current price.
The main advantage of this script is the ability to set the amount of losses when the stop loss triggers as a percentage of the deposit, using the LossMM input parameter of the script. Set the StopLoss in points and the amount of loss as a percentage of the deposit - the script will automatically calculate the lot size.
Script input parameters:
//+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS | //+----------------------------------------------+ input double LossMM=0.1; // Losses from balance when Stop Loss triggered input uint DEVIATION=10; // Price deviation input uint STOPLOSS=300; // Stop Loss in points from the current price input uint TAKEPROFIT=800; // Take Profit in points from the current price input uint RTOTAL=4; // The number of retries in unsuccessful deals input uint SLEEPTIME=1; // Pause time between retries in seconds
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1540
The OpenBuyPosition_X script is designed to buy at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.
Skype Control LibraryLibrary to work with Skype.
Show minutes and seconds left before new candle is appeared.
Exp_ToCloseLossThe Expert Advisor to perform global Stop Loss on all open positions