Momentum
Momentum in technical analysis names two closely related things. It is a Momentum & Oscillators concept. The Library holds 6 implementations, each one ready to run on Vela.
raw
Top Momentum indicators
The top custom implementations, built on the original standard Momentum formula.
6 total
Open the top Momentum implementation below on Vela, then have Quant, our coding agent, turn it into a strategy you can backtest.
What is Momentum?
Momentum in technical analysis names two closely related things. As a property, it is the speed at which price is changing: how far the market travels per unit of time. As an indicator, it is one of the oldest and simplest oscillators: momentum equals the current close minus the close n bars ago, with 10 as the textbook lookback. The line oscillates around zero, positive whenever price is above where it stood n bars back, and it is unbounded and quoted in price units.
The physics analogy is standard: if price is position, momentum is velocity. That framing carries the classic argument for watching it: velocity often peaks before position does, so momentum frequently rolls over while price is still grinding toward its final extreme. This is an observed tendency and the basis of divergence analysis, not a law. The percentage version of the same measurement is ROC, which divides the change by the old price and so compares cleanly across instruments.
Momentum matters because it is the root of the oscillator family: RSI is built from smoothed one-bar price changes, MACD from the spread of two smoothed price averages, and stochastics restate the same underlying motion as position within the recent range. The word also names a broader research finding, the tendency of recent relative winners to keep outperforming over medium horizons, documented in academic finance as a historical regularity rather than a guarantee. Chart momentum and factor momentum share a premise but are measured very differently.
How to calculate Momentum
One subtraction defines the indicator; the only choices are the lookback and how the result is scaled.
- 1Choose the lookback n. Ten periods is the traditional default; shorter windows read faster and noisier, longer windows slower and smoother.
- 2Subtract: momentum equals the close minus the close n bars ago, a raw difference in price units. Some platforms instead plot the ratio of close to old close times 100, which centers at 100 rather than 0, so check which definition yours uses.
- 3Read sign and slope. Above zero means price is higher than n bars ago; a rising line means the advance is accelerating, while a falling line under a still-rising price means it is decelerating.
- 4Watch turns at extremes: momentum peaking and rolling over ahead of price is the raw form of divergence, and zero crosses mark where the n-bar change flips sign.
How it's calculated
Momentum is the raw change in price over the last n bars, in price units.
Rate of Change is the percentage form: ROC_t = 100 × (C_t - C_{t-n}) / C_{t-n}.
Some platforms plot the ratio form 100 × C_t / C_{t-n}, which oscillates around 100 instead of 0.
How traders use it
- As a minimal trend filter: above zero permits longs, below zero permits shorts. Crude but transparent, and it makes explicit what many trend rules reduce to, namely whether price is higher than it was n bars ago.
- As an acceleration gauge: slope changes flag thrust building or fading before price confirms, and taking the change of the change (ROC-of-ROC) reads that curvature directly.
- For divergence at extremes: a new price high against a lower momentum peak is the original failing-thrust read, generally traded only with confirmation from price structure.
- As breakout confirmation: a breakout accompanied by expanding momentum is more convincing than one where the reading barely moves, the logic formalized in momentum thrust rules.
Momentum vs related measures
ROC: The same measurement expressed as a percentage of the old price. Zero crosses occur on the same bars and the two lines trace nearly identical shapes; only the scale differs. ROC is the version to use for cross-instrument comparison or across long histories at different price levels.
RSI: RSI transforms average gains and losses into a bounded 0-100 scale, so it reads stretch and supports fixed overbought/oversold lines. Raw momentum is unbounded: no level means the same thing across instruments or eras, so its extremes can only be judged relative to their own recent history.
MACD: MACD measures the spread between two EMAs, making it a smoothed, trend-referenced momentum with built-in signal logic. Raw momentum is a two-point difference: more immediate, much noisier, and with no smoothing baked in.
Chande Momentum Oscillator: CMO nets the sum of up-moves against the sum of down-moves over the window and scales the result to a fixed range from -100 to +100. It is momentum's bounded cousin, asking the same question in normalized units.
More Momentum implementations
Momentum FAQ
Turn Momentum into a trading strategy.
Open the top implementation from this page in Vela. Quant, our coding agent, builds the strategy with you and backtests it on real data.
Browse this familyMomentum & Oscillators85 concepts mapped · 85 in the Library
- 5/35 Oscillator
- Accelerator Oscillator
- Accumulative Swing Index
- Adaptive Stochastic
- Adaptive/dynamic RSI
- APO
- Awesome Oscillator
- Balance of Power
- Bill Williams Profitunity
- Cardwell Positive/negative Reversals
- CCI
- Center of Gravity
- Centerline Regime
- Chande Forecast Oscillator
- Chande Momentum Oscillator
- Connors RSI
- Constance Brown Studies
- Coppock Curve
- Cyber Cycle
- Detrended Price Oscillator
- Disparity Index
- Divergence Variants & Confirmation
- Double Stochastic
- DSS Bressert
- Dynamic Momentum Index
- Elder Impulse System
- Elder Ray
- Elegant Oscillator
- Embedded Readings
- Ergodic Oscillator
- Firefly Oscillator
- Fisher Transform
- Gator Oscillator
- Hidden Divergence
- Impulse MACD
- Intraday Momentum Index
- Inverse Fisher Transform
- Know Sure Thing
- Laguerre RSI
- MACD
- MACD-V
- Momentum
- Momentum Expansion vs Contraction
- Momentum Thrust
- Oscillator of Oscillator
- Oscillator Swing Failure
- OsMA
- Overbought/oversold
- Polarized Fractal Efficiency
- PPO
- Premier Stochastic
- Pretty Good Oscillator
- Psychological Line
- QQE
- Qstick
- Rahul Mohindar Oscillator
- Rainbow Oscillator
- Reflex/Trendflex
- Regular Bullish/bearish Divergence
- Relative Momentum Index
- Relative Vigor Index
- ROC
- ROC-of-ROC
- RSI
- RSI Bands
- RSI Failure Swing
- RSI of Other Sources
- RSI Range Rules
- RSI-2
- Schaff Trend Cycle
- Special K
- Stochastic Momentum Index
- Stochastic Oscillator
- Stochastic Pop
- Stochastic RSI
- Swing Index
- Traders Dynamic Index
- TRIX
- True Strength Index
- Ultimate Oscillator
- Volume-weighted MACD
- Wave Trend Oscillator
- Williams %R
- Woodies CCI Conventions
- Zero-lag MACD


