Heikin Ashi
- Price
- Open
- High
- Low
smoothed candles
- HA close
- HA open
- HA high
- HA low
- green
- red
- turns up
- turns down
Smoothed candles, a color change as a turn. Turns every candle into a smoothed Heikin Ashi candle: its close is the average of open, high, low and close, its open the middle of the Heikin Ashi candle before. In a trend the candles stay green or red for longer, single counter-candles weigh less. “Turns up” is true on the first green candle after a red one, “turns down” the other way round. The values are averages, not traded prices; for levels and stops use the candle itself. Example: Heikin Ashi turns up on 4-hour candles reports when the first green candle follows a series of red ones.
What it looks like
Section titled “What it looks like”- green: close above open
- red: close below open
- turn
Setting it in the chart
Section titled “Setting it in the chart”
In the properties, a chart shows the last 150 candles with the close of the Heikin Ashi candles as a line, dots at the turns and below them a strip in the color of each Heikin Ashi candle. The top line shows how long the last color has held. There is nothing to set.
More under Chart above the price.
Settings
Section titled “Settings”No settings.
Example
Section titled “Example”Notifies you of the first green Heikin Ashi candle after a red one: the smoothed move turns up.
How to connect the nodes:
- Candle (Price) → Heikin Ashi (Price)
- Candle (Open) → Heikin Ashi (Open)
- Candle (High) → Heikin Ashi (High)
- Candle (Low) → Heikin Ashi (Low)
- Heikin Ashi (turns up) → Telegram (Trigger)
On the board it reads: smoothed candles
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Heikin Ashi", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } }, { "id": "h1", "type": "core.heikin-ashi", "position": { "x": 260, "y": 40 }, "settings": {} }, { "id": "t1", "type": "core.telegram", "position": { "x": 480, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "h1.close" }, { "from": "c1.open", "to": "h1.open" }, { "from": "c1.high", "to": "h1.high" }, { "from": "c1.low", "to": "h1.low" }, { "from": "h1.up", "to": "t1.in" } ]}Inputs and outputs
Section titled “Inputs and outputs”Only matching types connect: number series to number series (round pin), signal to signal (square), message to message (diamond).
| Direction | Pin | Type | Note |
|---|---|---|---|
| Input | Price | Number series | required |
| Input | Open | Number series | required |
| Input | High | Number series | required |
| Input | Low | Number series | required |
| Output | HA close | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | HA open | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | HA high | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | HA low | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | green | Signal (true/false) | – |
| Output | red | Signal (true/false) | – |
| Output | turns up | Signal (true/false) | – |
| Output | turns down | Signal (true/false) | – |
Good to know
Section titled “Good to know”- In messages the values are called “HA close”, “HA open”, “HA high”, “HA low”.
- Warm-up with the default settings: 50 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: heikin ashi, heikin-ashi, ha, candles, smoothed, trend, reversal, color change.
Technical details
Section titled “Technical details”HA close = (open + high + low + close) / 4; HA open = (HA open + HA close of the candle before) / 2, on the first candle (open + close) / 2; HA high and HA low include HA open and HA close. Green: HA close above HA open, red below; candles without a body have no color and do not change the turn. The start no longer has an effect after 50 candles. The same calculation as the Heikin Ashi candles in TradingView.
- Type in the chain:
core.heikin-ashi· Version 1.0.0 · Category keyind - Pins in the chain: Input
close,open,high,low· Outputclose,open,high,low,green,red,up,down - Reference tests in the manifest: 1 (with fixed price data: 500 candles of 1h)
- How a node is built
Version 2026.10.24.21 · Changelog