Hollow candle
Code
Read the docs →import { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'light',
chartType: 'hollowCandle',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('hollowCandle') // switch at any timeimport { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'dark',
chartType: 'hollowCandle',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('hollowCandle') // switch at any time● Simulated market data, generated in your browser
Candles that tell two things: a hollow body when the close is above the open, colour against the previous close.
API: chartType: 'hollowCandle'
When to use it
- What it shows
- Whether a bar rose within itself and whether it closed above the bar before, which plain candles mix up.
- Keep in mind
- Four combinations to learn; on a small screen the hollow bodies thin out.
- Who reaches for it
- Swing traders reading momentum from bar to bar.
Switch the chart above between types of the same family; each keeps this market.







