ArchitectureStrategiesResearchWhy UsPricing
Saral Engine Formula Directory

Quantitative Indicators & Formulas

Reference directory of 160+ technical indicators, factor metrics, and mathematical transforms implemented in the Saral Engine. Every formula includes intuitive explanations, LaTeX mathematical formulation, parameter tuning guides, and visual node rule syntax for systematic strategy building.

Complete Registry

All Systematic Indicators & Mathematical Transforms

Hilbert Transform Cycle Indicators Cycle Analyzer

HT_DCPERIOD Hilbert Transform - Dominant Cycle Period

@HT_DCPERIOD(close)

Hilbert Transform - Dominant Cycle Period

Hilbert Transform Cycle Indicators Cycle Analyzer

HT_DCPHASE Hilbert Transform - Dominant Cycle Phase

@HT_DCPHASE(close)

Hilbert Transform - Dominant Cycle Phase

Hilbert Transform Cycle Indicators Cycle Analyzer

HT_PHASOR Hilbert Transform - Phasor Components

@HT_PHASOR(close)

Hilbert Transform - Phasor Components

Hilbert Transform Cycle Indicators Cycle Analyzer

HT_SINE Hilbert Transform - SineWave

@HT_SINE(close)

Hilbert Transform - SineWave

Hilbert Transform Cycle Indicators Cycle Analyzer

HT_TRENDMODE Hilbert Transform - Trend vs Cycle Mode

@HT_TRENDMODE(close)

Hilbert Transform - Trend vs Cycle Mode

Vectorized Math Operators Vector Operator

ADD Vector Arithmetic Add

@ADD(high, low)

Vector Arithmetic Add

Vectorized Math Operators Vector Operator

DIV Vector Arithmetic Div

@DIV(high, low)

Vector Arithmetic Div

Vectorized Math Operators Vector Operator

MAX Highest value over a specified period

@MAX(close, timeperiod)

Highest value over a specified period

Parameters: timeperiod=30
Vectorized Math Operators Vector Operator

MAXINDEX Index of highest value over a specified period

@MAXINDEX(close, timeperiod)

Index of highest value over a specified period

Parameters: timeperiod=30
Vectorized Math Operators Vector Operator

MIN Lowest value over a specified period

@MIN(close, timeperiod)

Lowest value over a specified period

Parameters: timeperiod=30
Vectorized Math Operators Vector Operator

MININDEX Index of lowest value over a specified period

@MININDEX(close, timeperiod)

Index of lowest value over a specified period

Parameters: timeperiod=30
Vectorized Math Operators Vector Operator

MINMAX Lowest and highest values over a specified period

@MINMAX(close, timeperiod)

Lowest and highest values over a specified period

Parameters: timeperiod=30
Vectorized Math Operators Vector Operator

MINMAXINDEX Indexes of lowest and highest values over a specified period

@MINMAXINDEX(close, timeperiod)

Indexes of lowest and highest values over a specified period

Parameters: timeperiod=30
Vectorized Math Operators Vector Operator

MULT Vector Arithmetic Mult

@MULT(high, low)

Vector Arithmetic Mult

Vectorized Math Operators Vector Operator

SUB Vector Arithmetic Subtraction

@SUB(high, low)

Vector Arithmetic Subtraction

Vectorized Math Operators Vector Operator

SUM Summation

@SUM(close, timeperiod)

Summation

Parameters: timeperiod=30
Mathematical Transforms Math Transform

ACOS Vector Trigonometric ACos

@ACOS(close)

Vector Trigonometric ACos

Mathematical Transforms Math Transform

ASIN Vector Trigonometric ASin

@ASIN(close)

Vector Trigonometric ASin

Mathematical Transforms Math Transform

ATAN Vector Trigonometric ATan

@ATAN(close)

Vector Trigonometric ATan

Mathematical Transforms Math Transform

CEIL Vector Ceil

@CEIL(close)

Vector Ceil

Mathematical Transforms Math Transform

