Indicator Theory
Introduction
Technical indicators are mathematical calculations based on price, volume, or open interest data. They help traders identify trends, momentum, volatility, and potential reversal points. Understanding how indicators work, their strengths and limitations, is crucial for building effective trading strategies.
How Indicators Work
The Foundation: Price and Volume
All indicators derive from:
- Price Data: Open, High, Low, Close (OHLC)
- Volume Data: Trading volume
- Time: Period over which calculations are made
Example - Simple Moving Average:
SMA(20) = (Close₁ + Close₂ + ... + Close₂₀) / 20
Takes last 20 closing prices, calculates average
Updates with each new candle
Lagging vs Leading Indicators
Lagging Indicators:
- Based on past price action
- Confirm trends after they start
- More reliable, fewer false signals
- Examples: Moving Averages, MACD, ADX
Leading Indicators:
- Attempt to predict future price movement
- Signal before trend changes
- More false signals, earlier entries
- Examples: RSI, Stochastic, Volume
Trade-off:
Lagging: Reliable but late entries/exits
Leading: Early signals but more whipsaws
Best: Combine both types
Indicator Categories
1. Trend Indicators
Purpose: Identify direction and strength of trends
How They Work:
- Smooth price data to reveal underlying trend
- Filter out short-term noise
- Show trend direction (up, down, sideways)
Common Indicators:
Moving Averages (SMA, EMA, WMA):
SMA: Simple average of prices
EMA: Weighted toward recent prices
WMA: Linear weighting
Use: Trend direction, support/resistance
MACD (Moving Average Convergence Divergence):
MACD Line = EMA(12) - EMA(26)
Signal Line = EMA(9) of MACD
Histogram = MACD - Signal
Use: Trend changes, momentum shifts
ADX (Average Directional Index):
Measures trend strength (0-100)
>25: Strong trend
<20: Weak trend/ranging
Use: Confirm trend strength
When to Use:
- Trending markets
- Swing and position trading
- Trend-following strategies
- Breakout confirmation
2. Momentum Indicators
Purpose: Measure speed and strength of price movements
How They Work:
- Compare current price to past prices
- Identify overbought/oversold conditions
- Detect divergences (price vs indicator)
Common Indicators:
RSI (Relative Strength Index):
RSI = 100 - (100 / (1 + RS))
RS = Average Gain / Average Loss (14 periods)
>70: Overbought
<30: Oversold
Use: Reversal signals, divergences
Stochastic Oscillator:
%K = (Close - Low₁₄) / (High₁₄ - Low₁₄) × 100
%D = SMA(3) of %K
>80: Overbought
<20: Oversold
Use: Reversal signals, crossovers
CCI (Commodity Channel Index):
CCI = (Typical Price - SMA) / (0.015 × Mean Deviation)
>100: Overbought
<-100: Oversold
Use: Cycle identification, extremes
When to Use:
- Range-bound markets
- Mean reversion strategies
- Identifying extremes
- Divergence trading
3. Volatility Indicators
Purpose: Measure price volatility and potential breakouts
How They Work:
- Calculate price range or standard deviation
- Expand during volatile periods
- Contract during calm periods
Common Indicators:
Bollinger Bands:
Middle Band = SMA(20)
Upper Band = SMA(20) + (2 × StdDev)
Lower Band = SMA(20) - (2 × StdDev)
Use: Volatility, breakouts, reversals
ATR (Average True Range):
True Range = Max of:
- High - Low
- |High - Previous Close|
- |Low - Previous Close|
ATR = Average of TR over 14 periods
Use: Stop loss placement, position sizing
Keltner Channels:
Middle Line = EMA(20)
Upper Channel = EMA(20) + (2 × ATR)
Lower Channel = EMA(20) - (2 × ATR)
Use: Trend and volatility
When to Use:
- Breakout strategies
- Volatility-based position sizing
- Stop loss placement
- Range identification
4. Volume Indicators
Purpose: Confirm price movements with volume
How They Work:
- Analyze volume patterns
- Confirm trend strength
- Identify accumulation/distribution
Common Indicators:
Volume:
Simple volume bars
High volume = Strong interest
Low volume = Weak interest
Use: Confirm breakouts, trends
OBV (On-Balance Volume):
If Close > Previous Close: OBV = OBV + Volume
If Close < Previous Close: OBV = OBV - Volume
Use: Confirm trends, divergences
VWAP (Volume Weighted Average Price):
VWAP = Σ(Price × Volume) / Σ(Volume)
Use: Intraday support/resistance
When to Use:
- Confirming breakouts
- Validating trends
- Institutional trading levels
- Intraday strategies
Indicator Combinations
Why Combine Indicators?
Single Indicator Limitations:
- False signals in wrong market conditions
- Lag or premature signals
- Missing context
Multiple Indicators Provide:
- Confirmation from different perspectives
- Reduced false signals
- Better market context
- Higher probability setups
Effective Combinations
1. Trend + Momentum:
EMA(50) + RSI
EMA: Identifies trend direction
RSI: Times entries in trend direction
Entry: Price above EMA + RSI oversold (30)
Exit: Price below EMA or RSI overbought (70)
2. Trend + Volatility:
MACD + Bollinger Bands
MACD: Trend direction and momentum
Bollinger: Volatility and extremes
Entry: MACD bullish + Price at lower band
Exit: MACD bearish or price at upper band
3. Momentum + Volume:
RSI + Volume
RSI: Overbought/oversold
Volume: Confirms strength
Entry: RSI oversold + Volume spike
Exit: RSI overbought + Volume decline
4. Multiple Timeframe:
Daily EMA(200) + 15min MACD
Daily: Overall trend
15min: Entry timing
Entry: Price above daily EMA + 15min MACD bullish
5. Triple Confirmation:
EMA(20) + RSI + MACD
All three must align:
- Price above EMA (trend)
- RSI 30-50 (momentum)
- MACD bullish (confirmation)
Avoiding Over-Optimization
Too Many Indicators:
- Analysis paralysis
- Conflicting signals
- Curve fitting
- Missed opportunities
Optimal Number:
- 2-3 indicators maximum
- Different categories
- Clear decision rules
- Simple logic
Indicator Selection Guidelines
By Trading Style
Scalping (1-5 min):
- Fast indicators (5-10 periods)
- Volume indicators
- VWAP, Fast EMA, Stochastic
- Minimal lag
Day Trading (5-60 min):
- Medium indicators (10-20 periods)
- MACD, RSI, Bollinger Bands
- Balance speed and reliability
Swing Trading (1-5 days):
- Slower indicators (20-50 periods)
- EMA, MACD, ADX
- Trend-following focus
Position Trading (weeks-months):
- Long-term indicators (50-200 periods)
- Moving averages, weekly MACD
- Major trend identification
By Market Condition
Trending Markets:
- Moving Averages (EMA 20, 50, 200)
- MACD
- ADX
- Avoid: Oscillators (RSI, Stochastic)
Range-Bound Markets:
- RSI
- Stochastic
- Bollinger Bands
- Avoid: Trend indicators
Volatile Markets:
- ATR
- Bollinger Bands
- Keltner Channels
- Wider stops
Low Volatility:
- Tighter bands
- Faster indicators
- Breakout preparation
By Strategy Type
Trend Following:
Primary: EMA(20), EMA(50)
Confirmation: MACD, ADX
Entry: Price crosses above EMA + MACD bullish
Mean Reversion:
Primary: Bollinger Bands, RSI
Confirmation: Volume
Entry: Price at lower band + RSI <30
Breakout:
Primary: Bollinger Bands, Volume
Confirmation: ATR
Entry: Price breaks band + Volume spike
Momentum:
Primary: RSI, MACD
Confirmation: Volume, ADX
Entry: RSI >50 + MACD bullish + ADX >25
Common Pitfalls
1. Indicator Overload
Problem: Using 5+ indicators, waiting for all to align
Solution:
- Maximum 2-3 indicators
- Clear decision rules
- Focus on price action first
2. Wrong Market Conditions
Problem: Using RSI in strong trends (always overbought)
Solution:
- Match indicators to market conditions
- Use ADX to identify trend strength
- Switch strategies when conditions change
3. Ignoring Price Action
Problem: Following indicators blindly
Solution:
- Price is king, indicators are tools
- Confirm with support/resistance
- Watch candlestick patterns
4. Optimization Bias
Problem: Finding perfect parameters in backtest
Solution:
- Use standard parameters (14, 20, 50, 200)
- Test on out-of-sample data
- Avoid curve fitting
5. Lagging Indicators
Problem: Entering too late with slow indicators
Solution:
- Combine lagging (confirmation) with leading (timing)
- Use multiple timeframes
- Accept some lag for reliability
Indicator Parameters
Standard Parameters
Moving Averages:
- Short-term: 9, 20
- Medium-term: 50
- Long-term: 100, 200
RSI:
- Period: 14
- Overbought: 70
- Oversold: 30
MACD:
- Fast: 12
- Slow: 26
- Signal: 9
Bollinger Bands:
- Period: 20
- Standard Deviations: 2
ATR:
- Period: 14
When to Adjust
Faster Markets (Scalping):
- Reduce periods (5-10)
- More responsive
- More signals
Slower Markets (Position):
- Increase periods (50-200)
- Less noise
- Fewer signals
Higher Volatility:
- Increase standard deviations
- Wider bands
- Fewer false signals
Building an Indicator Strategy
Step-by-Step Process
1. Define Market Condition:
Trending or ranging?
Volatile or calm?
Timeframe?
2. Select Primary Indicator:
Trending: Moving Average
Ranging: RSI or Bollinger Bands
3. Add Confirmation:
Volume for breakouts
MACD for trend changes
ADX for trend strength
4. Define Entry Rules:
Clear, objective criteria
Example: Price > EMA(50) AND RSI > 50 AND MACD bullish
5. Define Exit Rules:
Stop loss: ATR-based or percentage
Take profit: Risk-reward ratio or opposite signal
6. Backtest:
Test on historical data
Verify on out-of-sample period
Check different market conditions
7. Optimize (Carefully):
Adjust parameters if needed
Avoid over-optimization
Keep it simple
Summary
Key Takeaways:
- Indicators are Tools: Not magic, just mathematical calculations
- Categories Matter: Use right type for market condition
- Combine Wisely: 2-3 indicators from different categories
- Match to Style: Scalping needs fast, position needs slow
- Standard Parameters: Start with 14, 20, 50, 200
- Price First: Indicators confirm, price leads
- Market Conditions: Trending vs ranging requires different indicators
- Avoid Overload: More indicators ≠ better results
- Test Thoroughly: Backtest before live trading
- Stay Simple: Complex doesn't mean better
Recommended Starter Combinations:
Beginner: EMA(20) + RSI(14)
Intermediate: EMA(50) + MACD + Volume
Advanced: EMA(20) + RSI + Bollinger Bands + ADX
Related Documentation
- Moving Averages Reference - Detailed MA documentation
- Momentum Indicators Reference - RSI, Stochastic, CCI
- How to Combine Multiple Indicators - Practical combinations
- Entry Conditions Configuration - Implementing indicators