Line, ray, trend line, rectangle, text and ruler drawing tools
Six line drawings share one style model: horizontal line, horizontal ray, trend line, rectangle, text annotation and ruler. Each has a colour, a line style (solid, dashed, dotted) and a width, with rectangle fill and text font options on top.
Senzoukria · Documentation · Updated September 2026
Where to find it
- Where
- Drawing toolbar on the left of the chart; style in the drawing properties panel after selecting the drawing
- Default colour
- #7ed321 for lines, ray, trend, rectangle border and ruler; text #ffffff on #121216
- Default width
- 1.5 px; options 1, 1.5, 2, 3 px
- Default style
- Solid (ruler: dashed)
What it does
All six tools produce a line drawing attached to the chart's symbol and stored with it. A horizontal line holds a single price and spans the whole chart. A horizontal ray starts at the clicked bar and runs to the right. A trend line is a segment between two (time, price) points; when placed with one click it is created 30 bars long with a slope of 20 ticks and you then drag the endpoint. A rectangle is a price/time box normalised so that top is always above bottom and start before end. A text annotation is a string pinned to a time and a price. The ruler is a measuring segment that reports the distance between its two ends.
The renderer draws every one of these with the colour, line width and dash pattern stored on the drawing, falling back to the defaults listed in the table when a property has not been set.
Settings
| Drawing | Setting | Default and options |
|---|---|---|
| Horizontal line, ray, trend | Color | #7ed321 |
| Horizontal line, ray, trend | Line style | Solid; options — Solid, - - Dash, ··· Dot |
| Horizontal line, ray, trend | Width | 1.5 px; options 1, 1.5, 2, 3 px |
| Ray, trend, rectangle | Extend | Off for the trend line and the rectangle, Right → for the horizontal ray; options Off, ← Left, Right →, ← Both → (projects the drawing to the chart edges) |
| Rectangle | Border / Fill | #7ed321 / #7ed321, fill Opacity 0.1 (0–1), border style Solid, border width 1.5 px |
| Ruler | Color / Line style / Width | #7ed321 / Dashed / 1.5 px |
| Text | Text / BG / Size / B / I | #ffffff / #121216 / 12 px (10, 12, 14, 18, 24) / bold off / italic off |
| All | Lock | Off; a locked drawing stays selectable but its handles and body no longer move — clicks inside pan the chart |
How to use it
- Arm a tool in the toolbar and click on the chart. For the trend line, rectangle and ruler, drag to set the second point; the rectangle and ruler start as a zero-size shape at the click and grow with the drag.
- For a text annotation, an inline editor opens at the click with the placeholder Type, Enter to save. Enter commits, Escape cancels, and clicking elsewhere commits the current content.
- The ruler label shows the price difference with sign, the percentage, the number of ticks, the number of bars and the elapsed time, plus the volume and delta traded between its two ends (vol … · Δ …). Values above 1 000 are shortened to k and M.
- Select a drawing to open the properties panel; change colour, style and width there, or open Advanced settings for the full form (Line, Extend, Border, Fill, Text sections).
Limits and pitfalls
- A horizontal line created through the context menu's Add alert item is a special horizontal line: it is always drawn amber and dashed with a bell glyph, regardless of the colour you choose, and it is removed when price crosses it.
- Drawings are keyed by symbol. Rolling to a new front-month contract changes the symbol string, so lines drawn on the old contract do not follow.
- The ruler's tick count uses the chart's detected grid tick size; on instruments where the tick size is not yet detected the count is 0 until it is.
- Trend line defaults (30 bars, 20 ticks) use a bar spacing of 60 s and a tick of 0.25 when the chart has not measured its own values yet.
Related pages
- Drawing toolbar, undo and redo
- Drawing properties panel and presets
- Price alerts
- Selection volume profile drawing
- Order flow trading
This page in other languages
Frequently asked questions
- Why is my trend line so short or so long when I place it?
- A one-click trend line is created 30 bars ahead using the spacing measured between the visible bars. Across a session break that spacing can be large. Drag the endpoint to where you want it; the undo stack merges the drag into one step.
- What does the ruler measure exactly?
- The signed price change, its percentage, the number of ticks, the bar count and elapsed time between the two ends, and the traded volume and delta over that range. The rectangle and profile tools give the same range statistics in more detail.
- Can I make a rectangle extend to the chart edges?
- Yes. The Extend field offers Off, ← Left, Right → and ← Both →; the same field exists on the ray, which is extended to the right by default, and on the trend line.