Docs

ITMScript

Overview

A declarative study language over chart bars and declared series. Write a study, run it on a chart and look up every operator.

A study is a short script that turns bars into lines, bands, markers and alerts. It is declarative. You state what each value is, and the chart works it out on every bar. The same script on the same bars gives the same result.

What you can write

  • Inputs a reader can change, such as a length, a source or a colour.
  • Calculations over open, high, low, close and volume.
  • Moving averages, oscillators, bands, volume measures and statistics from the operator reference.
  • Series from other symbols, declared once and read like the chart's own.
  • Plots, levels, filled zones, markers and alerts. A line or a marker may change colour from bar to bar.

A study runs inside fixed limits. A study over a limit is refused, and the message names the limit.

Custom study is marked Experimental in the chart because the language is still growing.

Where to go