Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3610
- Rating:
- Published:
- 2018.07.09 13:21
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator Heikin-Ashi Open displays in a separate window the lines of opening and closing Heikin-Ashi candlesticks.
Intersections of the indicator lines may be signals for opening/closing the positions. It can be used together with indicator haDifference.
The indicator has no configurable options.
Calculation:
HAOpen = (PrevHAOpen + PrevHAClose) / 2.0
HAClose = (Open + High + Low + Close) / 4.0
where:
- HAClose - Heikin-Ashi candlestick closing price;
- HAOpen - Heikin-Ashi candlestick opening price;
- PrevHAClose - closing price of the previous Heikin-Ashi candlestick;
- PrevHAOpen - opening price of the previous Heikin-Ashi candlesticks.
Fig 1. Indicator Heikin-Ashi Open
Fig. 2. Indicator Heikin-Ashi Open in combination with Heikin-Ashi Difference
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21037
![Directional_Breakout](https://c.mql5.com/i/code/indicator.png)
An indicator of the movement direction and stop.
![DBB](https://c.mql5.com/i/code/indicator.png)
Indicator Distance from Bollinger Bands.
![haDifference](https://c.mql5.com/i/code/indicator.png)
Indicator Heikin-Ashi Difference.
![IDWMA](https://c.mql5.com/i/code/indicator.png)
Indicator Inverse Distance Weighted Moving Average.