compute, that receives
the full bar series and returns everything to draw.
There is no per-bar execution model and no state kept between runs. compute
is a pure function of the bars, your settings and any other timeframes the
script requests.
Create a script
- In the web terminal, open Indicators → My scripts → Create script.
- Paste or write your script.
- Choose Overlay (drawn over price) or Separate pane (its own pane below price, with its own value scale).
- Click Save & add to chart.
Your first script
This script plots a moving average of the close in an overlay pane:input.* declarations. Changing a
setting re-runs compute immediately.
The script contract
compute runs again whenever new bars arrive, a setting changes, a requested
timeframe updates, or you switch symbol or timeframe.
In this section
Inputs
Settings your script exposes in the dialog.
Plots and drawings
Lines, histograms, boxes, labels, markers and background bands.
Tables
Text tables pinned to a pane corner, with cell alignment.
Chart context
Symbol, market, timeframe, tick size and point value.
Other timeframes
Read daily bars on a 1-minute chart with
request.bars.TA helpers
Moving averages, ATR, RSI, pivots, VWAP and more.
Limits
Execution budget, sandbox and caps.
Examples
Complete scripts you can paste and run.
Porting from Pine Script
Map Pine concepts to Hyperprop Script.
Using an AI assistant
These pages are the complete reference. Point your AI coding assistant at them. Every page is also available as plain Markdown by adding.md to its
URL, for example
docs.hyperprop.com/indicators/other-timeframes.md.
The index of all pages is at
docs.hyperprop.com/llms.txt.