Bentrix Docs
HomePricingDashboard

Horizontal ray

Lines1 anchorin every package

One anchor, and a level drawn from that anchor's time to the right edge of the plot, never to the left of it.

01The tool, live

Live figureDrag the numbered anchor.

Placed and drawn by Bentrix’s own code over the same synthetic bars on every page — an illustration of the tool’s geometry, not a market.

02Its parts, named

1Anchor 1The bar the level was made onWhat it drawsone price from the moment itwas set onward, which is whattells it apart from a
  1. 1Click on the bar and the price
  2. 2The tool is placed
Placed by Bentrix’s own code on the sample bars. The placement plays once as you reach the figure.

03What you see

A level that starts at one bar and runs to the right edge. Nothing is drawn to the left of the bar it starts from.

What it shows

It shows one price from the moment it was set onward, which is what tells it apart from a horizontal line across the whole chart.

04Where it comes from

The same idea as a horizontal line, with its history kept honest: the level did not exist before the bar that made it.

05How it is placed

  1. Open the chart's Tools column and choose Line tools › Horizontal ray.
  2. Click on the bar the level was made on.
  3. With the magnet on, an anchor dropped near a candle's open, high, low or close snaps to it.

Its anchor

  1. 1The bar the level was made on

Put it on the bar where a level was first made.

06The geometry

P(b)=P0for b≥b0
P0the anchor's price
b0the anchor's bar

07Settings and defaults

Horizontal rayits properties window
Anchors1Each is a moment and a price, never a pixel: the tool stays on its bars through a zoom, another interval or older history.
Colour, width and line stylethe chart's ink, width 1Width from 1 to 5; Solid, Dash, Dot or Dash-dot.
TextnoneA name written on the tool.
Visibilityevery intervalThe intervals the tool is drawn on.
LockoffA locked tool is not moved by a drag.

08Readings — what traders look for

Where a level came from. Starting the line at the high or low that made it shows at a glance how old the level is.

First return. Traders watch the first time price comes back to a fresh level more closely than later visits.

Stacks of rays from successive swing highs show whether highs are rising or falling.

09What it does not tell you

!

It records where and when a level was made. It does not say price will come back to it.

10Limits and common misreadings

Older is not stronger. A level untouched for a long time may simply have been forgotten.

11On other chart types

A drawing is fixed to moments and prices, so it keeps its place on every chart type. On a chart built by price or by activity — Renko, Range bars, Point & Figure, Kagi, Line break — each anchor stands on the brick, bar or column that holds its moment. No chart type refuses a drawing.

12In Bentrix

  • Where it is: the chart's Tools column › Line tools › Horizontal ray.
  • Its properties: select the tool and open its properties window; the small bar that floats beside a selected tool has its lock.
  • Undo: Ctrl+Z takes back the last drawing step on that chart.
  • In a pane: every tool can also be placed in an indicator's own pane.

13From an agent or a program

An agent or a program places the tool with object_place: the chart, the kind horizontal_ray, and its anchors in placement order, each a moment (t_ms, milliseconds since 1970 on the workbench's feed) and a price. Acting on a chart needs the lab permission, and tools that act are part of Plus.

{
  "name": "object_place",
  "arguments": {
    "chart": "<chart uri>",
    "kind": "horizontal_ray",
    "anchors": [
      {
        "t_ms": 1710151200000,
        "price": 1.085
      }
    ]
  }
}

object_move moves its anchors, object_change its look, object_find lists a chart's drawings and object_delete removes one. All of them are in the MCP reference, and every SDK language has the same calls.

15Sources

  1. Murphy, John J. Technical Analysis of the Financial Markets. New York Institute of Finance, 1999.

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