Skip to content
PipsMorrow
INTERMEDIATE

Lesson 07 of 9 · Technical Analysis

Oscillators: RSI and MACD in Practice

22 min4 topics

Topic 1 of 4

By the end of this lesson

  • Say what RSI and MACD each compute
  • Explain why an extreme reading is not an instruction
  • Use divergence as a question rather than an answer

Before this lesson

RSI and MACD are the two indicators every platform ships and every beginner misreads in the same two ways: treating an extreme reading as an instruction, and treating divergence as a prediction. Both come from not knowing what the calculation actually does — which takes about five minutes to fix.

What RSI measures

Relative Strength Index compares the size of recent up-closes to the size of recent down-closes, and expresses it on a 0 to 100 scale.

RSI = 100 - (100 / (1 + average gain / average loss))

What each variable means:

  • average gain — Mean size of up-closes over the period, usually 14
  • average loss — Mean size of down-closes over the same period

Read it literally and the standard interpretations come apart:

  • RSI 70 means recent up-moves have been substantially larger than recent down-moves. That is a description of a strong uptrend.
  • RSI 30 means the reverse — a strong downtrend.
  • RSI 50 means up and down moves have been about equal in size.

So a high RSI is evidence of strength, not of exhaustion. The word "overbought" imports a conclusion the arithmetic does not contain, and it is the most expensive word in retail technical analysis.

Note

RSI measures the size of moves, not their count. Fourteen periods with nine small up-closes and five large down-closes gives a reading below 50 despite most closes being up. That is the intended behaviour, and it is why RSI is not a vote count.

What MACD measures

MACD is the difference between two exponential moving averages, usually 12 and 26 periods, with a 9-period average of that difference drawn on top as the signal line.

MACD = EMA(12) - EMA(26); signal = EMA(9) of MACD

What each variable means:

  • MACD line — How far the fast average has pulled away from the slow one
  • signal line — A smoothed version of the MACD line
  • histogram — MACD minus signal — the gap, drawn as bars

It is two moving averages, subtracted. Every caveat from the previous lesson therefore applies to it in full: it lags, it whipsaws sideways, and its crossovers arrive after the move that caused them.

ReadingWhat it actually says
MACD above zeroThe fast average is above the slow one — an uptrend, by the MA definition
MACD crosses signal upwardThe recent gap is widening faster than its own average
Histogram shrinkingThe averages are converging — momentum easing, direction unchanged
MACD far from zeroThe averages are unusually far apart for this instrument

The histogram is the more useful half, because it changes before the crossover does. That makes it earlier and correspondingly less reliable — the same trade-off in a new place.

Overbought is not a sell

In a strong trend RSI can sit above 70 for weeks, and every day of that is a day when the "overbought" reading was a sell signal that lost money.

This is not a flaw in the indicator. A sustained trend is a period where up-moves exceed down-moves, so RSI reporting a high number is RSI working correctly. The error is the translation from "strong" to "about to stop".

What to do instead

  1. Use the extremes as classification. RSI persistently above 60 is a trending market; oscillating between 40 and 60 is a range. That is a condition, and lesson 4 already told you what conditions are for.
  2. Change the thresholds with the condition. In an uptrend, pullbacks often bottom near RSI 40 rather than 30. Waiting for 30 in a strong trend means waiting for a pullback that never comes.
  3. Require a level. An extreme reading at a resistance zone you drew beforehand is a reason to look. The same reading in open space is not.
  4. Never fade an extreme on its own. "RSI is 78" is not a trade. It is a fact about the last fourteen candles.

Caution

Fading extremes is a losing strategy in trending markets and a winning one in ranges, so its results depend entirely on a classification made before the signal appears. A trader who fades every extreme is not running a strategy; they are running a bet on market conditions they never checked.

Divergence and its failure rate

Divergence is price making a higher high while the oscillator makes a lower high, or the mirror at lows. The story is that momentum is fading beneath a continuing move.

The story is sometimes true. The problem is what the observation is worth on its own, and there are three structural reasons it is worth less than it looks.

  • It is arithmetic, not prophecy. A second high reached more slowly than the first must produce a lower oscillator reading. Divergence often reports nothing except that the move decelerated.
  • It repeats. A trend can diverge three or four times and keep going. Each instance looks identical to the one that eventually marks the turn.
  • It is only visible afterwards. Divergence needs the second peak to be complete, and while price is making that peak you cannot know whether it is the second one or the third.

Using it as a question

Divergence earns its place as a filter on a trade you already had a reason for — never as the reason itself.

Weak useStronger use
Short because RSI divergedShort at a resistance zone, where RSI also diverged
Divergence anywhere on the chartDivergence at a higher-timeframe level
Enter on the divergenceEnter on a structural break after it
Divergence alone sets the stopThe level sets the stop; divergence only affected whether to take the trade

Used that way an oscillator does the only job it is equipped for: describing how the recent move compares with the moves before it. Everything else people ask of it is asking a fourteen-period average to know the future.

Key takeaways

  • RSI compares the size of recent up-closes to down-closes: a high reading is evidence of strength, not exhaustion.
  • MACD is two moving averages subtracted, so every moving-average caveat applies; the histogram leads the crossover.
  • Fading extremes only works in ranges, so it depends on a classification made before the signal appeared.
  • Divergence is partly arithmetic, repeats within a trend, and is confirmable only afterwards. Use it to filter a trade, never to justify one.

Related articles