당사 팬 페이지에 가입하십시오
- 조회수:
- 7719
- 평가:
- 게시됨:
- 2013.01.07 15:45
- 업데이트됨:
- 2023.03.29 13:42
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The XMA_TrendSignal indicator defines three states of the market such as flat, trend and very strong trend.
During a flat, the indicator values are set to either -1 or +1 depending on the direction of the movement. In the moderate trend values are -2 or +2, in the strong trend values are -3 and +3. The indicator bars are colored in the corresponding color depending on the force and direction of the trend. The main instrument to measure the trend force in the indicator is the rate of trend change expressed in points. Input parameters for fixing threshold values of this rate:
input uint MA1_Level=20; // Flat trigger input uint MA2_Level=60; // Trend trigger
The indicator requires attentive setting for each concrete financial instrument and its timeframe display. For each timeframe it should have own most optimal settings of triggering levels!
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".
Fig.1 The XMA_TrendSignal indicator
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1351

This indicator is the conversion of famous Igorad's indicator namely PriceChannel_Signal_v1 with re-enter feature.

The class is designed for calculation of the technical indicator Moving Average Convergence/Divergence (Moving Average Convergence/Divergence, MACD) using the algorithm of the ring buffer.

The Exp_VininI_Trend trading system is based on change of the trend direction displayed by the VininI_Trend indicator.

The class is designed for calculation of the technical indicator Moving Average of Oscillator (Moving Average of Oscillator, OsMA) using the algorithm of the ring buffer.