Indicators

In this chapter

An indicator is something drawn from the chart’s bars, such as a moving average, an RSI or the shading of the extended hours, over the candles or in a strip of its own under the price. Each chart has its own indicators, or shows those of the chart template it is on.

The indicators come in families, and each indicator has a page of its own with every setting:

The Indicators page of Chart settings
The Indicators page of a chart with two averages, Volume and an RSI.

Adding an indicator

Add an indicator is a search box. Open it with Ctrl + Shift + I over a chart, the + at the top of the Indicators page, or the Add an indicator row that page shows when the chart has none.

Before anything is typed, it lists every indicator under its family’s heading. Typing gives one list, best match first. A name, a short name or a related word finds an indicator (poc finds the volume profile, london Session Times), and a family’s name finds its members (volume, time, session).

The Add an indicator search with its list of indicators
The Add an indicator search, before anything is typed.
Key Does
Type Narrows the list
↑ / ↓ Moves the selection without leaving the box
Enter, Ctrl + Enter, a click Picks the selected indicator
Esc, a click outside Closes the search, adding nothing

Picking one puts it on the chart at its defaults and opens its settings in a dialog named after it, with Cancel and Add in the header. The chart changes as you change a setting. Add or Ctrl + Enter keeps the indicator. Cancel, Esc or a click outside removes it. On a chart on a template, the indicator is added to the template, and Cancel takes it off the template again.

Numbers after the name set its lengths, in the order its legend shows them: sma 50 is an SMA 50, bb 20 2.5 a Bollinger over 20 bars at 2.5 deviations, macd 8 21 5 a MACD with those three. Spaces, commas and round brackets all separate them, so sma50 and sma(50) work too. Lengths left out keep their defaults. The tag on the right of each row shows what Enter adds, and an indicator the numbers do not fit drops out of the list. Picking one with numbers puts it straight on the chart, without opening its settings.

The settings dialog of a MACD being added
The settings of a MACD being added.

Every indicator’s settings end with a Legend group, whose Show in chart legend switch says whether the legend names it.

Overlays and strips

An overlay is drawn over the price. A strip is a pane of its own under the price, with its own scale and its name in the top-left corner.

A strip takes a share of the chart’s height, set with Pane height % in its settings.

Gesture Does
Drag the line between two rows Resizes the strip the line belongs to. The new height is saved
Pointer in a strip Shows its corner controls, top right
The up or down chevron in the corner Moves the strip one row up or down among the strips. Strips always sit under the price. A chevron with nowhere to go is not shown
The × in the corner Removes the indicator
The corner controls of an RSI strip at the foot of a chart
The corner controls of the bottom strip.

The Indicators page

The Indicators page lists the focused chart’s indicators under On the chart. Open it with Ctrl + I or the chart menu’s Indicators…. It is also a page of Chart settings; Alt + ← / → moves between the Chart and Indicators pages.

Row part Does
Handle Drag the row to reorder. The drag works anywhere on the row that is not a control
Dot The colour it is drawn in now
Title and subtitle Its legend label, such as RSI 14, and its full name
Switch Shows or hides it. A hidden indicator keeps its settings
Bin Removes it
Click the row Opens its settings over the list. Changes apply as they are made. The back arrow returns to the list

The list is in the order of the chart, top to bottom. Overlays are listed in the order they are drawn, strips in the order they stack.

Above the list, Chart template names the template the chart is on, or None. On a chart on a template, the list is the template’s own: it is titled after it, such as On the Momentum template, with A change here reaches every chart that uses it. under the title. Its rows open, reorder, show, hide and remove the template’s indicators, and + adds to the template. Every chart on the template changes with it (Chart templates).

An indicator’s settings opened on such a chart, from the list, the legend’s gear or after adding one, start with an Editing the Momentum template row that says the same.

The settings of an RSI on a chart on the Momentum template, opening with a row that says it is editing the template
An RSI’s settings on a chart on the Momentum template.

The legend

The legend lists the chart’s indicators under the symbol, faint until the pointer comes near. Each line is a dot in the indicator’s colour, its label and three buttons.

Control Does
Eye Hides it, or shows it again. A hidden indicator’s label stays, dimmed
Gear Opens its settings in Chart settings
Bin Removes it
Click the label Selects it on the chart (Selecting an indicator)
Double-click the label Opens its settings, as the gear does
Right-click the line Selects it and opens its menu, hidden or not

An indicator with Show in chart legend off in its settings has no line in the legend, and is still drawn. Hiding it is the switch on its row in the Indicators page. Session Times starts out of the legend, and every other indicator in it.

Show legend for indicators, on the Indicators page under Chart template, takes the whole legend off the chart, and puts it back. Each indicator’s own Show in chart legend applies again once it is on. It is kept with the chart, and Preferences › Charts › Indicators says what a new chart opens with (Defaults for new charts). From a terminal it is omacharts chart set --legend off for one chart and omacharts config set chart_shows_legend off for the default.

The label is the indicator’s short name and its lengths, in the order its settings list them, such as SMA 50 or MACD 12 26 9. A VWAP, a volume profile or a cumulative delta shows its period instead, such as VWAP · Session. When the period in use differs from the one chosen, the label names the one in use (Reset periods). Session Times names its ranges: Sessions · ETH, London.

Hiding every indicator

