Skip to main content

Module point_figure

Module point_figure 

Source
Expand description

Point & Figure (P&F) chart transformation.

P&F charts remove time from the horizontal axis. Instead, each column represents a sequence of rising Xs or falling Os. A new column starts only when price reverses by at least reversal_boxes * box_size.

Use to_pnf_columns to transform OHLCV bars into P&F columns.

Structs§

PnfColumn
A single column of Xs (up) or Os (down) in a P&F chart.
PointFigureConfig
Configuration for Point & Figure chart transformation.

Enums§

ColumnDirection
Direction of a P&F column.
PnfBoxesError
Why PnfColumn::boxes did not list a column’s box prices.

Functions§

to_pnf_columns
Convert bar data to Point and Figure columns