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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
122Trades
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
122Trades
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.