Skip to main content

Module candlestick

Module candlestick 

Source
Expand description

Financial OHLC charts: geom_candlestick (body + wick; filled or hollow), geom_ohlc (bar with open/close ticks), geom_hlc (bar with a close tick only) and geom_heikin_ashi (candles over Heikin-Ashi values). Map x plus the open/high/low/close aesthetics; the y scale trains on the high–low range.

Structs§

GeomCandlestick
Candlestick chart: a wick from low to high and a body from open to close, coloured up when close ≥ open and down otherwise.
GeomOhlc
OHLC bar chart: a vertical high–low bar with a left tick at the open and a right tick at the close, coloured up/down like GeomCandlestick.

Enums§

CandleStyle
How candle bodies encode direction.