Hi Nicolas
Wonder if you could convert Average Price Bars from mq4. They are allegedly a better version of Heikin Ashi.
- Provide a better depiction of current market trend at a glance.
- Reveal periods of consolidation.
- Show market strength.
- Eliminate fluctuations of nominal price action.
- Removes the noise of price distortion of the underlying trend
Thanks a lot
Rigel
Here is the translated code for the Synergy Average Price Bars.
if barindex>1 then
ld24 = (Open[0] + High[0] + Low[0] + Close[0]) / 4.0
ld24 = (ld24 + Close[0]) / 2.0
ld0 = (ld0[1] + (ld24[1])) / 2.0
ld8 = Max(High[0], Max(ld0, ld24))
ld16 = Min(Low[0], Min(ld0, ld24))
endif
drawcandle(ld0,max(ld8,ld16),min(ld8,ld16),ld24)
return