Soon available

Not on the Chrome Web Store yet

ProRealCode Studio is on its way. As soon as it is published, this button will take you straight to its Chrome Web Store page.

Chapter 12 · Part III — On the chart

Your chart's codes, all in one window.

The “Codes on the chart” window lists every code your chart runs, copies included. Hide one, retune it, place it, take it off, without opening the editor.

  1. 01Open the window Rail, launcher or Alt + I.
  2. 02Act on one code Hide, edit, rename, duplicate, set up, remove.
  3. 03Choose where it draws On the candles or in its own panel.
  4. 04Know the limit How many codes the chart runs at once.
Spot EUR/USD in daily candles: a shaded ribbon and price labels drawn over the candles, and under the chart two panels of their own, one with a histogram and two lines, one with a single line between two horizontal levels.
Four codes on one chart. Two draw over the candles, two have a panel of their own under the chart. This capture was taken with the platform in dark mode.
Before you startAt least one code is on the chart (chapter 02). With several charts open, the rows are grouped by chart: see chapter 04.
ProRealCode StudioUser guide · Chapter 12
Task 1 · Open the window

One row per code your chart is running.

The Codes on the chart window with six rows. The first two are greyed and marked hidden. The others show a name, a line such as 3 series · 4 inputs, an orange chip in milliseconds, then an eye, a pencil, a tag, a copy icon, a sliders icon, the word Auto and a bin. At the bottom: 6 / 6 codes — at the limit, Remove all, Open the editor. 1 2 3 4 5 6 7 8
Six codes on the chart, two of them hidden.
  1. A hidden code. Greyed, marked “hidden”. It costs nothing while hidden.
  2. The name. “✎” in front: the code open in the editor now. Two copies of one code read “#1” and “#2”.
  3. The details: curves drawn (“series”) and settings (“inputs”). Settings you changed come first.
  4. The row buttons, in the column above the pin. Task 2. The chip before them is the computing time (chapter 11).
  5. Placement, in the column above: where the code draws. Task 3.
  6. The count, out of the limit. The limit was set to 6 here.
  7. “Remove all” empties this chart, and the codes kept from a closed chart, after a question.
  8. “Open the editor”, to change a code.
  1. Click the broken-line icon, second from the top of the rail on the left edge of the editor.The window opens at the top right of the screen. Drag it by its title: it reopens where you left it.
  2. With the editor closed, click the “Active” row of the ƒ launcher instead, or press Alt + I.The same window opens, and the editor stays closed. The shortcut does nothing while you are typing in a text field.
  3. Press Esc, the × at its top right, or Alt + I again.The window closes. Nothing on the chart changes.
ProRealCode StudioUser guide · Chapter 12
Task 2 · Act on one code

Seven buttons per row, one job each.

Button, left to rightIts tooltipWhat happens
Eye“hide on the chart” / “show on the chart”The code's drawings leave the chart and the row turns grey. A hidden code is not computed at all, so its alerts do not fire either (chapter 16).
Pencil“open this indicator's code in the editor”The editor opens, if it was closed, on this code's tab. The window stays open.
Tag“rename this code”A dialog asks “Rename code:”. A saved code is renamed in “My codes” too. A code you never saved only changes its tab's name; “Save” will still ask for one.
Copy“duplicate — another instance of this code, with a copy of its settings”A second copy appears, with the same settings. Retune one and the other stays: an RSI 14 and an RSI 21 side by side.
Sliders“edit this instance's inputs”Opens “⚙ Settings” for this copy only (chapter 08).
Auto“Placement: …”Where the code draws: on the candles or in its own panel. Task 3.
Bin“remove this instance from the chart”This copy leaves the chart at once, with no question. The code itself is kept: see below.

“Remove all”

Studio asks first: “Remove all 4 indicators from the chart? The code is not deleted — anything saved stays in 📁 Codes, and an open tab keeps its buffer.” Codes kept from a closed chart go too; your other charts keep theirs.

“View”, in the editor

The “View” button at the top of the editor hides or shows every copy of the current tab's code at once.

A code you never saved goes with its last copyA code saved in “My codes”, or still open in an editor tab, survives the bin. A code never saved, whose tab you closed, exists only on the chart: the bin takes it away for good. Save it first (chapter 02).
ProRealCode StudioUser guide · Chapter 12
Task 3 · Choose where it draws

On the candles or in its own panel. Auto picks, you can overrule it.

Two rows of the Codes on the chart window. On the second, the placement button reads Candles, and its tooltip says: Placement: on the candles, your choice. Click to put it in its own panel instead.
The placement button on “4 · Oscillator, histogram, alert”, set to “Candles”, with its tooltip.
Button readsWhere the code drawsNext click
AutoStudio decides. If every curve of the code stays inside the price range of the chart's bars, it draws on the candles. If one curve leaves that range, an RSI between 0 and 100 on EUR/USD for instance, the whole code gets its own panel under the chart. This is where every code starts.Candles
CandlesOn the candles, on the price scale, because you chose it.Panel
PanelIn its own panel under the chart, with its own scale, because you chose it.Auto
  1. Click the placement button on the code's row.It moves to the next state and the chart redraws the code in its new place.
  2. Click until it reads “Auto” again to hand the choice back to Studio.Your choice is kept with the code, and holds for every copy of it on the chart.

When the code decides for itself

One line in the code fixes its place, and the button then cannot change it.

DEFPARAM overlay = false   // its own panel
DEFPARAM overlay = true    // on the candles

The button shows the code's choice, greyed, and the row adds “placement fixed by DEFPARAM overlay in the code”. Its tooltip says what to do: “remove that line to choose it here”. The ProRealTime editor does not know this line; Studio marks such a code “Studio Only” (chapter 23).

ProRealCode StudioUser guide · Chapter 12
Task 4 · Know the limit

Eight codes by default. You can move that number.

Every code on the chart is computed again on each new bar. To keep the chart smooth, Studio runs at most 8 at once. Change the number in “⚙ Preferences” → “Limits” → “Maximum codes on the chart”, anywhere from 1 to 40 (chapter 24).

At the limit, the window's count reads “— at the limit”. Putting one more code on the chart then asks “Take … off to apply …?” and names the code it offers to remove: a hidden one if there is one, otherwise the oldest one whose code survives its removal. Cancel, and nothing changes.

KeysDoes
Alt + IOpen or close “Codes on the chart”
EscClose it, with the cursor inside
Chapter 12 · In short

The window lists what draws on your chart, one row per copy. Seven buttons per row show or hide a code, open it, rename it, duplicate it, set it up, place it and remove it. Saved codes survive every one of those clicks.

My oscillator draws over the candles. Why?

Its placement reads “Candles”, or its code says DEFPARAM overlay = true. Set the button to “Auto” or “Panel”.

A row shows “⚠” and a sentence instead of its details.

The code hit an error on the chart. The sentence is the error. Open the code with the pencil and see chapter 09.

I hid a code. Will its alert still ring?

No. A hidden code is not computed, so its alerts cannot fire. Show it again and they work again from the next price update.

The list is empty but I see curves on my chart.

Those are the platform's own indicators. This window lists only the codes ProRealCode Studio runs.

Next

Chapter 13 · Chart templates

Save the codes on your chart, with their settings, and put them all back in one click.

ProRealCode StudioUser guide · Chapter 12
ProRealCode ProRealCode
Loading...