Technical Indicators for Stocks: RSI, MACD, Moving Averages and ATR

Technical Indicators for Stocks: RSI, MACD, Moving Averages and ATR

Technical indicators are formulas applied to price and volume that summarize trend, momentum, volatility or participation. The most useful approach is to pick one indicator per job: a moving average for trend, RSI or MACD for momentum, ATR or Bollinger Bands for volatility, and volume or VWAP for participation. Stacking several indicators that measure the same thing adds noise, not confirmation, and every indicator lags price to some degree.

Key takeaways

  • Indicators fall into four families: trend, momentum, volatility and volume.
  • Use one from each family you need; three momentum oscillators mostly repeat each other.
  • “Overbought” isn’t a sell signal in a strong uptrend; RSI can stay above 70 for weeks.
  • Indicators support decisions about entries and stops; they don’t replace a risk plan.

The four indicator families

Figure. Each family answers a different question. Two indicators from the same family usually give the same answer twice.
IndicatorFamilyFormula (simplified)Common use
Simple / exponential moving averageTrendAverage of the last N closes (EMA weights recent more)Trend direction; dynamic support
MACDMomentum / trend12-period EMA − 26-period EMA; signal = 9-period EMA of MACDMomentum shifts, crossovers
RSI (14)Momentum100 − 100 ÷ (1 + average gain ÷ average loss)Overbought/oversold, divergences
ATR (14)VolatilityAverage of the true rangeStop distance, position sizing
Bollinger Bands (20, 2)Volatility20-period average ± 2 standard deviationsStretch, squeezes
On-balance volumeVolumeRunning total of up-day minus down-day volumeConfirmation, divergences
VWAPVolume / priceΣ(price × volume) ÷ Σ volume, reset dailyIntraday fair value

Deep dives: EMA clouds, ATR, Bollinger Bands and mean reversion, OBV and relative volume and VWAP.

Example: RSI in a trend

RSI(14) measures the balance of recent gains and losses on a 0–100 scale. Readings above 70 are called “overbought” and below 30 “oversold.” But in a strong trend these labels mislead. The charts below use the same hypothetical stock:

Figure. Price for the hypothetical stock used in the RSI chart below.
Figure. Calculated RSI(14) for the price series above. Selling every reading above 70 would have meant shorting a rising stock for three weeks; buying every reading below 30 would have meant buying a falling one.

Better uses of RSI: watching for divergences (price makes a new high, RSI doesn’t), using a trend filter (buy RSI dips toward 40–50 in an uptrend), or confirming momentum after a breakout.

How to build a simple indicator set

  1. Trend filter: 50-day moving average sloping up = look for longs only.
  2. Setup / timing: one momentum tool such as RSI or MACD for pullback entries.
  3. Risk: ATR to set the stop distance and position size via the position size calculator.
  4. Confirmation: volume on the trigger day.

Common mistakes

  • Indicator stacking: RSI, stochastic and CCI on one chart are three views of the same momentum.
  • Optimizing settings to past data: a “perfect” RSI(9) on one stock rarely transfers. Prefer standard settings.
  • Ignoring lag: every indicator is calculated from past prices, so crossovers confirm moves after they start.
  • No exit plan: indicators help with entries; stops and risk rules protect the account.

Matching indicators to your trading style

StyleTrendMomentumVolatility / riskVolume
Day trading9/20 EMA on 5-minuteRSI(14) or MACD on 5-minuteATR(14) on 5-minuteVWAP, relative volume
Swing trading20/50-day averageRSI(14) dailyATR(14) dailyVolume vs 50-day average
Position trading50/200-day averageWeekly MACDWeekly ATROBV weekly

Step-by-step: testing an indicator before you trust it

  1. Write the rule precisely: for example, “buy when RSI(14) crosses above 40 while price is above the 50-day average.”
  2. Define exits (stop and target) before testing.
  3. Go back through at least 50–100 past signals on several stocks and record the results in R.
  4. Compute expectancy and profit factor. See trading expectancy and profit factor.
  5. Test in a different period than the one you used to design the rule, to avoid fitting the past.
  6. Paper-trade or trade small before committing full size.

Frequently asked questions

What are the best technical indicators for stock trading?

There is no single best indicator. A practical set uses one per job: a moving average for trend, RSI or MACD for momentum, ATR for volatility and stop placement, and volume or VWAP for participation.

How is RSI calculated?

RSI = 100 − 100 ÷ (1 + RS), where RS is the average gain divided by the average loss over a lookback period, usually 14 bars, using Wilder’s smoothing. Readings range from 0 to 100.

Does RSI above 70 mean sell?

Not by itself. In strong uptrends RSI can stay above 70 for long periods while price keeps rising. Many traders use RSI levels together with trend direction or divergences rather than as standalone sell signals.

What is the difference between MACD and RSI?

MACD measures the gap between two exponential moving averages and is unbounded, so it reflects both trend and momentum. RSI is a bounded 0–100 oscillator that compares recent gains to losses. Both are momentum tools, so using both adds little.

Do technical indicators lag?

Yes. They are calculated from past prices and volumes, so they confirm moves after they begin. Shorter settings lag less but produce more false signals.

Sources

Educational content only, not financial advice. Examples are hypothetical and use round numbers for clarity. Trading involves substantial risk of loss. Reviewed by the TradeRiskMath Editorial Team.