Heikin-Ashi
Code
Read the docs →import { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'light',
chartType: 'heikinAshi',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('heikinAshi') // switch at any timeimport { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'dark',
chartType: 'heikinAshi',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('heikinAshi') // switch at any time● Simulated market data, generated in your browser
Averaged candles that smooth the noise so the trend stands out.
API: chartType: 'heikinAshi'
When to use it
- What it shows
- Runs of same-coloured candles while a trend lasts, and small bodies with long wicks where it turns.
- Keep in mind
- The prices drawn are averages, not trades: don’t place orders at a Heikin-Ashi open or close.
- Who reaches for it
- Trend followers who want to stay in a move and not react to every pullback.
Switch the chart above between types of the same family; each keeps this market.







