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 07 · Part II — Writing code

Every code you have, in one window.

The window “Codes, indicators and strategies” holds your own codes, the examples that ship with Studio and the prorealcode.com library. This chapter shows how to find a code there, sort your codes into folders, star the ones you use, and move codes in and out as files.

  1. 01The window Its four groups, and the examples.
  2. 02My codes Open, apply, rename, delete, sort.
  3. 03Folders and favourites Put order in a long list.
  4. 04Import and export Codes in and out as files.
  5. 05The prorealcode.com library Browse, preview, import.
  6. 06In short Common questions.
The left column of the Codes window: ON CHART with Active 2 and Strategies 0; PERSONAL with Favorites 7, My codes 171, Shared with me 9, Shared by me 1; BUNDLED with Examples 27; COMMUNITY with Newest, Most discussed and Title A→Z.
The left column, group by group.
Three ways inThe folder icon at the top of the rail opens the window on “My codes”. The prorealcode.com icon, lower on the rail, opens it on the library. The “Codes” row of the ƒ launcher works too, with the editor closed.
ProRealCode StudioUser guide · Chapter 07
01 · The window

Four groups, from what runs now to what others share.

The Codes, indicators and strategies window on Examples: the left column of groups, and on the right the Examples folder, the ProRealCode Script folder, and rows 1 · Your first indicator to Trend heat ribbon + regime HUD, each with a padlock, a description, a line count, a pencil and a chart icon. 1 2 3 4 5 6
The window on “Examples”.
  1. The search field. It filters the section you are in, and says so: “Filter the examples…” here, “Search prorealcode.com…” in the library.
  2. ON CHART: the codes running on the chart now (“Active”, chapter 12) and the strategies (“Strategies”, chapter 18).
  3. PERSONAL: your starred codes, your saved codes, and the codes shared privately with you or by you (chapter 22).
  4. BUNDLED: the examples, filed in a “ProRealCode Script” folder.
  5. COMMUNITY: the prorealcode.com library, by date, by number of comments or by title (section 05).
  6. The padlock. An example is read-only. “Save” copies it into your own codes. The pencil at the end of the row opens it, the chart icon puts it on the chart.
ProRealCode StudioUser guide · Chapter 07
02 · My codes

Each row opens, applies, renames or deletes one code.

The left half of a row in My codes: a star, a green dot, the name Guide – My first indicator, and under it applied ×1, the date, 37 lines and a green synced chip.
The left half of a row: the star, then the name and what is known about the code.
The right half of the same row: the pencil under the mouse pointer with its tooltip open in the editor (does not put it on the chart), then the chart, share, tag and bin icons and a folder menu reading Root.
The right half: five buttons and the folder menu. The pointer rests on the pencil.
On the rowWhat it does
StarAdds the code to “Favorites”, or takes it out (section 03).
Green dot · detailsThe dot: the code is on the chart, “applied ×1” says how many copies. Then the last save, the length, and where the code is kept (“synced”, chapter 02).
PencilOpens the code in the editor. The chart does not change.
Chart iconPuts the code on the chart. Each click adds one more copy.
Share iconShares the code privately, when your account allows it (chapter 22).
Tag · binRename: the tab and the copies on the chart follow. Delete: below.
“Root”The folder the code sits in. Pick another to move it.
  1. Click the bin, then confirm “Delete "…"?”.The code leaves your list, here and on your other computers. A copy on the chart stays there; if the code is open, the next “Save” asks for a name.
ProRealCode StudioUser guide · Chapter 07
03 · Folders and favourites

Folders sort your codes. A star keeps one at hand.

The toolbar of My codes: New folder, Import, Export and Save.
The toolbar under “My codes”. “New folder” comes first.

Folders

  1. In “My codes”, click “New folder” and type a name.Up to 40 characters. The folder appears above your loose codes.
  2. On a code's row, open the menu that reads “Root” and pick the folder.The code moves into it.
  3. On a folder's header, use the tag or the bin.The tag renames the folder. The bin removes it, and its codes go back to the root: “nothing is deleted”.

Favourites

  1. Click the star at the start of a row, in “My codes” or in the library.It fills in.
  2. Open “Favorites”, under PERSONAL.Your starred codes come first, then the starred library posts.
  3. Click a filled star to take it off.The code itself stays where it was.