Ctrl + Shift + H hides every indicator on the focused chart, their strips too, and pressing it again brings them back. Indicators in the chart menu does the same. Each keeps its own eye, so what comes back is what was showing. The legend keeps their labels, dimmed. Hidden indicators are kept with the chart.

While they are hidden, a struck-through wave after the chart’s resolution says so. Click it to show them again.

Selecting an indicator

Click an indicator on the chart to select it: a line, a bar of the volume strip or a MACD’s histogram, or a row of a volume profile. A click on its name in the legend selects it too. The pointer is a hand over anything that a click would select.

A selected indicator glows in its own colour, under the lines and bars it draws, and each of its lines wears a dot at its latest value. A volume profile is outlined instead. Its name in the legend is at full strength with a ring round its dot, and a strip’s name takes its colour.

Alt + Shift + + and Alt + Shift + − thicken and thin the selected indicator’s line, the Thickness of its settings, a step at a time through 1, 1.5, 2.5 and 4 px. On a volume profile they change the Outline thickness, by half a pixel from 0.5 to 6 px. The volume bars and Session Times have no line to change.

SPY daily with a Bollinger band selected: its three lines glow in its colour, each with a dot at its latest value, and its legend dot is ringed
A selected Bollinger band.
Gesture Does
Click it, or its name in the legend Selects it
Click or right-click empty chart, Esc Clears the selection
Double-click it Opens its settings
Alt + Enter Opens its settings
Delete / Backspace Removes it
Ctrl + X, Ctrl + C, Ctrl + V Cuts or copies it, and pastes it on the focused chart
Right-click it Selects it and opens its menu

One thing is selected at a time: selecting an indicator clears the selected drawings, and selecting a drawing clears the indicator. Drawings come first. Within a few pixels of a drawing, a click selects the drawing or nothing at all, never the indicator under it, which is selected anywhere else along its length. A press on an indicator that goes on to drag pans the chart, since an indicator does not move.

Session Times is not selected by a click, since it covers the whole chart, and neither is the inside of a band’s shading, so a press there pans. A hidden indicator is not selected either: right-click its line in the legend for its menu and Show.

A paste is a new indicator with the same settings, on the chart that has the keyboard, which can be the chart it was copied from or any other. On a chart on a template, it goes on the template. One whose colour was left to the theme takes the next free colour there. The pasted indicator is selected.

Its menu

Item Does
Period buttons A moving average only: 10, 20, 50, 100 or 200, the one in use ringed
Reset every buttons A VWAP, a volume or market profile, or a cumulative delta only: Session, Week, Month, Quarter or Year (Reset periods), and Never for a cumulative delta
Merge with previous profile A volume profile only, over a profile with one before it (Composite profiles)
Split composite profile A volume profile only, over a composite
Cut (Ctrl + X) Copies it and removes it
Copy (Ctrl + C) Copies it
Paste (Ctrl + V) Only while something is copied: an indicator, or drawings
Remove (Delete) Removes it, from the template on a chart on one
Hide / Show Hides it, or shows it again, as the legend’s eye does
Properties… (Alt + Enter) Opens its settings

Colours and lines

An indicator with no chosen colour takes the first of the theme’s sequence (Blue, Amber, Violet, Teal, Orange, Cyan) that no other indicator on the chart is using. When all are in use, they repeat. Adding an indicator never changes the colours already on the chart. Session Times is the exception: it shades without a colour of its own unless one is chosen.

A palette name (Blue, Amber, Violet, Teal, Rose, Green, Orange, Cyan, Neutral) is the theme’s colour of that name and follows the theme when it changes. A custom colour, picked exactly or typed as a hex such as #e0af68, stays the same in every theme.

Each Colour row opens the theme’s palette (Themes and colours). Custom… under it picks an exact colour. Default, first in the palette, goes back to the automatic colour.

A colour and its opacity share one row: 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 and --*-transparency flags set the same thing the other way up, as how much of the chart shows through.

Row Choices Default
Colour A palette name, or a custom colour, and its Opacity The next free colour of the sequence, at 100%
Thickness No line, 1, 1.5, 2.5, 4 px 1.5 px
Line style Solid, Dashed, Dotted Solid

A MACD’s signal line and a stochastic’s %D have a second colour row, and a line style row under it. Left alone, the colour is a contrasting one from the theme, its opacity and line style the first line’s.

Indicators on a chart on a template

On a chart that is on a template, every change to its indicators changes the template, and every chart on it: the Indicators page, every indicator’s settings, the legend’s eye and bin, a strip’s corner controls and the CLI alike (How a chart on a template behaves). To give one chart a set of its own, make a template from it: right-click the chart › Template › Create new template from chart….

Reset periods

The VWAP, the volume profile, the market profile and the cumulative delta start over at the beginning of each period, chosen with Reset every in their settings. A cumulative delta can also be set to Never, one running total over the whole chart.

Period Starts over
Session At each session’s open. A future’s session opens the evening before and counts as one period
Week On Monday
Month On the 1st
Quarter On 1 January, April, July and October
Year On 1 January

A period needs at least five bars at the chart’s resolution. One with fewer uses the finest period that has five, and the legend names it: a session VWAP becomes weekly on a daily chart and quarterly on a weekly chart. The chosen period is kept, and comes back on a finer resolution. A period the chart is too coarse for cannot be picked: in the indicator’s menu and in Reset every it is greyed, pointing at it says why, and the period in use is the one shown. In a template’s settings every period can be picked, since the template’s charts can be at any resolution.

See also