당사 팬 페이지에 가입하십시오
- 게시자:
- Nikolay Kositsin
- 조회수:
- 9213
- 평가:
- 게시됨:
- 2015.04.10 14:12
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Original author:
Evgeniy Gutorov
A trend oscillator indicator. The main algorithm for getting the source signals using the formula:
InputSeries[bar] = (Close[bar] - Open[bar]) / (High[bar] - Low[bar])
To calculate the oscillator signal generated by the green line we use the following formula:
Osc=Sum(Period) / Sum(Abs(Period)) * 100
where:
- Sum(Period) - a sum of source signal values for a period;
- Sum(Abs(Period)) - a sum of absolute source signal values for a period.
The red line is the Hodrick-Prescott filter which redraws if the redraw period in the beginning bars is big. For that reason it's better to use the period of 2 to get more reliable results.
Originally this indicator has been written in MQL4 and was first published in the Code Base on 15.08.2009.
Fig. 1 The geTrendOsc trend oscillator
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/12521
![MAMA_HTF](https://c.mql5.com/i/code/indicator.png)
The MAMA indicator with the timeframe selection option available in the input parameters.
![Notches](https://c.mql5.com/i/code/indicator.png)
The indicator draws lines by ascending series of maximums and descending series of minimums.
![Exp_Ozymandias](https://c.mql5.com/i/code/expert.png)
Trading system using the Ozymandias indicator.
![Background_FiboCandles_HTF](https://c.mql5.com/i/code/indicator.png)
The indicator draws candlesticks of a larger timeframe as color filled rectangles based on the FiboCandles indicator.