Smoothed Heikin-Ashi
Code
Read the docs →import { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'light',
chartType: 'smoothedHeikinAshi',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('smoothedHeikinAshi') // switch at any timeimport { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'dark',
chartType: 'smoothedHeikinAshi',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('smoothedHeikinAshi') // switch at any time● Simulated market data, generated in your browser
Heikin-Ashi of prices averaged over a number of bars first (10 by default).
API: chartType: 'smoothedHeikinAshi'
When to use it
- What it shows
- A trend as one long run of a colour: the candles turn later and less often than plain Heikin-Ashi.
- Keep in mind
- The smoothing lags more, and the candles’ prices are averages, not ones that traded.
- Who reaches for it
- Trend followers who want to stay in a move and ignore its pullbacks.
Switch the chart above between types of the same family; each keeps this market.







