Skip to main content

Momentum Indicators

Momentum indicators measure the speed and strength of price moves, and help spot overbought/oversold conditions and reversals. For the shared parameters (Candle Type, Source, Period, Timeframe, Offset), see Indicator Parameters Explained.

1. RSI (Relative Strength Index)​

An oscillator between 0 and 100 measuring the speed and change of price movements.

  • Above 70 — overbought; potential pullback
  • Below 30 — oversold; potential bounce
  • Divergence (price makes a new high but RSI doesn't) signals weakening momentum

Parameters:

ParameterDefaultDescription
period14Shorter = more sensitive; longer = smoother
sourceCLOSEStandard
candle_typeOHLCOHLC or HEIKIN_ASHI

RSI parameters in Signals AI

Example strategy — RSI crossover (NIFTY, 5m):

Condition
EntryRSI(14) crosses above 30 — bearish momentum fading
ExitRSI(14) crosses above 70 — market likely due a pullback

RSI crossover strategy

2. MACD (Moving Average Convergence Divergence)​

A trend-following momentum indicator with three components:

  • MACD Line — fast EMA (12) minus slow EMA (26): short-term momentum
  • Signal Line — 9-period EMA of the MACD Line: the trigger line
  • Histogram — MACD Line minus Signal Line: positive = bullish momentum, negative = bearish

Parameters:

ParameterDefaultDescription
fast_period12Fast EMA period
slow_period26Slow EMA period
signal_period9Signal line EMA period
sourceCLOSEPrice source
macd_componentMACD_LINEWhich output the condition uses: MACD_LINE, SIGNAL_LINE, or HISTOGRAM

MACD parameters in Signals AI

Example strategy — MACD crossover:

Condition
EntryMACD Line crosses above Signal Line
ExitMACD Line crosses below Signal Line

MACD crossover strategy

3. Stochastic Oscillator​

Compares the current close to the recent high–low range, on a 0–100 scale. The idea: momentum shifts before price does.

  • %K — the main line
  • %D — moving average of %K (the signal line)
  • Above 80 = overbought, below 20 = oversold

Parameters:

ParameterDefaultDescription
k_period14Lookback for %K
d_period3Smoothing for %D
stochastic_line—Which line the condition uses: %K or %D

Stochastic parameters

Example strategy — %K/%D crossover:

Condition
Entry%K crosses above %D (strongest when both are below 20)
Exit%K crosses below %D (strongest when both are above 80)

Stochastic crossover strategy

4. ROC (Rate of Change)​

The percentage change between the current price and the price N periods ago: ((Price − Price N ago) / Price N ago) × 100. Oscillates around a zero line — positive = bullish momentum, negative = bearish. A zero-line cross signals a potential trend change.

Parameters:

ParameterDefaultDescription
period14Lookback period
sourceCLOSEPrice source
candle_typeOHLCOHLC or HEIKIN_ASHI

ROC parameters

Example strategy — zero-line crossover (5m):

Condition
EntryROC(14) crosses above 0 — momentum turns positive
ExitROC(14) crosses below 0 — momentum turns negative

ROC momentum strategy

5. Williams %R​

A momentum oscillator on a negative scale from 0 to -100 (similar to Stochastic):

  • -20 to 0 — overbought: price near the top of its recent range
  • -80 to -100 — oversold: price near the bottom of its recent range

Parameters:

ParameterDefaultDescription
period14Shorter (e.g., 7) = more signals; longer (e.g., 21) = fewer, more reliable
candle_typeOHLCOHLC or HEIKIN_ASHI

Williams %R parameters

Example strategy — mean reversion:

Condition
EntryWilliams %R(14) crosses above -80 — leaving oversold territory
ExitWilliams %R(14) crosses below -20 — leaving overbought territory

Williams %R strategy on the canvas

6. Special K​

Martin Pring's composite oscillator that sums multiple ROC calculations across short, intermediate, and long lookbacks, smoothed by moving averages. Designed to identify primary trend reversals while filtering short-term noise.

  • Rising Special K = bullish momentum; falling = bearish
  • Crossing its signal line generates buy/sell signals
  • Divergence vs price is a strong reversal warning

Parameters:

ParameterDescription
special_k_componentSPECIAL_K (the main line) or SIGNAL_LINE (smoothed confirmation line)
sourcePrice source (Close is typical)
candle_typeOHLC or HEIKIN_ASHI
sig_len1Primary lookback — lower = faster signals, higher = smoother
sig_len2Secondary smoothing — higher = more stable, slower
timeframe / offsetStandard

Special K parameters

Example strategy — Special K crossover:

Condition
EntrySPECIAL_K crosses above SIGNAL_LINE
ExitSPECIAL_K crosses below SIGNAL_LINE