Professeur_X

MTF Heiken Ashi (No Repaint)

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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?

评论

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.
+5 回复
+1 for the alert function, perfect way to find out missing trades and repainting
回复
I had a question! Sent you a DM, thank you for the upload by the way!
回复
Thank you for your great work! Is it possible that you could add a alert function? It would be nice if I could get notificated when all time frames are red or green
回复
@AH2022, Thanks for your contribution.

I would add that to the update I will do soon.
回复
Feel free to dm me if you have a suggestion about the indicator, or any idea you have
回复