Bentrix Docs
HomePricingDashboard

Point & Figure

Columns of X's for rising prices and O's for falling ones, one mark per box of movement, a new column only on a reversal of three boxes. One of the oldest charts there is — and still one of the clearest for support, resistance and breakouts.

The 300 hourly candles it is built from9 columns, the box 0.000666667, reversing on 3 boxes

01What you see

A grid. Each column is all Xs — price rising — or all Os — price falling. Every mark is one box of price. A column grows while price keeps going its way; a new column, of the other letter, starts beside it only when price turns back by three boxes. Time is not on the chart at all.

02How it is built

Point & Figure reads one price per candle — the close by default — a box size b and a reversal r, three boxes by default. Prices are read on a grid of boxes: the box of a price P is ⌊P/b⌋.

  1. Start. The first close fixes a box; the first move of a whole box up or down chooses an X or an O column.
  2. Extend. In an X column, every close that reaches a new, higher box adds X's up to it. In an O column, every close at a new, lower box adds O's down to it.
  3. Reverse. In an X column, when a close falls r boxes below the column's top box, a new O column starts one box below the top and runs down to that close:
top−⌊C/b⌋≥r⇒a new O column
Cthe price read on each candle — the close by default
bthe box size, in price
rthe reversal, in boxes — three by default
topthe box at the top of the current X column
  1. The mirror rule turns an O column into an X column.

Movements smaller than a box are ignored entirely, and pullbacks smaller than the reversal only pause a column.

03Reading it

Point & Figure was built to show supply and demand levels, and its classic readings are about rows:

  • Double top breakout — an X column rises one box above the top of the previous X column. Its mirror is the double bottom breakdown.
  • Triple top / bottom — the same, past two earlier columns at one level: a stronger break.
  • Support and resistance are the rows where several columns turned.
  • Counting — the width of a congestion area, in columns, is often used to estimate how far a breakout may go.

04Settings

SettingChoicesNew chart
BoxAuto, Points, Price, ATR, PercentAuto
Reversal1 to 10 boxes3
SourceClose, Open, High, Low, HL2, HLC3, OHLC4, High/LowClose
GlyphLetters (X and O) or BoxesLetters

High/Low is the method's textbook form: in an X column each candle's high is tested first for more X's, and only if it adds none is its low tested for the reversal — and the mirror in an O column.

The picture above uses a box of a third of Auto, so the sample's 300 candles make more than a handful of columns.

05Indicators on Point & Figure

Computed on the columns by default, or on the candles behind them by the study's Calculate on setting. A column that price has started to reverse, but not by the full three boxes yet, is drawn faint.

06From an agent or a program

Set it

chart_set_type turns a chart into this type, as the Chart type card does; style is laid over the chart’s own, field by field — these are its fields and a new chart’s values:

{
  "name": "chart_set_type",
  "arguments": {
    "chart": "<chart uri>",
    "type": "point_and_figure",
    "style": {
      "elements": {
        "pnf_box": {
          "kind": "auto"
        },
        "pnf_reversal": 3,
        "pnf_source": "closes"
      }
    }
  }
}

Read it

chart_elements_get answers what the chart drew, newest last (at most 5,000; 500 when limit is not given), up to the clock. Each element is read as a bar — here, a column: of X when close is above open, of O when below, spanning the boxes from one to the other:

FieldWhat it is
time, ordinalthe element’s address: the open time (UTC milliseconds) of the time candle whose prices completed it, and its place among the elements that one candle made — a fast hour can make several
open, high, low, closeits prices, as above
volumethe ticks of the candles it holds
formingtrue for the last element while it is still being built; it may change or vanish

An indicator on this chart is computed on these elements by default — study_attach with "on": "candles" computes it on the time candles behind them instead.

In a program

The same two steps in each language — chart, bench and market as in the read the candles guide:

Python

client.chart.set_type(chart, type_="point_and_figure")
drawn = client.data.chart_elements_get(chart, limit=20)
for e in drawn["elements"]:
    print("element:", e)

JSJavaScript

await client.chart.setType({ chart, type: "point_and_figure" });
const drawn = await client.data.chartElementsGet({ chart, limit: 20 });
for (const e of drawn.elements) {
  console.log("element:", e);
}

C#C#

await client.Chart.SetType(chart, type: "point_and_figure");
var drawn = await client.Data.ChartElementsGet(chart, limit: 20);
foreach (var e in drawn!["elements"]!.AsArray())
{
    Console.WriteLine($"element: {e}");
}

GOGo

_ = must(client.Chart.SetType(ctx, mcp.ChartSetTypeArgs{Chart: chart, Type: mcp.Ptr[string]("point_and_figure")}))
drawn := must(client.Data.ChartElementsGet(ctx, mcp.DataChartElementsGetArgs{Chart: chart, Limit: mcp.Ptr[int64](20)}))
for _, e := range at(drawn, "elements").([]any) {
	fmt.Println("element:", e)
}

Java

client.chart.setType(new Bentrix.ChartApi.SetTypeArgs(chart).type("point_and_figure"));
Object drawn = client.data.chartElementsGet(new Bentrix.DataApi.ChartElementsGetArgs(chart).limit(20L));
for (Object e : (List<Object>) at(drawn, "elements")) {
    System.out.println("element:" + " " + e);
}

C++C++

client.chart.set_type(ChartApi::SetTypeArgs(chart).type("point_and_figure"));
auto drawn = client.data.chart_elements_get(DataApi::ChartElementsGetArgs(chart).limit(20));
for (const Json &e : drawn["elements"].arr()) {
    std::cout << "element:" << " " << e.dump() << std::endl;
}

Julia

client.chart.set_type(chart; type_ = "point_and_figure")
drawn = client.data.chart_elements_get(chart; limit = 20)
for e in drawn["elements"]
    println("element:", " ", e)
end

RR

client$chart$set_type(chart, type = "point_and_figure")
drawn <- client$data$chart_elements_get(chart, limit = 20)
for (e in drawn$elements) {
  cat("element:", format(e), "\n")
}

RRust

client.chart().set_type(mcp::ChartSetTypeArgs::new(chart.clone()).type_("point_and_figure"))?;
let drawn = client.data().chart_elements_get(mcp::DataChartElementsGetArgs::new(chart.clone()).limit(20))?;
for e in drawn["elements"].as_array().into_iter().flatten() {
    println!("element: {}", e);
}

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed