HAO HTF - Multi timeframe version of Heiken Ashi Oscillator (MT5 version)

 

Dear Forum Members,

I am trying to code regular version of HAO into MTF one, but without solid programming background, I am not successful in that. Sorry guys...

Could someone update the code of regular HAO (attached) to get its Higher timeframe capability please? 

To make that simpler, can use Average Period = 1 only, consequently Average Method not needed.

Thank you for your time and patience.


p.s.

Original HAO version is here:

https://www.mql5.com/en/code/20534

Heiken Ashi Oscillator
Heiken Ashi Oscillator
  • www.mql5.com
Stochastic volatility This is not a directional indicator. This means that even it is stochastic it does not show the direction of the market, but shows the direction-amount-size of volatility. The assumption that seems sound enough and after which this indicator is made is that in the times of extremely low volatility it is a good time to...
Reason: