Skip to main content

Overview

This page documents 17 operators (role: INDICATOR).

Quick Reference


APO

Absolute Price Oscillator indicator. APO is the difference between a fast and slow exponential moving average. APO = EMA(fast) - EMA(slow) Positive values indicate upward momentum, negative values indicate downward. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

BOP

Balance of Power indicator. BOP measures the strength of buyers vs sellers by assessing the ability of each to push price to extreme levels. BOP = (Close - Open) / (High - Low) Values range from -1 to +1. Positive = buyers in control, Negative = sellers in control. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

CMO

Chande Momentum Oscillator indicator. CMO is a modified RSI that measures momentum. CMO = ((Sum of gains - Sum of losses) / (Sum of gains + Sum of losses)) * 100 Values range from -100 to +100. Above 50 indicates overbought, below -50 indicates oversold. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

MACD

Moving Average Convergence/Divergence indicator. MACD shows the relationship between two EMAs of a security’s price. MACD Line = EMA(fast) - EMA(slow) Signal Line = EMA(MACD Line, signal_period) Histogram = MACD Line - Signal Line Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

MOM

Momentum indicator. Momentum measures the rate of change of a security’s price. MOM = Price_today - Price_n_periods_ago Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

PPO

Percentage Price Oscillator indicator. PPO is similar to MACD but expressed as a percentage. PPO = ((EMA(fast) - EMA(slow)) / EMA(slow)) * 100 This makes it easier to compare across different price levels. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

ROC

Rate of Change indicator. ROC = ((Price_today - Price_n_periods_ago) / Price_n_periods_ago) * 100 Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

ROCP

Rate of Change Percentage indicator. ROCP = (Price_today - Price_n_periods_ago) / Price_n_periods_ago Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

ROCR

Rate of Change Ratio indicator. ROCR = Price_today / Price_n_periods_ago Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

ROCR100

Rate of Change Ratio 100 scale indicator. ROCR100 = (Price_today / Price_n_periods_ago) * 100 Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

RSI

Relative Strength Index indicator. RSI measures the magnitude of recent price changes to evaluate overbought or oversold conditions. RSI = 100 - (100 / (1 + RS)) where RS = Average Gain / Average Loss over the period Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

STOCH

Stochastic Oscillator indicator. Stochastic measures the close position relative to the high-low range. %K = ((Close - Lowest Low) / (Highest High - Lowest Low)) * 100 %D = SMA(%K, slowd_period) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

STOCHF

Stochastic Fast indicator. Fast Stochastic returns raw %K without smoothing. %K = ((Close - Lowest Low) / (Highest High - Lowest Low)) * 100 %D = SMA(%K, fastd_period) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

STOCHRSI

Stochastic RSI indicator. StochRSI applies the Stochastic formula to RSI values instead of prices. StochRSI = (RSI - Lowest RSI) / (Highest RSI - Lowest RSI) Values range from 0 to 1 (or 0 to 100 when multiplied). Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

TRIX

TRIX - 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA. TRIX = 100 * (EMA3_today - EMA3_yesterday) / EMA3_yesterday where EMA3 = EMA(EMA(EMA(price))) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

ULTOSC

Ultimate Oscillator indicator. The Ultimate Oscillator uses weighted averages of three different periods to reduce volatility and false trading signals. UO = 100 * [(4 * Avg7) + (2 * Avg14) + Avg28] / (4 + 2 + 1) where Avg = Sum(BP) / Sum(TR) BP (Buying Pressure) = Close - Min(Low, PrevClose) TR (True Range) = Max(High, PrevClose) - Min(Low, PrevClose) Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

WILLR

Williams %R indicator. Williams %R is a momentum indicator that measures overbought/oversold levels. %R = ((Highest High - Close) / (Highest High - Lowest Low)) * -100 Values range from -100 to 0. -20 to 0 = overbought, -100 to -80 = oversold. Role: INDICATOR | Ephemeral: No

Parameters

Usage

Source Code

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

Operator Protocol

How operators implement the compute() interface

StatefulGraph

How operators compose into a DAG