OPEN-SOURCE SCRIPT
Real Close Overlay for Heiken Ashi

Description:
The Real Close on Heiken Ashi indicator solves one of the biggest problems traders face when using Heiken Ashi candles, the fact that the displayed close is not the true market close.
By default, Heiken Ashi modifies the open, high, low, and close values to create smoother-looking candles. This makes them great for identifying trends, but it also means entries and exits can be misleading if you rely only on the chart.
This tool fixes that by overlaying the real closing price (traditional candlestick close) directly onto your Heiken Ashi chart.
How It Works:
- Plots the true closing price of each bar (from standard candles) onto your Heiken Ashi chart.
- Displays a small, unobtrusive marker (black dot by default) so you can instantly see where price actually closed. Not only does it plot the close, but it moves with real price as the candle is forming so price action is not lost.
- Updates in real time with every new bar.
Why It Matters:
- Use Heiken Ashi for trend clarity without losing price accuracy.
- Avoid entering/exiting based on inaccurate Heiken Ashi body closes.
- Improves stop-loss and take-profit placement by showing where price truly ended the candle.
- Essential for scalpers and short-term traders who need precision without losing true price action.
Best Uses:
- Combine with Heiken Ashi for momentum trading.
- Verify breakout confirmations against the real close.
- Use as an execution reference if you trade a HA-based system.
Disclaimer:
This script is for educational purposes only. It is open source and fully accessible. It does not provide financial advice. Always test thoroughly before applying to live markets.
The Real Close on Heiken Ashi indicator solves one of the biggest problems traders face when using Heiken Ashi candles, the fact that the displayed close is not the true market close.
By default, Heiken Ashi modifies the open, high, low, and close values to create smoother-looking candles. This makes them great for identifying trends, but it also means entries and exits can be misleading if you rely only on the chart.
This tool fixes that by overlaying the real closing price (traditional candlestick close) directly onto your Heiken Ashi chart.
How It Works:
- Plots the true closing price of each bar (from standard candles) onto your Heiken Ashi chart.
- Displays a small, unobtrusive marker (black dot by default) so you can instantly see where price actually closed. Not only does it plot the close, but it moves with real price as the candle is forming so price action is not lost.
- Updates in real time with every new bar.
Why It Matters:
- Use Heiken Ashi for trend clarity without losing price accuracy.
- Avoid entering/exiting based on inaccurate Heiken Ashi body closes.
- Improves stop-loss and take-profit placement by showing where price truly ended the candle.
- Essential for scalpers and short-term traders who need precision without losing true price action.
Best Uses:
- Combine with Heiken Ashi for momentum trading.
- Verify breakout confirmations against the real close.
- Use as an execution reference if you trade a HA-based system.
Disclaimer:
This script is for educational purposes only. It is open source and fully accessible. It does not provide financial advice. Always test thoroughly before applying to live markets.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。