TradingView
Professeur_X
Jul 24, 2021 2:03 PM

MTF Heiken Ashi (No Repaint) 

U.S. Dollar/Japanese YenFXCM

Description

Hi there. This indicator is inspired by Heiken Ashi MTF (by @jdmonto0).

The problem with that indicator was that it repaints and I tried to solve that.

I figured that the reason the other version repaints was because the heiken ashio calculation is based on the close of the candle, and since the higher timeframe candle hasn't closed yet, the value of previous candles on a lower timeframe can change.

This version bases the calculation on the previous bar, which solves the repainting problem.

Please tell me what you think about it.

Release Notes

Hey everyone. Hope you're all doing well?

This update has been long overdue. I still get notifications from people who find this indicator useful, so this is for those people.

The script is now more functional and accurate in the 'non-repainting' bit. The colors would appear to have an offset, representing the information that would be available at that time. Only confirmed bars/information are reflected by the indicator.

I hope you find this update useful. Cheers!

Release Notes

Hey everyone!

This update is dedicated to @vimins. He has made suggestions for updates since 2021, and somehow I just got to see them. Thanks for hanging around all these years.

The new features are:
- More timeframe inputs, with a switch on/off option for each of them.
- Background colours when all timeframes give the same signal. This feature was gotten from the Rubend18 version of this script (not available on Tradingview anymore).

Release Notes

- added alert conditions for each timeframe, and for all timeframes together
Comments
tendollarshipping
dear sir
the signals are repainting. it if refreshed it is repainting. how to avoid to get the correct picture
r.sadagopan
chennai india
Professeur_X
Thank you for all the likes and support. I'm really touched by the response I got, even as this is my first script on Tradingview.
gg012066
@Professeur_X, 240 signal wrong, please check it
vinims
And lastly, if you could also add alerts too, that would be great. To get an alert when all colour turn red or green. CHEERS!
vinims
Legend! Thanks for the update!
Professeur_X
@vinims, I released an update dedicated to you. Thanks for sticking around.

Pardon me, I addressed you as a 'he', but I'm not sure if you're male/female.
vinims
@Professeur_X, Thank you! tbh I don't use MTF Heiken Ashi anymore, but will definitely put on my list to spend time on again. thanks
Professeur_X
@vinims, That's alright. Someone else could find it useful. Happy trading
vinims
@Professeur_X, cheers!
Allesmann
first of all thank you for your work! Unfortunately I noticed some strange behavior while experimenting. first of all in the settings; if you try to hide the different time levels by unchecking the box, only the middle row disappears, and the other two change their states and "use wick filter" doesn't seem to change anything. the next problem is the different red/green displays in normal and replay mode. the indicator gives different signals, so it probably has a repaint problem. I hope you can fix these problems, because I think the idea of this indactor is very cool, and I would like to use it in a strategy. thanks again
More