Lesson 35 · Basics

RSI, MACD and Bollinger Bands: what they really measure

How RSI, MACD and Bollinger Bands are calculated, why they lag price, and how to use them as filters in a written rule, not as signals.

In short

  • RSI measures momentum, MACD measures trend direction and Bollinger Bands measure volatility; all three are built from past closes, so all of them lag price.
  • RSI = 100 − (100 / (1 + U / D)): an average up change of 3.00 against a down change of 1.00 gives 75, which describes strong recent closes, not a sell signal.
  • MACD = EMA(12) − EMA(26) in price units, so only its sign and direction can be compared between markets; Bollinger Bands sit two standard deviations around a 20-period average.
  • Use each indicator as one yes-or-no filter with fixed settings on closed candles; in the gold example the trade still ends at about +1.96 R or about −1.04 R with our 0.50 USD round trip.

In lesson 34 you saw that a moving average is built only from past closes, so it always comes behind price. RSI, MACD and Bollinger Bands are built the same way. After this lesson you can calculate each of them by hand, say which one thing each measures, and write one of them into a trading rule as a yes-or-no filter instead of reading it as a buy or sell signal.

The idea in plain words

An indicator is a formula applied to prices already on the chart. It adds no new information. Each indicator here answers one question:

  • RSI (Relative Strength Index): have the recent closes been mostly up or mostly down? This is momentum, the strength of the recent move.
  • MACD (Moving Average Convergence/Divergence): is a fast average of closes above or below a slow one? This is trend direction.
  • Bollinger Bands: how widely have the recent closes been spread around their average? This is volatility, like the ATR from lesson 15.

None of them says what happens next. Every value is made from closed candles, so it comes after the move it describes.

RSI: the balance of up and down closes

The MetaTrader 5 help gives the formula as RSI = 100 − (100 / (1 + U / D)), where U is the average of the positive price changes and D the average of the negative ones (taken as positive numbers). The help says Wilder, who introduced it, recommended 14 periods, and this lesson uses 14.

Example: over the last 14 closes the average up change was 3.00 USD and the average down change 1.00 USD. U / D = 3.00 / 1.00 = 3. RSI = 100 − (100 / 4) = 100 − 25 = 75. If ups and downs were equal, U / D = 1 and RSI = 100 − 50 = 50.

RSI runs from 0 to 100; above 50 the up changes were larger on average. The help notes that RSI "usually tops above 70 and bottoms below 30". Many traders call above 70 "overbought" and read it as a sell signal. The formula does not support that reading: 75 only says that recent closes rose more than they fell. In a strong up trend nothing in the formula stops RSI from staying above 70 while price keeps rising.

MACD: the gap between two averages

The help gives MACD = EMA(close, 12) − EMA(close, 26). The signal line is a 9-period simple average of the MACD itself.

Example: the 12-period EMA is 4,410.00 and the 26-period EMA is 4,400.00. MACD = 4,410.00 − 4,400.00 = 10.00. A positive MACD means the faster average is above the slower one, so recent closes are higher than older ones. A negative MACD means the opposite.

Two things follow:

  • It lags twice. Each EMA is behind price (lesson 34), and the signal line is an average of a difference of averages, so a signal-line cross comes later still.
  • It is in price units. A gold MACD of 10.00 means 10 USD; a US100 MACD of 10.00 means 10 points. You cannot compare the size of MACD between markets, only its sign and its direction.

Bollinger Bands: a volatility envelope

The help recommends a 20-period simple moving average as the middle line, with the upper and lower lines two standard deviations above and below it. A standard deviation is a measure of how far the closes typically sit from their average: small when closes are bunched together, large when they are spread out.

Example: middle line 4,404.00, standard deviation 9.00. Upper band = 4,404.00 + 2 × 9.00 = 4,422.00. Lower band = 4,404.00 − 18.00 = 4,386.00. Band width = 36.00 USD.

In the help's words, the bands "widen" when markets become more volatile and "contract" in calmer periods. That is all they measure. A close at the upper band does not mean price is too high, just as a wide ATR does not mean price will fall. The same help page also lists two opposite readings: a break through a band suggests the trend continues, and a move that starts at one band usually reaches the other. When one tool supports both readings, it is not telling you the direction.

Using an indicator as a filter in a written rule

Lessons 29 to 31 already give you the decision: state from swings, entry and stop from structure, target before the next zone. An indicator may only add one yes-or-no question, written down before you look at the chart:

  1. One question per indicator. For example: "MACD(12,26,9) above zero on the chart timeframe" for trend buys.
  2. Fixed settings. Keep 14 for RSI, 12/26/9 for MACD and 20/2 for the bands. Changing them after you see the chart turns the filter into hindsight.
  3. Closed candles only. On an open candle the value keeps changing until the close, just as a swing is confirmed only after two more candles.
  4. A filter removes trades, it does not create them. If the indicator says yes but the structure says no, there is no trade.

We have no test of these filters in our data, so this lesson gives no win rate for them.

Worked example

Example: a gold up trend on the hourly chart, traded with the trend playbook from lesson 30 at 0.01 lot. The written plan has three filters, all set before the trade:

  • MACD(12,26,9) above zero.
  • RSI(14) at 50 or higher, so recent momentum agrees with the buy.
  • Stop distance at least one standard deviation of the Bollinger Bands (20,2), so the stop is not inside normal noise. This threshold is an example chosen for teaching, not a measured figure.

Step 1 — structure. The last confirmed higher low is 4,394.50. The stop goes 0.50 below it, at 4,394.00, a buffer larger than gold's median quoted spread of 0.12 in our data. Entry is at 4,406.00. Stop distance = 4,406.00 − 4,394.00 = 12.00 USD.

