everget

[RESEARCH] Heikin-Ashi Chart Identifier

A deterministic approach to identify Heikin-Ashi chart type.

The script checks the next statements about HA:
  • HA chart does not have any gaps in a classic sense
  • Every new HA open price is calculated using a specific recurrence formula. This fact also means that initial HA open price is used to calculate all the next and so on (a construction of Infinite Impulse Response filters)

The script works correctly being applied to other chart types:

Classic Candlestick

Range Bars

Line Break

Traditional Renko

ATR Renko

Traditional Point-and-Figure

ATR Point-and-Figure

Kagi

For special ones: this code allows you to check whether your script is being executed with Heikin-Ashi candles or not inside your script.

Ev sistr 'ta Laou!
开源脚本

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.

想在图表上使用此脚本?