COS Vector Trigonometric Cos

@COS(close)

Vector Trigonometric Cos

Mathematical Transforms Math Transform

COSH Vector Trigonometric Cosh

@COSH(close)

Vector Trigonometric Cosh

Mathematical Transforms Math Transform

EXP Vector Arithmetic Exp

@EXP(close)

Vector Arithmetic Exp

Mathematical Transforms Math Transform

FLOOR Vector Floor

@FLOOR(close)

Vector Floor

Mathematical Transforms Math Transform

LN Vector Log Natural

@LN(close)

Vector Log Natural

Mathematical Transforms Math Transform

LOG10 Vector Log10

@LOG10(close)

Vector Log10

Mathematical Transforms Math Transform

SIN Vector Trigonometric Sin

@SIN(close)

Vector Trigonometric Sin

Mathematical Transforms Math Transform

SINH Vector Trigonometric Sinh

@SINH(close)

Vector Trigonometric Sinh

Mathematical Transforms Math Transform

SQRT Vector Square Root

@SQRT(close)

Vector Square Root

Mathematical Transforms Math Transform

TAN Vector Trigonometric Tan

@TAN(close)

Vector Trigonometric Tan

Mathematical Transforms Math Transform

TANH Vector Trigonometric Tanh

@TANH(close)

Vector Trigonometric Tanh

Momentum Indicators Trend Strength Gauge

ADX Average Directional Movement Index

@ADX(high, low, close, timeperiod)

Measures the velocity and conviction of a trend independently of direction.

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

ADXR Average Directional Movement Index Rating

@ADXR(high, low, close, timeperiod)

Average Directional Movement Index Rating

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

APO Absolute Price Oscillator

@APO(close, fastperiod, slowperiod, matype)

Absolute Price Oscillator

Parameters: fastperiod=12slowperiod=26matype=0
Momentum Indicators Momentum Oscillator

AROON Aroon

@AROON(high, low, timeperiod)

Aroon

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

AROONOSC Aroon Oscillator

@AROONOSC(high, low, timeperiod)

Aroon Oscillator

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

BOP Balance Of Power

@BOP(open, high, low, close)

Balance Of Power

Momentum Indicators Momentum Oscillator

CCI Commodity Channel Index

@CCI(high, low, close, timeperiod)

Commodity Channel Index

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

CMO Chande Momentum Oscillator

@CMO(close, timeperiod)

Chande Momentum Oscillator

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

DX Directional Movement Index

@DX(high, low, close, timeperiod)

Directional Movement Index

Parameters: timeperiod=14
Momentum Indicators Trend & Momentum Indicator

MACD Moving Average Convergence/Divergence

@MACD(close, fastperiod, slowperiod, signalperiod)

Trend-following momentum oscillator displaying the relationship between two exponential moving averages.

Parameters: fastperiod=12slowperiod=26signalperiod=9
Momentum Indicators Momentum Oscillator

MACDEXT MACD with controllable MA type

@MACDEXT(close, fastperiod, fastmatype, slowperiod, slowmatype, signalperiod, signalmatype)

MACD with controllable MA type

Parameters: fastperiod=12fastmatype=0slowperiod=26slowmatype=0signalperiod=9signalmatype=0
Momentum Indicators Momentum Oscillator

MACDFIX Moving Average Convergence/Divergence Fix 12/26

@MACDFIX(close, signalperiod)

Moving Average Convergence/Divergence Fix 12/26

Parameters: signalperiod=9
Momentum Indicators Momentum Oscillator

MFI Money Flow Index

@MFI(high, low, close, volume, timeperiod)

Money Flow Index

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

MINUS_DI Minus Directional Indicator

@MINUS_DI(high, low, close, timeperiod)

Minus Directional Indicator

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

MINUS_DM Minus Directional Movement

@MINUS_DM(high, low, timeperiod)

Minus Directional Movement

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

MOM Momentum

@MOM(close, timeperiod)

