Drawings
In this chapter
A drawing is a mark you put on a chart by hand. It stays on the same bars as the chart pans and zooms, and shows on every chart of the symbol, at any resolution.
The tools
Ctrl + Shift + D, the toggle in the window’s bottom-left corner, or Sidebars → Drawing tools in a chart’s right-click menu shows and hides the tools down the left edge. The toggle stays where it is as they come and go: left of the bottom-left chart’s first date while the tools are hidden, and at their foot while they are out. A tool’s key picks it whether the tools are showing or not. From a terminal, omacharts chart drawing-tools on or off (Command line).
| Tool | Key | What it draws |
|---|---|---|
| Measure | Alt + M | A ruler over a move: its change, its bars and its time |
| Zoom | Alt + Z | A box drawn over the chart, and the chart zoomed to it |
| Line | Alt + L | A straight line between two points |
| Horizontal line | Alt + H | A level, flat across the time between its two ends |
| Arrow | Alt + A | A line with a head at the end |
| Zig-zag | Alt + G | A line through as many corners as you place |
| Rectangle | Alt + R | A box between two corners |
| Circle | Alt + C | An ellipse inside a box between two corners |
| Text | Alt + T | Words at a point on the chart |
| Volume profile | Alt + V | How much volume traded at each price over a span you choose |
| Anchored VWAP | Alt + W | The volume-weighted average price from the bar you click |
| Fib retracement | Alt + F | A level at each Fibonacci ratio of a swing |
Esc is the pointer, no tool, which selects, moves and resizes drawings. Each tool’s page says how it is placed.
After one drawing the tool is deselected. Ctrl + click a tool to keep it selected until Esc or another tool. The selected tool draws on whichever chart you press. A configuration is a saved look for a tool’s drawings, numbered 1 to 9 (Configurations).
| While placing | Does |
|---|---|
| Ctrl held | Snaps the point to the nearest open, high, low or close of the candle under it, and the crosshair with it |
| Right-click | Drops the half-made drawing and keeps the tool |
| Alt + 1 … 9 | The configuration the drawing will follow, shown as a number on the tool. With no tool selected, it applies to whatever is drawn next |
| Esc | Drops the drawing and deselects the tool |
A finished drawing is left selected on its own, on the chart it was drawn on, ready to move, resize, restyle or delete.
Selecting and moving
| Key or gesture | Does |
|---|---|
| Click a drawing | Selects it alone |
| Shift + click, Ctrl + click | Adds it to the selection, or takes it out |
| Shift + drag on empty chart | Adds every drawing the box touches to the selection |
| Ctrl + A | Selects every drawing on the chart |
| Click empty chart, Esc | Clears the selection |
| Drag an end or a corner | Moves that point. With Ctrl held it snaps to the candle, as when placing. While you drag, the axes show the point’s price and time in the drawing’s colour |
| Drag the body | Moves the whole drawing, and every other selected drawing with it |
| ← → ↑ ↓ | Nudges the selection a pixel; ten with Shift |
| Ctrl + Shift + ↑ / ↓ | Brings it to the front or sends it to the back among the drawings. Every drawing sits over the candles |
| Ctrl + X, Ctrl + C, Ctrl + V | Cuts or copies the selection, and pastes it on the focused chart at the same times and prices. A paste that would land exactly on its source is moved off it a little |
| Delete / Backspace | Removes the selection |
| Ctrl + Z; Ctrl + Y or Ctrl + Shift + Z | Undo and redo, on this chart’s drawings |
| Alt + 1 … 9 | Puts the selection on that configuration |
| Alt + Shift + + / − | Thickens or thins a line, an anchored VWAP, a retracement’s levels, a box’s or circle’s edge, or a volume profile’s outline, by half a pixel, from 0.5 to 12 px |
| Alt + Shift + A | Steps a line’s arrowhead: none, filled, open, barb |
Whatever you do to a selection is done to every drawing in it. Configurations and the properties need the selected drawings to be of one kind.
A rectangle or circle with Select by border only on is picked up by its edge alone, whether or not a border is drawn. A click inside it selects the drawing under it, or reaches the chart, and a Shift + drag inside it selects what it touches without the rectangle or circle.
The drawing’s menu
Right-click a drawing for its menu. It acts on the selected drawings. A right-click on empty chart opens the chart’s own menu, which has Paste and Remove all drawings (Charts).
Cut, copy and paste take an indicator as well as drawings. Paste puts down whichever was copied last (Selecting an indicator).
| Item | Does |
|---|---|
| Edit text / Add text (Enter) | Puts the caret in the drawing, to type on the chart |
| Cut (Ctrl + X) | Copies the selection and removes it |
| Copy (Ctrl + C) | Copies the selection |
| Paste (Ctrl + V) | Only while something is copied: drawings, or an indicator |
| Remove (Delete) | Removes the selection |
| Configuration | Configurations 1 to 4, each drawn as this kind of drawing. 5 to 9 are Alt + 5 … 9, or the picker in the properties |
| Thickness | 1, 1.5, 2.5 or 4 px. Not on text |
| Arrowhead | None, filled, open or barb. On lines, levels, arrows and zig-zags |
| Bring to front, Send to back | As Ctrl + Shift + ↑ / ↓ |
| Properties… (Alt + Enter) | Opens the properties |
Properties
Alt + Enter, Properties…, or a double-click on any drawing but text, opens the properties of the selected drawings. With kinds mixed nothing opens. Each change applies as you make it, with the chart visible behind the dialog. Done, Ctrl + Enter or Esc closes it.
Across the top is a picture of the drawing, tagged with its configuration, or Custom when it has a look of its own. Click the picture to see the nine configurations drawn as this drawing, with its own look beside them while it has one. Alt + 1 … 9 works inside the dialog too. Under a Custom look, Save as… writes the look over one of the nine configurations (the one it started from is marked *) and puts the drawing back on that number. Every drawing on that number changes with it.
A line, a level, an arrow, a zig-zag, a rectangle and a circle have two tabs, General for the shape and Text for a label on it. Alt + ← / → moves between them. The other drawings have one page.
The rows work the same way in every drawing’s properties:
| Row | Works like this |
|---|---|
| A colour | One of the nine presets, or Custom… for a hex colour |
| Default in a colour’s palette | First in the palette under the swatch, where a colour follows another: puts back the colour it follows, such as the line’s for a band |
| A thickness | 0.5 to 12 px in halves, in a box. On an anchored VWAP and a Fib retracement’s levels it is a row of drawn samples instead: no line, 1, 1.5, 2.5 or 4 px |
| A line style | Solid, Dashed or Dotted, picked from drawn samples |
| A percentage | A slider with a box to type the number in |
Each tool’s page lists its properties, each with what it does and its default:
| Tool | Properties |
|---|---|
| Line, Horizontal line, Arrow, Zig-zag | Colour, thickness, line style and arrowheads, and a label |
| Rectangle, Circle | Fill, border, selecting by the border, and a label |
| Text | Colour, font and size |
| Volume profile | Rows, value area, outline, point of control, style and alignment |
| Anchored VWAP | Source, the line and three bands |
| Fib retracement | Colour, labels, and each level’s look |
Measure and Zoom have no properties.
Configurations
A configuration is a saved look (colour, thickness, arrowheads, fill, font) for one kind of drawing. Each kind has nine, numbered 1 to 9. Every drawing follows one (configuration 1 unless you chose another) and changes when that configuration changes. Changing a property by hand takes the drawing off its configuration. Its look is then Custom, and changes to the configuration no longer reach it. Choosing a configuration puts it back on one. Changing a label’s words or its position does not take it off.
As shipped, the nine configurations are the nine colours in order, 1 Up, 2 Down, 3 Blue, 4 Amber, 5 Violet, 6 Teal, 7 Orange, 8 Cyan, 9 Ink, each with the defaults its tool’s page gives under Properties. A volume profile’s nine are its own (Volume profile), and so are a Fib retracement’s (Fib retracement).
To edit a tool’s configurations, right-click it and choose Line configurations… (or the matching item for the tool). Each row is a picture and a description; a row changed from how it shipped is marked Edited. Click a row for the same rows the properties have, and every drawing on it changes as you go. Restore defaults puts all nine back as shipped. Done or Ctrl + Enter closes.
Colours
A drawing’s colour is one of nine presets, or a hex colour.
| Preset | Is |
|---|---|
| Up, Down | The theme’s candle colours |
| Blue, Amber, Violet, Teal, Orange, Cyan | The theme’s colours of those names |
| Ink | A grey matching the chart’s text |
A preset changes with the theme (Themes and colours). A hex colour does not. Custom… in any colour row picks one.
Every colour row carries its opacity: the colour’s name, the swatch, then Opacity, a slider and a figure for how solid the colour is drawn, 100% solid and 0% invisible. The command line’s --*-transparency flags set the same thing the other way up, as how much of the chart shows through.
A label’s colour is lightened or darkened when it would not read against the fill or the chart background.
Text and labels
Text is typed on the chart, into a text drawing or a label. Any other drawing can carry a label, which sits inside it.
| Key or gesture | Does |
|---|---|
| Enter, F2, Edit text, or double-click a text drawing | Puts the caret in the selected drawing, on the chart, in its own font and colour. Not on a volume profile, an anchored VWAP or a Fib retracement, which take no text |
| Enter while typing, or a click elsewhere | Commits |
| Shift + Enter | A new line |
| Ctrl + B, Ctrl + I | Bold or italic, over the selection or the word the caret is in |
| Esc while typing | Leaves the text as it was. A new text drawing with nothing typed goes away |
| Ctrl + + / − | Grows or shrinks the selected drawing’s text by a pixel. On a figure, its label, not the figure |
| Alt + Shift + ← → ↑ ↓ | Puts a figure’s label against that edge. Only when it has a label; otherwise the arrows nudge |
| Alt + Shift + . | Puts the label back in the centre |
A corner position is set in the properties’ Position grid. While you are typing in a drawing, Ctrl + B and Ctrl + I are bold and italic and nothing else: Ctrl + I does not open the indicators.
Hiding the drawings
Ctrl + H hides every drawing on the focused chart, its own and those other charts send it, and pressing it again brings them back. Drawings in the chart menu does the same. Nothing is removed: while they are hidden, none can be selected or deleted, and Remove all drawings and Ctrl + Z leave them alone. Picking up a drawing tool shows them again. Hidden drawings are kept with the chart.
While they are hidden, a struck-through pencil after the chart’s resolution says so. Click it to show them again.
Sharing drawings between charts
Each chart has two rows for this, in the Drawings group of Chart settings (Ctrl + Shift + S).
Drawings from other charts says which other charts of the same symbol the chart shows drawings from:
| Choice | The chart shows |
|---|---|
| Hide | Only its own drawings |
| This chartbook | Its own, and those sent by the other charts in its chartbook |
| All chartbooks | Its own, and those sent by every other chart of the symbol, in any chartbook. The default |
Send drawings to other charts is a switch, on by default. Off, what is drawn on this chart stays on this chart.
Both act on existing drawings as well as new ones. Turning sending off takes this chart’s drawings off the other charts, and turning it back on sends them again.
Whatever it shows of other charts’, the chart still shows every drawing made on it, including the ones it sent to other charts. With This chartbook, a drawing counts as the chartbook’s while the chart that sent it is in the chartbook: one sent by a chart since closed, or from an early version that does not record which chart made it, counts as another chartbook’s. A chart that was set to show drawings from other charts before there was a choice shows All chartbooks, and one that was not shows Hide, so nothing it showed changes.
New charts take their defaults from Preferences › Charts › Defaults › Drawings, the same two rows (Chart settings).
Remove all drawings in the chart menu removes every drawing the chart shows. Ctrl + Z brings them back.