Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Dōteki Heikin Ashi (Dynamic Average Foot/Bar) - indicator for MetaTrader 4

Views:
31008
Rating:
(16)
Published:
2018.10.15 17:08
Updated:
2022.04.23 17:16
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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".

Super Trend updated and simpler code Super Trend updated and simpler code

This is just another version of the well known Super Trend indicator. The code is simplified but it has the same output on the chart screen.

Smart Tunel Trading Smart Tunel Trading

The Smart tunnel is a smart robot for trading with an automatically drawn trend line to act with it and market movement. Enjoy :)

5 Minutes Scalper 5 Minutes Scalper

5 Minutes Scalper EA retracement strategy has Trailing Stop Loss &Take Profit,works best on 5 minute time frame EUR/USD and stocks NASDAQ.

15 Minute Scalper 15 Minute Scalper

15 Minute Scalper EA trades with Stochastic & Parabolic indicators has Trailing Stop Loss &Take Profit,works best on 15 minute time frame EUR/USD and stocks NASDAQ.