OPEN-SOURCE SCRIPT

[RESEARCH] Heikin-Ashi Chart Identifier

6259
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
snapshot

Range Bars
snapshot

Line Break
snapshot

Traditional Renko
snapshot

ATR Renko
snapshot

Traditional Point-and-Figure
snapshot

ATR Point-and-Figure
snapshot

Kagi
snapshot

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!

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.