Momentum

Parameters: timeperiod=10
Momentum Indicators Momentum Oscillator

PLUS_DI Plus Directional Indicator

@PLUS_DI(high, low, close, timeperiod)

Plus Directional Indicator

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

PLUS_DM Plus Directional Movement

@PLUS_DM(high, low, timeperiod)

Plus Directional Movement

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

PPO Percentage Price Oscillator

@PPO(close, fastperiod, slowperiod, matype)

Percentage Price Oscillator

Parameters: fastperiod=12slowperiod=26matype=0
Momentum Indicators Momentum Oscillator

ROC Rate of Change

@ROC(close, timeperiod)

Rate of change : ((price/prevPrice)-1)*100

Parameters: timeperiod=10
Momentum Indicators Momentum Oscillator

ROCP Rate of change Percentage: (price-prevPrice)/prevPrice

@ROCP(close, timeperiod)

Rate of change Percentage: (price-prevPrice)/prevPrice

Parameters: timeperiod=10
Momentum Indicators Momentum Oscillator

ROCR Rate of change ratio: (price/prevPrice)

@ROCR(close, timeperiod)

Rate of change ratio: (price/prevPrice)

Parameters: timeperiod=10
Momentum Indicators Momentum Oscillator

ROCR100 Rate of change ratio 100 scale: (price/prevPrice)*100

@ROCR100(close, timeperiod)

Rate of change ratio 100 scale: (price/prevPrice)*100

Parameters: timeperiod=10
Momentum Indicators Momentum Oscillator

RSI Relative Strength Index

@RSI(close, timeperiod)

Bounded momentum oscillator (0 to 100) comparing the magnitude of recent gains to recent losses.

Parameters: timeperiod=14
Momentum Indicators Momentum Oscillator

STOCH Stochastic

@STOCH(high, low, close, fastk_period, slowk_period, slowk_matype, slowd_period, slowd_matype)

Stochastic

Parameters: fastk_period=5slowk_period=3slowk_matype=0slowd_period=3slowd_matype=0
Momentum Indicators Momentum Oscillator

STOCHF Stochastic Fast

@STOCHF(high, low, close, fastk_period, fastd_period, fastd_matype)

Stochastic Fast

Parameters: fastk_period=5fastd_period=3fastd_matype=0
Momentum Indicators Momentum Oscillator

STOCHRSI Stochastic Relative Strength Index

@STOCHRSI(close, timeperiod, fastk_period, fastd_period, fastd_matype)

Stochastic Relative Strength Index

Parameters: timeperiod=14fastk_period=5fastd_period=3fastd_matype=0
Momentum Indicators Momentum Oscillator

TRIX 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA

@TRIX(close, timeperiod)

1-day Rate-Of-Change (ROC) of a Triple Smooth EMA

Parameters: timeperiod=30
Momentum Indicators Momentum Oscillator

ULTOSC Ultimate Oscillator

@ULTOSC(high, low, close, timeperiod1, timeperiod2, timeperiod3)

Ultimate Oscillator

Parameters: timeperiod1=7timeperiod2=14timeperiod3=28
Momentum Indicators Momentum Oscillator

WILLR Williams' %R

@WILLR(high, low, close, timeperiod)

Williams' %R

Parameters: timeperiod=14
Overlap Studies & Moving Averages Volatility Envelope

BBANDS Bollinger Bands

@BBANDS(close, timeperiod, nbdevup, nbdevdn, matype)

Dynamic volatility envelope plotting upper and lower standard deviation bands around a moving average.

Parameters: timeperiod=5nbdevup=2nbdevdn=2matype=0
Overlap Studies & Moving Averages Trend & Moving Average

DEMA Double Exponential Moving Average

@DEMA(close, timeperiod)

Double Exponential Moving Average

Parameters: timeperiod=30
Overlap Studies & Moving Averages Trend & Moving Average

EMA Exponential Moving Average

@EMA(close, timeperiod)

Exponential Moving Average

