Here’s a crash-course on measuring and trading “momentum” in stocks—i.e. gauging the speed (and conviction) behind a price move:
1. What Is Momentum?
Momentum = how fast (and in what direction) a stock’s price is moving.
It’s often interpreted as “the trend is your friend”: strong momentum up → you buy; strong momentum down → you may sell or short.
2. Simple Formulas
-
Price Momentum (absolute)
Momentumₙ = Closeₜ – Closeₜ₋ₙ
• If Close today = $52 and 10 days ago = $48 → Momentum₁₀ = +$4
-
Rate-of-Change (RoC)
RoCₙ (%) = (Closeₜ / Closeₜ₋ₙ – 1) × 100
• With the same numbers → RoC₁₀ = (52/48 – 1) × 100 ≈ +8.33%
-
Momentum Oscillator
Many charting platforms call it simply “Momentum” (usually the first formula above, plotted as a line).
3. Popular Momentum Indicators
| Indicator | How It Works | Typical Settings |
|---|
| RSI (Relative Strength Index) | Compares average gains vs. losses over N periods; 0–100 scale. | 14 days |
| MACD (Moving Average Convergence/Divergence) | Difference between 12-day EMA and 26-day EMA; signal = 9-day EMA of MACD. | (12,26,9) |
| Stochastic Oscillator | Compares current close vs. high-low range over N periods (0–100). | %K=14, %D=3 |
| Moving-Average Slope | The angle or slope of a simple or exponential MA. | 20, 50, 200 days |
4. How to “Find” It in Your Platform
- Open your charting tool (e.g. TradingView, Thinkorswim, MetaTrader).
- Insert the indicator by name:
– “Momentum” for the basic price-momentum line
– “RSI”, “MACD”, “Stochastic”, etc.
- Adjust the period (shorter = more sensitive, longer = smoother).
- Look for:
- Crossovers (e.g. MACD line crossing above its signal)
- Overbought/Oversold thresholds (e.g. RSI > 70 or < 30)
- Divergences (price making new highs but indicator not → potential reversal)
5. A Simple Python Snippet
import pandas as pd
# Suppose df has a 'Close' column indexed by date
n = 10
df['Momentum'] = df['Close'] - df['Close'].shift(n)
df['RoC'] = (df['Close'] / df['Close'].shift(n) - 1) * 100
print(df[['Close','Momentum','RoC']].tail())
6. Putting It into Practice
- Define your time-frame:
• Day-trader → 5–20 period momentum
• Swing-trader → 10–50 period
• Position-trader → 50–200 period
- Combine with trend filters (e.g. price above a 200-day MA).
- Backtest your entry/exit rules before risking real capital.
🚀 That’s the essence! Play with periods, watch how different indicators behave in trending vs. choppy markets, and always pair momentum signals with good risk management (stop-loss, position sizing). Good luck!