Skip to content
EliteChart

PointFigureOptions

Documentation


Documentation / @elitechart/core / PointFigureOptions

Defined in: series/point-figure.ts:57

Point & Figure configuration. Pass to chart.setPointFigureOptions(...) or to computePointFigure directly.

Example

code
import { suggestPointFigureBoxSize } from '@elitechart/core';
const boxSize = suggestPointFigureBoxSize(bars, { tickSize: 0.01 });
const opts: PointFigureOptions = { boxSize, reversalBoxes: 3 };
chart.setPointFigureOptions(opts);

Properties

boxSize?

code
readonly optional boxSize?: number;

Defined in: series/point-figure.ts:63

Box size — the price increment one X or O glyph represents. Must be > 0. Default 1. For real-money use, derive this from ATR or a tickSize multiple (similar to suggestRenkoBrickSize).


reversalBoxes?

code
readonly optional reversalBoxes?: number;

Defined in: series/point-figure.ts:69

Reversal in boxes — how many boxSize increments price must move against the current column to start a new opposite column. Default 3 (Cohen, How to Use the Three-Point Reversal Method).