Step 2 — 1 R. 1 R is the planned risk between entry and stop, set before the trade. At 0.01 lot a 1.00 move is worth 1 USD, so 1 R = 12.00 USD. The real loss at the stop is usually a bit larger because of costs, and can be much larger with slippage or a gap.

Step 3 — target. 2 R = 24.00 USD, so the target is 4,406.00 + 24.00 = 4,430.00, below the next resistance zone (lesson 31).

Step 4 — filters on the last closed candle.

  • MACD: EMA12 4,409.30 − EMA26 4,401.80 = 7.50. Above zero, pass.
  • RSI: U = 2.70, D = 1.05. U / D = 2.70 / 1.05 = about 2.57. RSI = 100 − (100 / 3.57) = 100 − 28.0 = about 72. At least 50, pass.
  • Bands: middle 4,404.00, standard deviation 9.00. Stop 12.00 is at least 9.00, pass.

Note what the "overbought" reading would have done here: RSI at 72 would have told you to sell, against the up trend your structure shows.

Step 5 — results with costs. Our broker's measured round-trip cost in 2026 is 0.50 USD at 0.01 lot.

  • Target hit: 24.00 − 0.50 = 23.50 USD, 23.50 / 12.00 = about +1.96 R.
  • Stop fills exactly at its price: −12.00 − 0.50 = −12.50 USD, −12.50 / 12.00 = about −1.04 R. Slippage or a gap can make it worse.

Step 6 — break-even. Win rate needed = loss / (loss + win) = 12.50 / (12.50 + 23.50) = 12.50 / 36.00 = about 34.7%. The filters do not change this number; they only decide which trades you take.

Common mistakes

  • Selling because RSI is above 70. A high RSI describes strong recent up closes. The help says RSI "usually" tops above 70, not that it turns there. Use RSI only as a written filter inside your plan.
  • Stacking indicators that measure the same thing. MACD and a moving-average crossover both measure trend from the same closes, so their agreement adds nothing. Use one indicator per question.
  • Treating a band as a target or a wall. The bands measure spread, not support or resistance. Take targets from zones (lesson 31).
  • Changing settings until the chart looks right. The FCA warns that data on a graph "may be selected to support a particular viewpoint". Fix settings before you look.
  • Reading values on an open candle. A filter can pass mid-candle and fail at the close. Decide after the close.

Exercise

Example: on paper, check a gold buy on the hourly chart with the three filters from the worked example. The last closed candle shows: average up change U = 1.20, average down change D = 1.80, EMA12 = 4,398.40, EMA26 = 4,403.90, Bollinger middle line 4,401.00 and standard deviation 6.50. Your structure stop is 8.00 USD away. Calculate RSI, MACD and both bands, then decide: take or skip.

Solution: RSI: U / D = 1.20 / 1.80 = about 0.67. RSI = 100 − (100 / 1.67) = 100 − 60 = 40. Below 50, fail. MACD = 4,398.40 − 4,403.90 = −5.50. Below zero, fail. Bands: 4,401.00 + 13.00 = 4,414.00 and 4,401.00 − 13.00 = 4,388.00. Stop 8.00 is at least 6.50, pass (the rule uses only the standard deviation; the band levels are for practice). Two filters fail, so the decision is skip.

Quick quiz

  1. The average up change is 2.00 and the average down change 0.50. What is RSI(14), and does it tell you to sell? Answer: U / D = 4, RSI = 100 − (100 / 5) = 80. It does not tell you to sell; it says recent up changes were four times the down changes.
  2. Gold Bollinger Bands have a middle line of 4,420.00 and a standard deviation of 12.50. Under the example rule, is a 10.00 USD stop allowed, and what would the cost in R be at 0.01 lot if you took it? Answer: Bands are 4,395.00 and 4,445.00. A 10.00 stop is less than 12.50, so the filter says skip. The cost would be 0.50 / 10.00 = 0.05 R.
  3. On US100 EMA12 is 29,540.0 and EMA26 is 29,575.5. What is MACD, and is it "weaker" than a gold MACD of 7.50? Answer: MACD = −35.5 points, so a trend-buy filter fails. Its size cannot be compared with gold's, because one is in index points and the other in USD.

Summary

RSI measures momentum, MACD trend direction and Bollinger Bands volatility, all from past closes, so all of them lag. A reading above 70 or at a band is a description, not a forecast. Use each indicator as one yes-or-no filter with fixed settings on closed candles, while structure sets entry, stop and target. The next lesson puts Fibonacci retracements through a reality check.

Questions

Is RSI above 70 a signal to sell?

No. RSI above 70 only says that recent up changes were larger than recent down changes. In a strong up trend nothing in the formula stops it from staying above 70 while price keeps rising.

Which indicator is the best of the three?

None of them is best, because each measures something different: RSI momentum, MACD trend direction and Bollinger Bands volatility. Choose one for the single question your written rule asks, and keep structure for entry, stop and target.

Do these filters raise my win rate?

We have no test of these filters in our data, so we cannot say. A filter only removes trades; it does not change the break-even win rate of the trades you take.

Sources

  1. Relative Strength Index — MetaQuotes (MetaTrader 5 Help)
  2. Moving Average Convergence/Divergence — MetaQuotes (MetaTrader 5 Help)
  3. Bollinger Bands — MetaQuotes (MetaTrader 5 Help)
  4. Understanding price graphs — Financial Conduct Authority (InvestSmart)

Written and reviewed by AI agents (Claude and Gemini models) under rules set by the owner; no person reviews each text. Last AI review: 7 Nov 2026. Sources are listed at the end of the article.