Parameters: timeperiod=30
Overlap Studies & Moving Averages Trend & Moving Average

HT_TRENDLINE Hilbert Transform - Instantaneous Trendline

@HT_TRENDLINE(close)

Hilbert Transform - Instantaneous Trendline

Overlap Studies & Moving Averages Trend & Moving Average

KAMA Kaufman Adaptive Moving Average

@KAMA(close, timeperiod)

Kaufman Adaptive Moving Average

Parameters: timeperiod=30
Overlap Studies & Moving Averages Trend & Moving Average

MA Moving average

@MA(close, timeperiod, matype)

Moving average

Parameters: timeperiod=30matype=0
Overlap Studies & Moving Averages Trend & Moving Average

MAMA MESA Adaptive Moving Average

@MAMA(close, fastlimit, slowlimit)

MESA Adaptive Moving Average

Parameters: fastlimit=0.5slowlimit=0.05
Overlap Studies & Moving Averages Trend & Moving Average

MAVP Moving average with variable period

@MAVP(close, periods, minperiod, maxperiod, matype)

Moving average with variable period

Parameters: minperiod=2maxperiod=30matype=0
Overlap Studies & Moving Averages Trend & Moving Average

MIDPOINT MidPoint over period

@MIDPOINT(close, timeperiod)

MidPoint over period

Parameters: timeperiod=14
Overlap Studies & Moving Averages Trend & Moving Average

MIDPRICE Midpoint Price over period

@MIDPRICE(high, low, timeperiod)

Midpoint Price over period

Parameters: timeperiod=14
Overlap Studies & Moving Averages Trend & Moving Average

SAR Parabolic SAR

@SAR(high, low, acceleration, maximum)

Parabolic SAR

Parameters: acceleration=0.02maximum=0.2
Overlap Studies & Moving Averages Trend & Moving Average

SAREXT Parabolic SAR - Extended

@SAREXT(high, low, startvalue, offsetonreverse, accelerationinitlong, accelerationlong, accelerationmaxlong, accelerationinitshort, accelerationshort, accelerationmaxshort)

Parabolic SAR - Extended

Parameters: startvalue=0offsetonreverse=0accelerationinitlong=0.02accelerationlong=0.02accelerationmaxlong=0.2accelerationinitshort=0.02accelerationshort=0.02accelerationmaxshort=0.2
Overlap Studies & Moving Averages Trend & Moving Average

SMA Simple Moving Average

@SMA(close, timeperiod)

Simple Moving Average

Parameters: timeperiod=30
Overlap Studies & Moving Averages Trend & Moving Average

T3 Triple Exponential Moving Average (T3)

@T3(close, timeperiod, vfactor)

Triple Exponential Moving Average (T3)

Parameters: timeperiod=5vfactor=0.7
Overlap Studies & Moving Averages Trend & Moving Average

TEMA Triple Exponential Moving Average

@TEMA(close, timeperiod)

Triple Exponential Moving Average

Parameters: timeperiod=30
Overlap Studies & Moving Averages Trend & Moving Average

TRIMA Triangular Moving Average

@TRIMA(close, timeperiod)

Triangular Moving Average

Parameters: timeperiod=30
Overlap Studies & Moving Averages Trend & Moving Average

WMA Weighted Moving Average

@WMA(close, timeperiod)

Weighted Moving Average

Parameters: timeperiod=30
Candlestick Pattern Recognition Price Action Pattern

CDL2CROWS Two Crows

@CDL2CROWS(open, high, low, close)

Two Crows

Candlestick Pattern Recognition Price Action Pattern

CDL3BLACKCROWS Three Black Crows

@CDL3BLACKCROWS(open, high, low, close)

Three Black Crows

Candlestick Pattern Recognition Price Action Pattern

CDL3INSIDE Three Inside Up/Down

@CDL3INSIDE(open, high, low, close)

Three Inside Up/Down

Candlestick Pattern Recognition Price Action Pattern

