당사 팬 페이지에 가입하십시오
- 조회수:
- 2422
- 평가:
- 게시됨:
- 2018.12.18 19:18
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The trading system based on Hans_Indicator_Cloud_System indicator signals with the possibility to set a fixed position holding time. The signal is formed when a bar is closing if there is a channel breakthrough. Once position holding time exceeds a preset fixed limit, the position will be closed immediately:
input bool TimeTrade=true; //Enabling position exit by time input uint nTime=1500; //Open position holding time in minutes
For the generated EA to operate correctly, the compiled Hans_Indicator_Cloud_System.ex5 indicator file should be available in the <terminal_data_directory>\MQL5\Indicators folder. The trading system is a further development of the Exp_Hans_Indicator_Cloud_System EA code by adding the ability to hold positions for a fixed time.
The EA works on timeframes not higher than M30:
input ENUM_TIMEFRAMES InpInd_Timeframe=PERIOD_M30;//Hans_Indicator_Cloud_System indicator timeframe
Default Expert Advisor's input parameters have been used during tests shown below. No stop loss and take profit were used.
Fig. 1. Examples of trades on the chart
Testing results for 2017 on EURJPY M30:
Fig. 2. Test results chart
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/22478
![Exp_TimeZonePivotsOpenSystem_Tm_Plus](https://c.mql5.com/i/code/expert.png)
The trading system based on TimeZonePivotsOpenSystem indicator signals with the possibility to set a fixed position holding time
![Exp_XWPR_Histogram_Vol](https://c.mql5.com/i/code/expert.png)
Trading system based on XWPR_Histogram_Vol indicator signals
![Exp_Hans_Indicator_Cloud_System](https://c.mql5.com/i/code/expert.png)
The trading system based on the signals of the Hans_Indicator_Cloud_System indicator
![Probe](https://c.mql5.com/i/code/expert.png)
Working with pending Buy Stop and Sell Stop orders. The Expert Advisor is based on iCCI (Commodity Channel Index, CCI) indicator