Bentrix Docs
HomePricingDashboard

A model's output of any kind

A forecast of candles is one thing a model can say. A probability, a ranking, a target position, a set of levels or a decision are others — what each kind is, how Bentrix draws it, and the one rule every kind shares.

01Beyond a forecast of candles

A forecast says what the next bars will look like. Most trading models say something else: the chance the price rises in the next four hours, which of three regimes the market is in, how this market ranks against four thousand others, hold half a position, a stop and a target, buy now. Bentrix takes each of these as an output: one model may give several, each with a name of its own (dir_v4.direction, dir_v4.regime).

An output is your model's, never Bentrix's. Bentrix draws what the model said and keeps it beside what came; it does not say the model is right, and no figure here is a promise of a return.

02The twelve kinds

KindWhat the model answersWhere Bentrix draws it
A forecast of bars (path)The next bars — candles, a line, bricksOn the price pane, past the newest bar: this is today's forecast
A number (scalar)One number a step: a probability, a strength, a return, a priceA pane of its own under the chart
Named outcomes (classes)A probability for each of several named outcomes (up · flat · down, or market regimes)A pane of stacked areas; a lasting state as bands behind the candles
Quantiles (quantiles)A few levels of a distribution (the 5th, 50th, 95th percentile)A pane: a line per level, the median bold, the outer levels' band
A rank (rank)A place from 0 to 1 among many markets on one dateA pane, with 0.5 as reference
A target position (position)A target exposure, from short to longA pane: a stepped line shaded above and below zero
Portfolio weights (weights)A share for each market of a portfolioA pane of stacked areas
An event (event)The chance that something happens soonA pane of its score, and a mark over the bar where it stood at ½ or more
Levels (levels)Named prices: a stop, a target, an entryLines on the price pane, each ending where a bar first reaches it
An action (action)A decision: buy, sell, close the buys, close the sells, nothingAn arrow on the price pane at the bar it arrived in
Text (text)A sentence of explanationNever on the chart: it is kept and read with the output
Named lines (series)Named lines with no meaning of their ownA pane, a line each

Each kind has a page of its own, with a picture of it, an everyday example and what to watch out for. The name in brackets is the one a program uses.

03Which kind is my model's?

Ask what your model's answer looks like:

If your model answers…Its kind is
one number, such as a probability of a rise, a strength or an expected returna number
a chance for each of several named outcomes — up, flat, down; or calm, stormynamed outcomes
a middle guess with a range around it — the 5th, 50th and 95th percentilequantiles
where this market stands among many others on one date, from 0 to 1a rank
how much to hold, from fully short to fully longa target position
each market's share of a portfolioportfolio weights
how likely something is to happen soon — a breakout, a spikean event
prices — a stop, a target, an entrylevels
a decision — buy, sell, close, nothingan action
a sentence explaining its viewtext
lines to look at, with no meaning of their ownnamed lines
the next candles themselvesa forecast of bars — see a forecast on the chart

A model may give several outputs of different kinds at once — a number for the direction, named outcomes for the market's state, levels for the trade. Each has its own name and its own pane.

New to all of this? Start with outputs in plain words and your first output, step by step.

04When an output exists

nowthe model's number (0 to 1)arrived heremade for herestands where it arrived
A model's value exists from the moment it arrives. The dashed line is the workbench's clock: each value lands in the bar the clock is in, and its arrow stands there — a value made for an earlier bar but arriving late stands where it arrived, never back where it was made for. A drawing of the idea, not a picture of the application.

An output exists from the moment it arrives, never earlier — the same rule as a forecast's. Bentrix stamps every output with its arrival on the workbench's own clock; every reader — a pane, an arrow, an alert, a strategy, a report — takes, at a moment, the newest output that had arrived by then. A value made for a bar but arriving after that bar closed is never scored against it, and an arrow stands on the bar where the value arrived, not on the bar it was made for.

05What it means is yours

A model says 0.73. Whether 0.73 means buy, sell or stand aside is yours to set, on this workbench, without retraining anything: what an output means to you. A model may suggest a meaning; yours replaces it.

06The legend row

Each output drawn on a chart has a row under the studies': its model, its name, its kind and its value now. The eye hides it on this chart; the × removes it from the workbench; a press on its name opens its meaning.

07What an output does not tell you

  • Whether the model is any good. A pane of confident probabilities looks convincing whatever its quality. Measure it against what came before trusting it.
  • What will happen. A probability is the model's statement, not a guarantee; a level is a price the model named, not one the market owes.
  • Anything about the market Bentrix vouches for. Bentrix checks that an output is well formed — a probability between 0 and 1, a value inside the range the model declared, an anchor at a real bar — and nothing else. A value outside its declared range is refused, never quietly cut to fit.

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