Indicator Heikin-Ashi Difference calculates and displays as an oscillator the difference between the Open and Close prices of Heikin-Ashi candlesticks, a signal line being added. It can be used in combination with haOpen.
It has two parameters:
Calculation:
where:
HAOpen = (PrevHAOpen + PrevHAClose) / 2.0 HAClose = (Open + High + Low + Close) / 4.0

Fig 1. Indicator Heikin-Ashi Difference

Fig. 2. Indicator Heikin-Ashi Difference in combination with Heikin-Ashi Open
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/21038
haOpen
Indicator Heikin-Ashi Open.
Directional_Breakout
An indicator of the movement direction and stop.