당사 팬 페이지에 가입하십시오
- 조회수:
- 3265
- 평가:
- 게시됨:
- 2018.10.25 18:04
- 업데이트됨:
- 2023.03.29 13:48
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Three independent trading systems using BrainTrend_V2, AbsolutelyNoLagLWMA and X2MACandle indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system. Trading signals are formed when a bar closes if a trend has changed (which is displayed by any of the three indicators changing its color). The EA is a further complication of the Exp_BrainTrend2_AbsolutelyNoLagLwma and Exp_BrainTrend2_AbsolutelyNoLagLwma_MMRec code by adding another trading system using the X2MACandle indicator.
The EA inputs are divided into three groups A, B and C according to indicators applied in trading systems:
- A - BrainTrend2_V2;
- B - AbsolutelyNoLagLwma;
- C - X2MACandle.
Each trading system should be configured separately by disabling the remaining trading systems with the corresponding EA inputs:
input bool A_BuyPosOpen=true; //A Permission to enter long positions input bool A_SellPosOpen=true; //A Permission to enter short positions
For the generated EA to operate correctly, the compiled files of indicators BrainTrend2_V2.ex5, AbsolutelyNoLagLwma.ex5 and X2MACandle.ex5 should be present in the <terminal_data_directory>\MQL5\Indicators.
Default Expert Advisor's input parameters have been used during tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. Examples of trades on the chart
Testing results for 2017 on EURJPY H6:
Fig. 2. Test results chart
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/22392
![WPR_Histogram_Vol](https://c.mql5.com/i/code/indicator.png)
Williams’ Percent Range oscillator displayed as a color histogram, using volumes
![Harami_Alert](https://c.mql5.com/i/code/indicator.png)
The indicator defines Harami patterns and features alerts, emails and push notifications
![Exp_Skyscraper_Fix_ColorAML_X2MACandle_MMRec](https://c.mql5.com/i/code/expert.png)
Three independent trading systems using Skyscraper_Fix, ColorAML and X2MACandle indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system
![X2MACandle_Chl_HTF](https://c.mql5.com/i/code/indicator.png)
The X2MACandle_Chl indicator with the timeframe selection option available in the input parameters