One number a step — a probability of a rise, a strength, an expected return, a price — drawn in a pane of its own, with your thresholds and the acts they make.
01In plain words
A number is the simplest output there is: at each step the model gives one number. Most often it is a probability — a number from 0 to 1 that says how likely something is. 0.73 means 73 % likely. It can also be a strength (how strongly the model believes), an expected return (how much the price should move), the volatility to come (how much it should wobble), or a price.
02An everyday example
A weather app says 70 % chance of rain. That is a number of this kind. A trading model says 0.70 for the chance that the price is higher in four hours. In neither case does the number decide anything by itself: you decide that rain above 60 % means an umbrella, and that a value above 0.6 means a buy.
03How to read it on the chart
- The line is the model's number, bar by bar. Each bar shows the newest value that had arrived by that bar's close.
- The scale runs from the bottom of the range the model declared to the top — 0 to 1 for a probability.
- The dashed lines are your thresholds, once you set a meaning, labelled acts above and acts below.
- The shaded zones, when the chart's Zones is on, are the areas beyond your thresholds — where the value acts.
- The small tick on the pane's foot marks where the newest value's horizon ends: how far ahead in time it speaks.
- Arrows on the price chart show where your meaning turned the number into a buy or a sell.
04Giving it a meaning
Press the output's name in its legend row. For a probability of a rise, a common start is Reads Direction, A high value means Buy, A low value means Sell, Acts above 0.6 and Acts below 0.4. With only Acts above on, every value under it means the low value's word. What an output means to you explains every row.
05Watch out for
- A confident-looking number is not a good one. A model can say 0.9 again and again and be wrong half the time. Measure it.
- A probability is not a forecast of size. 0.8 for a rise says nothing about how much: a rise of one point counts the same as a rise of a hundred.
- Thresholds close to 0.5 make many arrows. Each arrow is a decision; more decisions also mean more costs if a strategy trades them.
06For programmers: what to hand Bentrix
Its values — one {"value": …} a step — and, ideally, its range ([0, 1] for a probability) and units (probability, return, price, volatility). A declared range is checked: a value outside it is refused, never cut to fit. Its horizon says what it speaks of in time — {"steps": 4} for the next four bars of its interval.
spec = bentrix.Output.scalar("dir_v4", "EURUSD", anchor_ms, value=0.73, range=(0, 1), units="probability",
horizon=4, output="direction")07What the pane shows
A line of the value, bar by bar — each bar showing the newest value that had arrived by its close. The scale is the declared range, else the window's own values. Your thresholds are dashed levels; under Zones the pane is shaded above the upper and below the lower. A small tick on the pane's foot marks where the newest value's horizon ends.
08What is measured
As a probability (it reads as a direction, or its units say probability): how well its numbers rank what came (AUC), how close they are to the outcome (Brier score, log-loss), whether a 0.7 comes true seven times in ten (a ten-bin calibration curve), and the hits and misses at your threshold. As another number: its error against the move that came (MAE, RMSE, the mean signed error) and how its order agrees with the move's (Pearson and Spearman correlation).
09What it does not tell you (more)
A well-calibrated probability can still lose money once costs and timing are counted; a strategy run under the meaning is where that is seen.