당사 팬 페이지에 가입하십시오
Channel design indicator - MetaTrader 5용 지표
- 조회수:
- 8813
- 평가:
- 게시됨:
- 2018.11.08 21:03
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
- Application
The indicator can be utilized into any symbol or timeframe, there are no restrictions.
- Inputs
For the creation of the channel are required the definition of two inputs:
//--- input parameters input int barsChannel = 200; // Channel creation length input int barsMulti = 5; // Channel bars to peak/valley
The "barsChannel" input defines the length of the channel that will be created, or, in other words, the number of bars that composes the channel.
The "barsMulti" input represents the amount of bars that are taken into account for the evaluation of peaks and valleys. The total number of bars that are considered in this evaluation is equal to 'barsMulti*2 + 1' (e.g. if barsMulti = 2, the total number of bars considered is 5).
Figure 1. Parameterization
- Remarks
Two indicator buffers are defined, one per trendline. The resistance buffer index is set as '0', while the support buffer index is set as '1'. Remember to consider this during the indicator reading process.
//--- indicator buffers mapping SetIndexBuffer(0,resiBuffer,INDICATOR_DATA); SetIndexBuffer(1,suppBuffer,INDICATOR_DATA);
Ehlers Fisher transform (as originally described in the book)
Triangular moving averageTriangular moving average