ScriptingScripting on GoCharting

Scripting on GoCharting

Lipi is GoCharting’s own scripting language. You use it to put your own calculations on a chart.

What a script can and cannot produce

Lipi produces chart indicators. It has no order-placement surface, no strategy construct, and no way to request another symbol’s data. A script reads the chart it is running on and draws on that chart.

That is the whole scope. If you need one of those three things, Lipi is not where you will find it.

The vocabulary is small

Six names recur throughout the published community scripts: indicator, color, plot, input, close and true. A reader who knows those six can read most of the library.

Two of them are enough for a complete script. A script declares itself with indicator() and puts a value on the chart with plot(). Those two calls are the smallest complete script you can write:

indicator("Closing price")
plot(close)

Where to start

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade