Manual
The Zscript manual
Write your own chart indicators. Plain English, every example runs.
Getting started
Open the editor, paste a script, see it on your chart. Five minutes.
Anatomy of a script
The four parts every Zscript has, and the rules for spelling them.
Bars and series
The one idea behind every indicator. A value that has a history.
Types and values
Numbers, true/false, text, colors, arrays and maps.
Decisions and loops
if, switch, for, while, and how to keep loops short.
Functions
Name a piece of logic once, use it everywhere.
Inputs
Let people tune your script without touching the code.
Plots and drawings
Lines, histograms, marks, colored bars, labels, lines, boxes and tables.
Alerts
Turn a rule into a notification.
Our data
Order book, order flow, GEX levels and ZoroOptions numbers, inside your script.
Publishing and selling
Share a script in the Script Library, free or paid.
Limits
The safety rails, so one script cannot slow down your chart or anyone else's.
Errors explained
What the messages mean and how to fix them.
Error and warning codes
Every message the engine can give, in plain words.
Patterns every scripter uses
Ten small habits that make scripts shorter, faster and correct.
Build four indicators step by step
Four short projects. Each one grows in small steps, and each step runs.
Glossary
Every word used in this manual, in plain English.
Cookbook
49 working scripts to copy and change.
Education only. Not financial advice. Examples are teaching samples, not trading results.