CDL3LINESTRIKE Three-Line Strike

@CDL3LINESTRIKE(open, high, low, close)

Three-Line Strike

Candlestick Pattern Recognition Price Action Pattern

CDL3OUTSIDE Three Outside Up/Down

@CDL3OUTSIDE(open, high, low, close)

Three Outside Up/Down

Candlestick Pattern Recognition Price Action Pattern

CDL3STARSINSOUTH Three Stars In The South

@CDL3STARSINSOUTH(open, high, low, close)

Three Stars In The South

Candlestick Pattern Recognition Price Action Pattern

CDL3WHITESOLDIERS Three Advancing White Soldiers

@CDL3WHITESOLDIERS(open, high, low, close)

Three Advancing White Soldiers

Candlestick Pattern Recognition Price Action Pattern

CDLABANDONEDBABY Abandoned Baby

@CDLABANDONEDBABY(open, high, low, close, penetration)

Abandoned Baby

Parameters: penetration=0.3
Candlestick Pattern Recognition Price Action Pattern

CDLADVANCEBLOCK Advance Block

@CDLADVANCEBLOCK(open, high, low, close)

Advance Block

Candlestick Pattern Recognition Price Action Pattern

CDLBELTHOLD Belt-hold

@CDLBELTHOLD(open, high, low, close)

Belt-hold

Candlestick Pattern Recognition Price Action Pattern

CDLBREAKAWAY Breakaway

@CDLBREAKAWAY(open, high, low, close)

Breakaway

Candlestick Pattern Recognition Price Action Pattern

CDLCLOSINGMARUBOZU Closing Marubozu

@CDLCLOSINGMARUBOZU(open, high, low, close)

Closing Marubozu

Candlestick Pattern Recognition Price Action Pattern

CDLCONCEALBABYSWALL Concealing Baby Swallow

@CDLCONCEALBABYSWALL(open, high, low, close)

Concealing Baby Swallow

Candlestick Pattern Recognition Price Action Pattern

CDLCOUNTERATTACK Counterattack

@CDLCOUNTERATTACK(open, high, low, close)

Counterattack

Candlestick Pattern Recognition Price Action Pattern

CDLDARKCLOUDCOVER Dark Cloud Cover

@CDLDARKCLOUDCOVER(open, high, low, close, penetration)

Dark Cloud Cover

Parameters: penetration=0.5
Candlestick Pattern Recognition Price Action Pattern

CDLDOJI Doji

@CDLDOJI(open, high, low, close)

Doji

Candlestick Pattern Recognition Price Action Pattern

CDLDOJISTAR Doji Star

@CDLDOJISTAR(open, high, low, close)

Doji Star

Candlestick Pattern Recognition Price Action Pattern

CDLDRAGONFLYDOJI Dragonfly Doji

@CDLDRAGONFLYDOJI(open, high, low, close)

Dragonfly Doji

Candlestick Pattern Recognition Price Action Pattern

CDLENGULFING Engulfing

@CDLENGULFING(open, high, low, close)

Engulfing Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLEVENINGDOJISTAR Evening Doji Star

@CDLEVENINGDOJISTAR(open, high, low, close, penetration)

Evening Doji Star

Parameters: penetration=0.3
Candlestick Pattern Recognition Price Action Pattern

CDLEVENINGSTAR Evening Star

@CDLEVENINGSTAR(open, high, low, close, penetration)

Evening Star

Parameters: penetration=0.3
Candlestick Pattern Recognition Price Action Pattern

CDLGAPSIDESIDEWHITE Up/Down-gap side-by-side white lines

@CDLGAPSIDESIDEWHITE(open, high, low, close)

Up/Down-gap side-by-side white lines

Candlestick Pattern Recognition Price Action Pattern

CDLGRAVESTONEDOJI Gravestone Doji

@CDLGRAVESTONEDOJI(open, high, low, close)

Gravestone Doji

Candlestick Pattern Recognition Price Action Pattern

CDLHAMMER Hammer

@CDLHAMMER(open, high, low, close)

Hammer

Candlestick Pattern Recognition Price Action Pattern

CDLHANGINGMAN Hanging Man

@CDLHANGINGMAN(open, high, low, close)

Hanging Man

Candlestick Pattern Recognition Price Action Pattern

CDLHARAMI Harami

@CDLHARAMI(open, high, low, close)

Harami Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLHARAMICROSS Harami Cross

@CDLHARAMICROSS(open, high, low, close)

Harami Cross Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLHIGHWAVE High-Wave Candle

@CDLHIGHWAVE(open, high, low, close)

High-Wave Candle

Candlestick Pattern Recognition Price Action Pattern

CDLHIKKAKE Hikkake

@CDLHIKKAKE(open, high, low, close)

Hikkake Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLHIKKAKEMOD Modified Hikkake

@CDLHIKKAKEMOD(open, high, low, close)

Modified Hikkake Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLHOMINGPIGEON Homing Pigeon

@CDLHOMINGPIGEON(open, high, low, close)

Homing Pigeon

Candlestick Pattern Recognition Price Action Pattern

CDLIDENTICAL3CROWS Identical Three Crows

@CDLIDENTICAL3CROWS(open, high, low, close)

Identical Three Crows

Candlestick Pattern Recognition Price Action Pattern

CDLINNECK In-Neck

@CDLINNECK(open, high, low, close)

In-Neck Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLINVERTEDHAMMER Inverted Hammer

@CDLINVERTEDHAMMER(open, high, low, close)

Inverted Hammer

Candlestick Pattern Recognition Price Action Pattern

CDLKICKING Kicking

@CDLKICKING(open, high, low, close)

Kicking

Candlestick Pattern Recognition Price Action Pattern

CDLKICKINGBYLENGTH Kicking - bull/bear determined by the longer marubozu

@CDLKICKINGBYLENGTH(open, high, low, close)

Kicking - bull/bear determined by the longer marubozu

Candlestick Pattern Recognition Price Action Pattern

CDLLADDERBOTTOM Ladder Bottom

@CDLLADDERBOTTOM(open, high, low, close)

Ladder Bottom

Candlestick Pattern Recognition Price Action Pattern

CDLLONGLEGGEDDOJI Long Legged Doji

@CDLLONGLEGGEDDOJI(open, high, low, close)

Long Legged Doji

Candlestick Pattern Recognition Price Action Pattern

CDLLONGLINE Long Line Candle

@CDLLONGLINE(open, high, low, close)

Long Line Candle

Candlestick Pattern Recognition Price Action Pattern

CDLMARUBOZU Marubozu

@CDLMARUBOZU(open, high, low, close)

Marubozu

Candlestick Pattern Recognition Price Action Pattern

CDLMATCHINGLOW Matching Low

@CDLMATCHINGLOW(open, high, low, close)

Matching Low

Candlestick Pattern Recognition Price Action Pattern

CDLMATHOLD Mat Hold

@CDLMATHOLD(open, high, low, close, penetration)

Mat Hold

Parameters: penetration=0.5
Candlestick Pattern Recognition Price Action Pattern

CDLMORNINGDOJISTAR Morning Doji Star

@CDLMORNINGDOJISTAR(open, high, low, close, penetration)

Morning Doji Star

Parameters: penetration=0.3
Candlestick Pattern Recognition Price Action Pattern

CDLMORNINGSTAR Morning Star

@CDLMORNINGSTAR(open, high, low, close, penetration)

Morning Star

Parameters: penetration=0.3
Candlestick Pattern Recognition Price Action Pattern

CDLONNECK On-Neck

@CDLONNECK(open, high, low, close)

On-Neck Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLPIERCING Piercing

@CDLPIERCING(open, high, low, close)

Piercing Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLRICKSHAWMAN Rickshaw Man

@CDLRICKSHAWMAN(open, high, low, close)

Rickshaw Man