FoldersFavourites
KeptWith your prorealcode.com account, when you are connected (chapter 05).With your prorealcode.com account, when you are connected (chapter 05).
On another computerThe same folders, the same codes in them.The same stars.
Deleting a codeRemoves it from its folder.Removes its star.
Deleting a folder deletes no codeIts codes go back to the root of “My codes”, on this computer and on your others.
ProRealCode StudioUser guide · Chapter 07
04 · Import and export

One file in, or every code out.

The left end of the My codes toolbar: synced · 130 updated · templates: 5 updated · favourites: 7 updated · dashboards: 1 updated.
Left of “Import” and “Export” (section 03): the last sync with your account.

What “Import” accepts

FileWhat it holdsName in My codes
.prcsOne ProRealCode Script code.The file name, without its extension.
.txt · .prtOne code, the way codes copied off prorealcode.com are usually saved.The file name, without its extension.
.jsonMany codes at once: a file made by “Export”.The names stored in the file.
  1. In “My codes”, click “Import” and pick the file.The status bar reads “imported: 2 added, 0 updated”, for instance. Imported codes land at the root, outside any folder.
  2. Click “Export”.Your browser downloads one file, prorealcode-studio-codes- followed by the date, .json. It holds every code in “My codes”.
  3. On another computer, or after reinstalling, click “Import” and pick that file.The codes come back under their own names.
An import replaces a code with the same nameIf a code in the file has the name of one of yours, capitals aside, its text replaces yours: the status bar counts it as “updated”. Rename your code first if you want to keep both.
ProRealCode StudioUser guide · Chapter 07
05 · The prorealcode.com library

The prorealcode.com library, one click from your chart.

The Codes window on COMMUNITY, Newest, Indicators: a list of library posts with thumbnails, titles, author and date, the post VWAP Price Channel selected; on the right its introduction, the Open on prorealcode button, its code with line numbers, and the buttons Import, Import and apply on my chart and Copy code. At the bottom of the list, 1303 indicators · page 1/109. 1 2 3 4 5 6 7
“Newest”, on indicators only, with one post previewed.
  1. The sort. “Newest”, “Most discussed” or “Title A→Z”: three orders for the same library.
  2. Search. Type a word; Enter searches at once.
  3. All · Indicators · Strategies. Narrow the list to one kind.
  4. A post: its picture, title, author, date and the start of its introduction. Click it to preview. Its star adds it to “Favorites”.
  5. The pages. 1,303 indicators on the day of this capture, twelve to a page.
  6. “Open on prorealcode ↗” opens the full article and its comments in a new tab.
  7. Three buttons. “Import” saves the code into “My codes”. “Import and apply on my chart” saves it and puts it on the chart. “Copy code” copies it to the clipboard.

An import never replaces one of your codes: a name already taken gets “(2)”. A post holding several codes shows “Code 1”, “Code 2” above the preview; the second one imports as “… — code 2”.

ProRealCode StudioUser guide · Chapter 07
Chapter 07 · In short

Yours, the examples, the library: one window for all three.

Your codes live in “My codes”, sorted into folders if you like, starred if you use them often. The examples are read-only: open one, change it, save it under your own name. The library brings any prorealcode.com code into your list with one click, and onto your chart with the next.

You want toClick
Read a code without touching the chartThe pencil
Put a code on the chartThe chart icon, or “Import and apply on my chart” in the library
Keep a copy of every code“Export”, under “My codes”
Bring codes from a file“Import”, under “My codes”
Sort “My codes” by name“Title”, above the list: most recent first, then A to Z, then Z to A

I deleted a code. Can I get it back?

Studio has no bin to restore it from. If you exported your codes before, import that file again: the code returns under its old name.

My folders are missing on my laptop.

Folders follow your account. Connect the laptop to the same account (chapter 05), then click “Sync now” in the Account panel.

Can I edit an example?

Yes, in its tab. “Save” then makes your own copy, under a name you choose. The example stays as it was.

A library post is not in the list.

Studio lists only the posts whose page holds a code it can import. Try a search on a word of its title.

Next

Chapter 08 · Variables and settings

Declare the settings of a code, then change them on the chart without editing a line.

ProRealCode StudioUser guide · Chapter 07
ProRealCode ProRealCode
Loading...