In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Allows to see how Heikin-Ashi candles are computed and see the bars side-by-side with normal prices.
Release Notes: Moved the logic into a function so it can be reused in any OHLC series.
Want to use this script on a chart?