당사 팬 페이지에 가입하십시오
OpenSellPosition - MetaTrader 5용 스크립트
- 조회수:
- 7854
- 평가:
- 게시됨:
- 2012.09.10 16:32
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Description:
OpenBuyPosition script is developed for buying with fixed Stop Loss and Take Profit values in points from the current price. The main advantage of this script is its ability to fix a deal volume, which depends on the entire deposit size, using MM (Money Management) script input parameter. This script determines a ratio between the amount of funds involved in the deal and all the funds of the deposit.
The script input parameters:
//+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS | //+----------------------------------------------+ input double MM=0.1; // Money Management input int DEVIATION=10; // Price deviation input int STOPLOSS=300; // Stop Loss in points from the current price input int TAKEPROFIT=800; // Take Profit in points from the current price input uint RTOTAL=4; // Number of repeats in case of unsuccessful deals input uint SLEEPTIME=1; // Pause duration between repeats in seconds
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/964
The script is developed for buying with fixed Stop Loss and Take Profit values in points from the current price.
DaysOfWeekCheckThe function is used to determine weekends on a server. It will be especially useful to those who use OnTimer() function in their Expert Advisors for events handling.
The indicator calculates the difference between the period maximum and minimum. The period is specified in the indicator parameters.
MA_NRTRSimple trend indicator in the form of NRTR