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.
版本注释: Moved the logic into a function so it can be reused in any OHLC series.