거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Dōteki Heikin Ashi (Dynamic Average Foot/Bar) - MetaTrader 5용 지표

조회수:
7121
평가:
(22)
게시됨:
2018.10.15 17:33
업데이트됨:
2022.04.23 17:19
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The standard Heikin Ashi candle representation has an open value that is equivalent to an Exponential Moving Average (EMA) of the Total Price, of which the alpha value of the EMA is fixed at 0.5 (equivalent to an EMA period of 3.0).

In this dynamic version, the period can be changed to whatever value one wishes to use, which also allows one to approximate multi-time-frame analysis, or use the low or high value as a sort of trailing stop-loss. The crossing of the real Close price over the Heikin Ashi open value can also be used as a signal for a change in trend direction.

Also, besides the standard EMA, this version also has the option of using an Almost Zero-Lag EMA instead, which can detect changes in trend direction more quickly, especially when using longer periods of averaging.

When attaching the indicator to the chart, you also have the option of automatically switching the Chart into the Line Graph Mode and optionally hiding the real Close prices from the Line Graph, however, without it, you will not be able to see the cross-over signals between the real Close prices and the Heikin Ashi open values.

Please, also note, that the code can be compiled for both MQL4 or MQL5 by simply changing the file extension (".mq4" or ".mq5"). Hopefully, if time permits, I will update this version with extra features in the future.

Inputs

Sample Chart

Please note, that all my CodeBase publications' source code are now also available in "Public Projects" tab of MetaEditor under the name "FMIC".
Simple oscillator Simple oscillator

Simple oscillator

Drunkards walk Drunkards walk

Drunkard`s walk indicator

Normalized smoothed MACD Normalized smoothed MACD

Normalized smoothed MACD

Phase accumulation adaptive EMA Phase accumulation adaptive EMA

Hilbert transform phase accumulation adaptive EMA