ProRealCode Studio is on its way. As soon as it is published, this button will take you straight to its Chrome Web Store page.
Everything in Studio starts from the editor under your chart. This chapter names its parts once, so that the rest of the guide can simply say “the rail” or “the status bar”.
1
2
3
4
5
| On the tab bar | Means |
|---|---|
| × on a tab | Closes the tab. The code stays on the chart, and a saved code stays in your codes. |
| + | A new, empty code in a new tab. What is on the chart stays. |
| A dot before a name | Edits the chart has not seen yet: click “Run” to apply them. |
| ×2 after a name | Two copies of this code are on the chart, each with its own settings. |
| 5 / 6, far right | Codes open, and the most you allow. Many open codes slow the chart; the limit is in ⚙ Preferences → Limits. |
| Icon, top to bottom | Opens | Ch. |
|---|---|---|
| Codes · folder | Your codes, the examples and the prorealcode.com library | 07 |
| Codes on the chart | What is applied and drawing right now. The badge counts them. | 12 |
| Templates | Save a group of codes applied on the chart, with their settings, and apply it later | 13 |
| Bar replay | Walk the chart forward one bar at a time, and paper-trade it | 15 |
| Strategies panel | Backtest results, and which strategies are running | 18 |
| Backtest results | The numbers of the last run, and every run of this session | 18 |
| Dashboard | Windows you build: an instrument, a timeframe, indicators | 21 |
| Console | The “>_ Console” zone under the code, for console() output | 09 |
| Alerts panel | Armed alerts and desktop notifications. The badge counts new ones. | 16 |
| Problems panel | Errors of the codes on the chart. Red badge: how many. | 09 |
| About · book | Version, help and what's new | 27 |
| prorealcode.com · blue | The Codes window, on the prorealcode.com library | 07 |
| ProRealAI · green | The ProRealAI site, in a new browser tab | — |
| Account panel | Your prorealcode.com account. Green dot: connected. | 05 |
| Preferences · gear | Editor, theme, colours, limits. Alone at the bottom. | 24 |
| Item | Does | Ch. |
|---|---|---|
| Format document | Lays the code out again, line by line. | 06 |
| Toggle // comment | Comments out the selected lines, or brings them back. | 06 |
| Toggle /* */ comment | The same, as one block. | 06 |
| Dataflow map | Opens “How this code works”, the map of what the code computes. | 10 |
| Dashboard | Opens the dashboard, like its rail icon. | 21 |
| Dock: bottom | Moves the editor to its next place. The label names where it is now. | 03 |
| Fullscreen | Gives the editor the whole height, width or window; click again to shrink it back. | 03 |
| ⟳ Re-detect chart | Links Studio to the chart again, when the status bar shows no link. | 04 |
| Place | To resize | ⋯ → “Fullscreen” |
|---|---|---|
| Bottom | Drag its top edge up or down. | The whole height; again, back to 260 px. |
| Right | Drag its left edge. | The whole width; again, back to 460 px. |
| Floating | Drag its bottom-right corner. | The whole window; again, 560 × 380 px. |
The editor holds the code, the rail opens the windows, and the status bar says whether the chart is linked, what the last computation did and whether your codes are saved. Place and size are remembered in this browser.
| Keys | Does |
|---|---|
| Alt + P | Show / hide the editor |
| Alt + I | Codes on the chart |
No. A tab is only the code open in the editor. The indicator stays on the chart; “Codes on the chart” removes it (chapter 12).
Move it: ⋯ → “Dock: bottom” sends it to the right, then floating. Or drag its edge to make it smaller.
The cursor is in a text field, maybe the editor. Click the chart, then press the keys again.
Only one panel shows at a time. Click its rail icon again: Strategies, Alerts, Problems or Account.
Chapter 04 · Linking Studio to the chart