Skip to main content

Overview

This page documents 26 operators (role: INDICATOR).

Quick Reference


HT_DCPERIOD

Hilbert Transform - Dominant Cycle Period indicator. Returns the dominant cycle period of the price data. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/hilbert.py

HT_DCPHASE

Hilbert Transform - Dominant Cycle Phase indicator. Returns the phase of the dominant cycle. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/hilbert.py

HT_TRENDLINE

Hilbert Transform - Instantaneous Trendline indicator. Returns the trendline component of the price. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/hilbert.py

HT_TRENDMODE

Hilbert Transform - Trend vs Cycle Mode indicator. Returns 1 for trend mode, 0 for cycle mode. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/hilbert.py

HT_SINE

Hilbert Transform - SineWave indicator. Returns the sine or lead sine of the dominant cycle. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/hilbert.py

HT_PHASOR

Hilbert Transform - Phasor Components indicator. Returns the in-phase or quadrature component. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/hilbert.py

MAX

Highest value over a specified period. Example: op = MAX(Input(“FIELD:close”, timeframe=“1m”, lookback=30), period=30) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

MAXINDEX

Index of highest value over a specified period. Example: op = MAXINDEX(Input(“FIELD:close”, timeframe=“1m”, lookback=30), period=30) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

MIN

Lowest value over a specified period. Example: op = MIN(Input(“FIELD:close”, timeframe=“1m”, lookback=30), period=30) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

MININDEX

Index of lowest value over a specified period. Example: op = MININDEX(Input(“FIELD:close”, timeframe=“1m”, lookback=30), period=30) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

MIDPOINT

MidPoint over period: (highest + lowest) / 2. Example: op = MIDPOINT(Input(“FIELD:close”, timeframe=“1m”, lookback=30), period=30) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

MIDPRICE

Midpoint Price over period: (highest high + lowest low) / 2. Example: op = MIDPRICE( Input(“FIELD:high”, timeframe=“1m”, lookback=14), Input(“FIELD:low”, timeframe=“1m”, lookback=14), period=14, ) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

MINMAX

Lowest and highest values over a specified period. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

MINMAXINDEX

Indices of lowest and highest values over a specified period. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/minmax.py

AVGPRICE

Average Price indicator. AVGPRICE = (Open + High + Low + Close) / 4 Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/price.py

MEDPRICE

Median Price indicator. MEDPRICE = (High + Low) / 2 Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/price.py

TYPPRICE

Typical Price indicator. TYPPRICE = (High + Low + Close) / 3 Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/price.py

WCLPRICE

Weighted Close Price indicator. WCLPRICE = (High + Low + Close * 2) / 4 Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/price.py

LINEARREG

Linear Regression indicator. Returns the linear regression value at the end of the period. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

LINEARREG_SLOPE

Linear Regression Slope indicator. Example: op = LINEARREG_SLOPE(Input(“FIELD:close”, timeframe=“1m”, lookback=14), period=14) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

LINEARREG_INTERCEPT

Linear Regression Intercept indicator. Example: op = LINEARREG_INTERCEPT(Input(“FIELD:close”, timeframe=“1m”, lookback=14), period=14) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

LINEARREG_ANGLE

Linear Regression Angle indicator (in degrees). Example: op = LINEARREG_ANGLE(Input(“FIELD:close”, timeframe=“1m”, lookback=14), period=14) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

TSF

Time Series Forecast indicator. TSF = LINEARREG + LINEARREG_SLOPE Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

CORREL

Pearson’s Correlation Coefficient indicator. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

BETA

Beta indicator - measures volatility relative to market. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

SUM

Summation over a period. Example: op = SUM(Input(“FIELD:close”, timeframe=“1m”, lookback=14), period=14) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

Full compute() implementation — no hidden logic.
Source: apps/trading/operators/indicator/stats.py

Operator Protocol

How operators implement the compute() interface

StatefulGraph

How operators compose into a DAG