OPEN-SOURCE SCRIPT
已更新 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.
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.
發行說明
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!
發行說明
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).
發行說明
- added alert conditions for each timeframe, and for all timeframes together開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。