Rotated rectangle
Three anchors: the first two are one edge, at any angle, and the third sets how far the opposite edge stands across it, measured on screen.
01The tool, live
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
- 1Press on anchor 1
- 2Drag: a ghost of the whole tool follows the pointer
- 3Release on anchor 2
- 4Anchor 3 placed for you: drag each to its place
03What you see
A rectangle at any angle: two points set one edge and a third sets how far the opposite edge stands from it.
It shows a region that runs along a slope, filled when fill is on; its width is a screen distance and changes with the zoom.
04Where it comes from
Marking a chart by hand is as old as charting: before software, analysts drew on paper with a pencil and a ruler.
05How it is placed
- Open the chart's Tools column and choose Shapes › Rotated rectangle.
- Press on one edge, first end, drag to the same edge, second end, and release. A ghost of the whole tool follows the pointer while you drag.
- The remaining anchor — the far side — is placed for you at a default distance. Drag each handle to where it belongs.
- With the magnet on, an anchor dropped near a candle's open, high, low or close snaps to it.
Its anchors
- 1One edge, first end
- 2The same edge, second end
- 3The far side
Put the first two anchors along the side to frame and the third on the far side.
06The geometry
The first two anchors are a segment; the third's screen distance from that segment is the box's width. Because the width is a screen distance, it changes with the zoom.
07Settings and defaults
08Readings — what traders look for
A sloping zone. Used to frame a flag or a band of prices that runs along a trend.
09What it does not tell you
A frame for the eye. Its width is not a price.
10Limits and common misreadings
Zoom changes its width in price. For a sloped band whose width is a price, use the parallel channel.
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 › Shapes › Rotated rectangle.
- 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 rotated_rectangle, 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": "rotated_rectangle",
"anchors": [
{
"t_ms": 1710151200000,
"price": 1.085
},
{
"t_ms": 1710172800000,
"price": 1.0862
},
{
"t_ms": 1710194400000,
"price": 1.0874
}
]
}
}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.
Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed