pub fn to_pnf(
candles: &[Candle],
box_size: f64,
reversal: usize,
) -> Result<Vec<Candle>>Expand description
Transform candles into Point-and-Figure columns (wickra-core’s
PointAndFigureBars, fixed box_size and N-box reversal on closes), each
emitted as a synthetic candle. A rising (X) column opens at its low and
closes at its high; a falling (O) column opens high and closes low.
box_size must be positive and reversal non-zero.