Skip to content
DocsChartsCandlestickLast updated Nov 2, 2026

Candlestick

Open, high, low and close, per period. Sample data: spot price in four-hour candles, Sep 30 to Oct 9.

Open in
SOL / USD · 4 h40 four-hour candles of SOL / USD from Sep 30 to Oct 9: open $132.36, last close $148.62, range $128.73 to $148.88, with volume and a 7-period moving average.152144136128SEP 30OCT 2OCT 4OCT 7OCT 9
SOL / USD · 4 h
CandleOpenHighLowCloseVolume
1132.36132.46130.36130.9553.1
2130.95132.29130.31131.1942.7
3131.19132.56128.73129.9746.1
4129.97131.09129.05130.9965.2
5130.99132.50129.75132.1644.3
6132.16134.18131.80133.7790.6
7133.77134.24131.91133.1056.3
8133.10135.59132.79134.5677.7
9134.56135.22132.44133.5950.5
10133.59134.77132.58134.1459.5
11134.14135.48133.57134.8461.2
12134.84135.19133.25134.0665.6
13134.06134.84132.99134.1088.6
14134.10134.83133.69133.8849.7
15133.88135.04132.48132.7492.6
16132.74133.63131.46131.4793.4
17131.47132.38131.12131.9488.8
18131.94132.34131.02131.7594.5
19131.75132.69131.16132.2363.9
20132.23133.00130.51131.3692.6
21131.36133.32130.68132.0860.5
22132.08134.32130.92133.6069.3
23133.60136.10133.28135.3469.8
24135.34138.02134.88136.7553.5
25136.75137.94136.26137.8292.6
26137.82139.22136.55138.5171.7
27138.51140.56137.29139.5541.5
28139.55140.60138.69139.9651.8
29139.96140.82138.65139.1746.2
30139.17141.64138.95140.8142.6
31140.81142.74140.68142.0390.6
32142.03143.29141.92143.2966.2
33143.29145.00142.59143.8252.8
34143.82144.70142.48144.5341.2
35144.53145.50144.24144.6952.8
36144.69145.56143.89144.2375.6
37144.23145.30143.67144.3670.7
38144.36145.77143.82145.5687.6
39145.56147.33144.31147.0670.4
40147.06148.88146.68148.6293.7
SOL / USD · 4 h40 four-hour candles of SOL / USD from Sep 30 to Oct 9: open $132.36, last close $148.62, range $128.73 to $148.88, with volume and a 7-period moving average.152144136128SEP 30OCT 2OCT 4OCT 7OCT 9
SOL / USD · 4 h
CandleOpenHighLowCloseVolume
1132.36132.46130.36130.9553.1
2130.95132.29130.31131.1942.7
3131.19132.56128.73129.9746.1
4129.97131.09129.05130.9965.2
5130.99132.50129.75132.1644.3
6132.16134.18131.80133.7790.6
7133.77134.24131.91133.1056.3
8133.10135.59132.79134.5677.7
9134.56135.22132.44133.5950.5
10133.59134.77132.58134.1459.5
11134.14135.48133.57134.8461.2
12134.84135.19133.25134.0665.6
13134.06134.84132.99134.1088.6
14134.10134.83133.69133.8849.7
15133.88135.04132.48132.7492.6
16132.74133.63131.46131.4793.4
17131.47132.38131.12131.9488.8
18131.94132.34131.02131.7594.5
19131.75132.69131.16132.2363.9
20132.23133.00130.51131.3692.6
21131.36133.32130.68132.0860.5
22132.08134.32130.92133.6069.3
23133.60136.10133.28135.3469.8
24135.34138.02134.88136.7553.5
25136.75137.94136.26137.8292.6
26137.82139.22136.55138.5171.7
27138.51140.56137.29139.5541.5
28139.55140.60138.69139.9651.8
29139.96140.82138.65139.1746.2
30139.17141.64138.95140.8142.6
31140.81142.74140.68142.0390.6
32142.03143.29141.92143.2966.2
33143.29145.00142.59143.8252.8
34143.82144.70142.48144.5341.2
35144.53145.50144.24144.6952.8
36144.69145.56143.89144.2375.6
37144.23145.30143.67144.3670.7
38144.36145.77143.82145.5687.6
39145.56147.33144.31147.0670.4
40147.06148.88146.68148.6293.7

Installation

  1. 1

    Set up the registry once

    This chart is free in Hearth and MIT licensed: no token. Add @chartory to components.json once (the URL alone, no headers), or skip this when another chart is already installed.

    Installation guide
  2. 2

    Add the chart

    One command adds the Candlestick component to your project.

    npx shadcn add @chartory/candlestick
  3. 3

    Use it

    Pass your rows. The props are the Figma properties.

    usage.tsx
    import { Candlestick }  from "@/components/chartory/candlestick"<Candlestick  data={fourHourCandles}  size="m"/>

Props

<Candlestick>

Every prop but data is a Figma property with the same name and values.

PropTypeDefault
data: The chart's data. The tables below list every field.CandlestickDataRequired
size: The size class. Each one is laid out again from the data."xs" | "s" | "m" | "l""m"

CandlestickData

The data prop: one object for the whole chart.

PropTypeDefault
c: One candle per period: [open, high, low, close, volume].[number, number, number, number, number][]Required
min: The bottom of the value scale.numberRequired
max: The top of the value scale.numberRequired
ticks: The axis tick labels.string[]Required
xl: The x axis labels, by index.Record<number, string>Required
vmax: The top of the volume scale.numberRequired

The data as a JSON Schema: schemas/candlestick.json

Candlestick chart: a React and Figma chart in four sizes

What does a candlestick chart show?

A candlestick chart draws each period as a body from open to close with wicks to the high and low. Up periods and down periods take different colours. Use it for prices where the range inside each day matters as much as the close.

Chartory ships it as a Figma component and a React component with the same name. The code installs from the shadcn registry with one command and lands in your project as a file you own.

What is the Candlestick component?

It is one <Candlestick> component. Its props are the Figma properties with the same names and values, and the props table above lists them. The data is open, high, low, close and volume per period.

Sizes XS, S, M and L re-lay the chart out from the data instead of scaling it, so labels stay readable at every size.

When should I use it?

  • Do open, high, low and close matter? Yes means the candlestick fits.
  • Is time spaced evenly? Yes means the candlestick fits.
  • Is it the price itself? Yes means the candlestick fits.

When does another type fit better?

  • One value per period is enough. Use Area chart instead.
  • Only moves of a set size count. Use Renko instead.
  • The depth of the order book. Use Order book depth instead.

Candlestick questions

Installing, data, Figma and plans.

  • Yes. It installs through the shadcn registry with the shadcn CLI, and the file lands in your project.

Stay in the loop

New charts, by email.

Get an email when new chart types and releases ship.

Unsubscribe any time.