Bentrix Docs
HomePricingDashboard

An action

A decision — buy, sell, close the buys, close the sells, or nothing — drawn as an arrow at the bar it arrived in, and acted on only through a strategy you run.

01In plain words

An action output is a decision the model has already made: buy, sell, close the buys, close the sells or nothing, sometimes with a size such as half. There is nothing to interpret: the model is telling you what it would do.

02An everyday example

A satnav does not say the road to the left is 70 % likely to be quicker. It says turn left. An action output is the turn left.

Actions: arrows on the bars where decisions arrived A drawing of the idea, not a picture of the application.

03How to read it on the chart

  • A buy is an arrow under the candle, pointing up; a sell is an arrow over the candle, pointing down.
  • A close is drawn hollow.
  • A wider arrow means a bigger size.
  • Nothing draws nothing.

04Giving it a meaning

An action needs no meaning. It is already a decision.

05Watch out for

  • An action never places an order by itself. It reaches an account only through a strategy you run, and on a real account only as your strategy's Automations setting allows.

06For programmers: what to hand Bentrix

One {"intent": …} — buy, sell, close_buys, close_sells or nothing — and a size where it has one.

spec = bentrix.Output.action("policy", "EURUSD", anchor_ms, "buy", size=0.5)

07What the chart shows

An arrow on the bar it arrived in: a buy under the bar's low pointing up, a sell over its high pointing down, a close drawn hollow; its size is the arrow's width. Nothing draws nothing.

08Acting on it

An action never places an order by itself. It reaches an account only through a strategy you run that reads it, and on a real account only under your strategy's Automations setting.

09What is measured

As a position: in money, by a laboratory strategy run that follows it.

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