Candlestick Pattern Recognition Price Action Pattern

CDLRISEFALL3METHODS Rising/Falling Three Methods

@CDLRISEFALL3METHODS(open, high, low, close)

Rising/Falling Three Methods

Candlestick Pattern Recognition Price Action Pattern

CDLSEPARATINGLINES Separating Lines

@CDLSEPARATINGLINES(open, high, low, close)

Separating Lines

Candlestick Pattern Recognition Price Action Pattern

CDLSHOOTINGSTAR Shooting Star

@CDLSHOOTINGSTAR(open, high, low, close)

Shooting Star

Candlestick Pattern Recognition Price Action Pattern

CDLSHORTLINE Short Line Candle

@CDLSHORTLINE(open, high, low, close)

Short Line Candle

Candlestick Pattern Recognition Price Action Pattern

CDLSPINNINGTOP Spinning Top

@CDLSPINNINGTOP(open, high, low, close)

Spinning Top

Candlestick Pattern Recognition Price Action Pattern

CDLSTALLEDPATTERN Stalled

@CDLSTALLEDPATTERN(open, high, low, close)

Stalled Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLSTICKSANDWICH Stick Sandwich

@CDLSTICKSANDWICH(open, high, low, close)

Stick Sandwich

Candlestick Pattern Recognition Price Action Pattern

CDLTAKURI Takuri (Dragonfly Doji with very long lower shadow)

@CDLTAKURI(open, high, low, close)

Takuri (Dragonfly Doji with very long lower shadow)

Candlestick Pattern Recognition Price Action Pattern

CDLTASUKIGAP Tasuki Gap

@CDLTASUKIGAP(open, high, low, close)

Tasuki Gap

Candlestick Pattern Recognition Price Action Pattern

CDLTHRUSTING Thrusting

@CDLTHRUSTING(open, high, low, close)

Thrusting Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLTRISTAR Tristar

@CDLTRISTAR(open, high, low, close)

Tristar Pattern

Candlestick Pattern Recognition Price Action Pattern

CDLUNIQUE3RIVER Unique 3 River

@CDLUNIQUE3RIVER(open, high, low, close)

Unique 3 River

Candlestick Pattern Recognition Price Action Pattern

CDLUPSIDEGAP2CROWS Upside Gap Two Crows

@CDLUPSIDEGAP2CROWS(open, high, low, close)

Upside Gap Two Crows

Candlestick Pattern Recognition Price Action Pattern

CDLXSIDEGAP3METHODS Upside/Downside Gap Three Methods

@CDLXSIDEGAP3METHODS(open, high, low, close)

Upside/Downside Gap Three Methods

Price Transform Functions Synthetic Price Bar

AVGPRICE Average Price

@AVGPRICE(open, high, low, close)

Average Price

Price Transform Functions Synthetic Price Bar

MEDPRICE Median Price

@MEDPRICE(high, low)

Median Price

Price Transform Functions Synthetic Price Bar

TYPPRICE Typical Price

@TYPPRICE(high, low, close)

Typical Price

Price Transform Functions Synthetic Price Bar

WCLPRICE Weighted Close Price

@WCLPRICE(high, low, close)

Weighted Close Price

Statistic Functions Statistical Transform

BETA Beta

@BETA(high, low, timeperiod)

Beta

Parameters: timeperiod=5
Statistic Functions Statistical Transform

CORREL Pearson's Correlation Coefficient (r)

@CORREL(high, low, timeperiod)

Pearson's Correlation Coefficient (r)

Parameters: timeperiod=30
Statistic Functions Statistical Transform

LINEARREG Linear Regression

@LINEARREG(close, timeperiod)

Linear Regression

Parameters: timeperiod=14
Statistic Functions Statistical Transform

LINEARREG_ANGLE Linear Regression Angle

@LINEARREG_ANGLE(close, timeperiod)

Linear Regression Angle

Parameters: timeperiod=14
Statistic Functions Statistical Transform

