Skip to main content

Overview

This page documents 6 operators (role: INDICATOR).

Quick Reference


ATR

Average True Range indicator. ATR measures market volatility. True Range = max(High - Low, |High - PrevClose|, |Low - PrevClose|) ATR = Smoothed average of True Range Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

NATR

Normalized Average True Range indicator. NATR = (ATR / Close) * 100 This makes ATR comparable across different price levels. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

TRANGE

True Range indicator. True Range = max(High - Low, |High - PrevClose|, |Low - PrevClose|) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

BBANDS

Bollinger Bands indicator. Bollinger Bands consist of a middle band (SMA) and upper/lower bands at standard deviation distances from the middle. Upper Band = SMA + (num_std * StdDev) Middle Band = SMA Lower Band = SMA - (num_std * StdDev) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

STDDEV

Standard Deviation indicator. Measures the dispersion of a dataset from its mean. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

VAR

Variance indicator. Measures the squared dispersion of a dataset from its mean. Variance = StdDev^2 Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

Operator Protocol

How operators implement the compute() interface

StatefulGraph

How operators compose into a DAG