Skip to main content
Hyperprop Script lets you build your own indicators for the Hyperprop terminal charts. A script is plain JavaScript, not Pine Script. It declares its settings at the top level and defines one function, 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

  1. In the web terminal, open Indicators → My scripts → Create script.
  2. Paste or write your script.
  3. Choose Overlay (drawn over price) or Separate pane (its own pane below price, with its own value scale).
  4. Click Save & add to chart.
Compile and runtime errors appear as a red message inside the pane. They never break the chart. Fix the script and save again. Your scripts sync to your other devices, including the mobile app.

Your first script

This script plots a moving average of the close in an overlay pane:
The settings dialog is generated from the 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.