LINEARREG_INTERCEPT Linear Regression Intercept

@LINEARREG_INTERCEPT(close, timeperiod)

Linear Regression Intercept

Parameters: timeperiod=14
Statistic Functions Statistical Transform

LINEARREG_SLOPE Linear Regression Slope

@LINEARREG_SLOPE(close, timeperiod)

Linear Regression Slope

Parameters: timeperiod=14
Statistic Functions Statistical Transform

STDDEV Standard Deviation

@STDDEV(close, timeperiod, nbdev)

Standard Deviation

Parameters: timeperiod=5nbdev=1
Statistic Functions Statistical Transform

TSF Time Series Forecast

@TSF(close, timeperiod)

Time Series Forecast

Parameters: timeperiod=14
Statistic Functions Statistical Transform

VAR Variance

@VAR(close, timeperiod, nbdev)

Variance

Parameters: timeperiod=5nbdev=1
Volatility Indicators Volatility & Stop-Loss Metric

ATR Average True Range

@ATR(high, low, close, timeperiod)

Wilder-smoothed measure of daily price expansion that explicitly incorporates overnight gaps.

Parameters: timeperiod=14
Volatility Indicators Volatility Metric

NATR Normalized Average True Range

@NATR(high, low, close, timeperiod)

Normalized Average True Range

Parameters: timeperiod=14
Volatility Indicators Volatility Metric

TRANGE True Range

@TRANGE(high, low, close)

True Range

Volume Indicators Volume Flow

AD Chaikin A/D Line

@AD(high, low, close, volume)

Chaikin A/D Line

Volume Indicators Volume Flow

ADOSC Chaikin A/D Oscillator

@ADOSC(high, low, close, volume, fastperiod, slowperiod)

Chaikin A/D Oscillator

Parameters: fastperiod=3slowperiod=10
Volume Indicators Volume Accumulation Indicator

OBV On Balance Volume

@OBV(close, volume)

Running cumulative volume total adding volume on up-days and subtracting volume on down-days.

Custom & Factor Metrics Robust Central Tendency

MEDIAN Rolling Median

@MEDIAN(field, timeperiod)

Calculates the rolling non-parametric median (50th percentile) over a specified time window.

Parameters: timeperiod=30
Custom & Factor Metrics Time Series Lag Operator

shift Lag / Shift Operator

@shift(field, timeperiod)

Shifts a time series by N periods to reference prior historical data point-in-time.

Parameters: timeperiod
Custom & Factor Metrics Proprietary Factor Metric

lag Universal historical lookback across multi-cadence fields (annual/quarterly fundamentals, macro, monthly flows, or daily prices) by N reporting periods without filing drift

@lag(field, timeperiod)

Universal historical lookback across multi-cadence fields (annual/quarterly fundamentals, macro, monthly flows, or daily prices) by N reporting periods without filing drift

Parameters: timeperiod=1
Custom & Factor Metrics Risk-Adjusted Return Metric

sharpe_ratio Annualized Rolling Sharpe Ratio

@sharpe_ratio(field, timeperiod)

Measures excess return earned per unit of total volatility over the risk-free rate.

Parameters: timeperiod=30risk_free_rate=0.04trading_days_per_year=252
Custom & Factor Metrics Trend Quality & Velocity Factor

momentum Annualized Regression Momentum (Clenow)

@momentum(field, timeperiod)

Evaluates trend persistence by multiplying the annualized slope of log prices by the regression R-squared.

Parameters: timeperiod
Custom & Factor Metrics Continuous Return Metric

log_return Lognormal Return

@log_return(field, timeperiod)

Calculates continuously compounded logarithmic return over N bars.

Parameters: timeperiod=1
Custom & Factor Metrics Risk & Dispersion Metric

realized_vol Annualized Realized Volatility

@realized_vol(field, timeperiod)

Measures the annualized standard deviation of log returns, tracking pure price fluctuation magnitude.

Parameters: timeperiod=252trading_days_per_year=252