◆Financial Derivatives — In Progress Please await announcements of new courses and upcoming batches. Course Updates →
The Mountain Path Academy
← Let Us Learn Technical Analysis

FINANCE FUNDAMENTALS · A QUESTION-AND-ANSWER LEARNING GUIDE

Momentum Indicators: ROC, RSI and MACD

Measure price change, calculate Wilder’s RSI and read MACD lines, histograms and divergences with worked examples.

By Prof. V. Ravichandran · The Mountain Path Academy
Updated 15 October 2026 · 26 questions · Worked examples and annotated diagrams

THE MOUNTAIN PATH ACADEMY

MOMENTUM INDICATORS at a Glance

PERCENTAGE CHANGE

ROC

Compare the current close with a stated earlier close.

GAINS & LOSSES

RSI

Use Wilder smoothing and interpret the bounded scale.

EMA DIFFERENCES

MACD

Separate the zero line, signal line and histogram.

Four aligned charts · Worked arithmetic · Interactive indicator laboratory

LEARNING PATH · 01

Three different views of momentum

Q01 What does momentum mean in technical analysis?

Momentum describes the pace and direction of price change over a specified interval. Indicators transform historical prices into reference measures. They can describe strengthening or fading movement, but do not determine what the next return will be.

Q02 How do ROC, RSI and MACD differ?

MeasureQuestionUnits and reference
ROC(n)How much has price changed over n periods?Percentage change; zero is the reference.
RSI(n)How do smoothed upward and downward changes compare?Bounded 0–100; conventional reference levels 30, 50 and 70.
MACD(fast, slow, signal)How do fast and slow EMAs differ, and how does that gap compare with its own EMA?Price units; zero and the signal line answer different questions.

Use the same chart interval when comparing indicators. “14 periods” means 14 daily intervals on a daily chart and 14 weekly intervals on a weekly chart.

Q03 What price series is used in this lesson?

The calculations use the 60 hypothetical ABC Ltd closing prices from the Session 9 RSI teaching workbook. ROC, RSI and MACD below share that same input, so their differences come from their formulas. The charts are teaching examples, not current prices or recommendations.

The common input: 60 closing pricesCalculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Gaps at the beginning reflect the required warm-up observations.94.8106.9119.0Day 1Day 60
The common input: 60 closing prices. Calculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Gaps at the beginning reflect the required warm-up observations. All plotted prices are hypothetical.
LEARNING PATH · 02

Rate of Change: a percentage comparison

Q04 What is ROC and how is it calculated?

ROCₜ(n) = [Pₜ ÷ Pₜ₋ₙ − 1] × 100

An n-period ROC needs n + 1 closes. A 10-period ROC compares the current close with the close ten intervals earlier, not the earliest of ten listed observations. A zero denominator is invalid.

Q05 Can you show a simple ROC example?

Ten-period price comparison

Price ten sessions ago = ₹200; current price = ₹220. ROC(10) = (220 ÷ 200 − 1) × 100 = +10%. If the current price is ₹190, ROC is −5%. These describe the past ten intervals, not a forecast.

Q06 What does a falling positive ROC mean?

Price can remain above its n-period-ago value while that percentage advantage narrows. ROC may fall because the current price changes, because the comparison price moves forward, or both. A falling ROC does not necessarily mean today’s close fell.

ROC(10) around its zero lineCalculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Gaps at the beginning reflect the required warm-up observations.-15.5-1.612.4Zero: unchanged versus ten sessions agoDay 1Day 60
ROC(10) around its zero line. Calculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Gaps at the beginning reflect the required warm-up observations. All plotted prices are hypothetical.

Q07 Does ROC have fixed overbought or oversold levels?

No universal thresholds apply across instruments and intervals. Unlike RSI, ROC is not bounded above by 100. With positive prices its lower limit is −100%. Any extreme-value rule should specify the instrument, lookback and historical method used to set it.

LEARNING PATH · 03

Relative Strength Index and Wilder smoothing

Q08 What is RSI?

RSI compares smoothed positive and negative price changes over a lookback. The “relative strength” in its name compares gains with losses within one price series; it is not a direct comparison with another stock or an index.

Q09 How do I calculate the first RSI?

Changeₜ = Closeₜ − Closeₜ₋₁
Gainₜ = MAX(Changeₜ, 0)
Lossₜ = MAX(−Changeₜ, 0)
Initial average gain = SUM(first n gains) ÷ n
Initial average loss = SUM(first n losses) ÷ n
RS = Average gain ÷ Average loss
RSI = 100 − 100 ÷ (1 + RS)

Include zero gains on down days and zero losses on up days. Divide by n, rather than by the number of winning or losing sessions. A 14-period initial RSI requires 15 closes.

Q10 What does the Session 9 workbook example produce?

First 14 changes, at observation 15

Total gains = ₹12.80; total losses = ₹2.50. Average gain = 12.80 ÷ 14 = 0.914286; average loss = 2.50 ÷ 14 = 0.178571. RS = 5.12. RSI = 100 − 100 ÷ 6.12 = 83.6601.

These inputs and the result were checked against the workbook’s “3. RSI Calculation” sheet.

Q11 How is RSI updated after the seed?

Average gainₜ = [(n − 1)Average gainₜ₋₁ + Gainₜ] ÷ n
Average lossₜ = [(n − 1)Average lossₜ₋₁ + Lossₜ] ÷ n
Observation 16: next move is +₹1.80

New average gain = (0.914286 × 13 + 1.80) ÷ 14 = 0.977551. New average loss = (0.178571 × 13 + 0) ÷ 14 = 0.165816. RSI = 85.4975.

Wilder’s update uses α = 1/n, unlike the common EMA coefficient 2/(n + 1). Replacing it with a fresh rolling average or a standard EMA changes the indicator.

Q12 What do 70, 30 and 50 mean?

RSI above 70 is conventionally described as overbought and below 30 as oversold. These labels summarise recent imbalance, not inevitable reversal. RSI can remain extreme during a strong trend. At 50, smoothed gains and losses are equal under the stated formula.

RSI(14): conventional reference levelsCalculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Gaps at the beginning reflect the required warm-up observations.0.050.0100.070: conventional overbought reference50: equal smoothed gains and losses30: conventional oversold referenceDay 1Day 60
RSI(14): conventional reference levels. Calculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Gaps at the beginning reflect the required warm-up observations. All plotted prices are hypothetical.

Q13 What if average loss is zero?

If average loss is zero and average gain is positive, RSI is 100. If average gain is zero and average loss is positive, RSI is 0. If both are zero, the ratio is indeterminate; this calculator explicitly reports 50 as a neutral convention. Platforms may handle the all-flat case differently.

Equivalent stable form, when AG + AL > 0:
RSI = 100 × AG ÷ (AG + AL)
LEARNING PATH · 04

MACD: two EMAs, one signal and a histogram

Q14 What are the three parts of MACD?

MACD line = EMA(fast) − EMA(slow)
Signal line = EMA(signal period) of the MACD line
Histogram = MACD line − Signal line

The conventional daily settings are 12, 26 and 9, but they must be stated. MACD is expressed in price units rather than percentages and has no fixed 0–100 scale. Its numerical magnitude is not directly comparable across differently priced securities.

Q15 How are the EMAs and signal line seeded?

This lesson seeds each price EMA from the first full-window SMA. With 12/26 settings, the first MACD appears at observation 26. A signal seeded from the first nine available MACD values appears at observation 34, together with the first histogram. Platforms using other seeds or more prior history can show different initial values.

Q16 Can you show the arithmetic?

ObservationEMA12EMA26MACDSignalHistogram
11,0441,0404.006.00−2.00
21,0461,0415.005.80−0.80
31,0491,0427.006.04+0.96
41,0521,0439.006.632+2.368
Signal update from the Session 9 slide example

Given the first signal value 6.00, α for the 9-period signal is 2/(9+1) = 0.2. Observation 2: 0.2 × 5 + 0.8 × 6 = 5.80. Observation 3: 0.2 × 7 + 0.8 × 5.80 = 6.04. Histogram = 7 − 6.04 = 0.96.

The supplied slides rounded the third signal to 6.0 and histogram to 1.0. The table above retains precision through the recurrence, then rounds for display. The first signal is a supplied starting value, not a nine-observation seed calculated from this four-row excerpt.

Q17 What does a signal-line crossover mean?

MACD moving from at/below its signal to above it is a bullish momentum crossover; the reverse is bearish. The histogram changes sign with the same relation. A positive histogram describes MACD above the signal, not necessarily MACD above zero.

MACD(12,26,9), signal and histogramCalculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Teal: MACD; gold: signal; coloured bars: histogram.-3.50.85.0Zero referenceDay 1Day 60
MACD(12,26,9), signal and histogram. Calculated from the same 60 hypothetical daily closes in the Session 9 RSI workbook. Teal: MACD; gold: signal; coloured bars: histogram. All plotted prices are hypothetical.

Q18 How is a zero-line crossing different?

MACD above zero means the fast price EMA exceeds the slow price EMA. MACD below zero means the fast EMA is lower. A signal-line crossing compares MACD with its own smoothing line. It can happen while both remain negative or both remain positive.

A bullish crossover below zero

Yesterday MACD = −3 and signal = −2. Today MACD = −1.5 and signal = −1.8. MACD has crossed above the signal, so the histogram is +0.3. MACD is still negative, meaning the fast EMA remains below the slow EMA.

Q19 Does a shrinking histogram mean price must fall?

No. A positive histogram shrinking toward zero means MACD’s advantage over its signal is narrowing. Price could still rise. A negative histogram moving toward zero likewise describes a narrowing negative gap, not proof of a bullish trend reversal.

LEARNING PATH · 05

Divergence and conflicting readings

Q20 What are bullish and bearish divergence?

TypePrice swingsIndicator swingsInterpretation
Regular bearish divergenceHigher highLower highThe new price high has weaker momentum under that measure.
Regular bullish divergenceLower lowHigher lowThe new price low has less negative momentum under that measure.

Match swings from the same timeframe and use only information available then. A swing identified using later observations cannot be used as a real-time signal on the earlier date. Divergence can persist through further price movement and may never produce the anticipated reversal.

Q21 Why can the three indicators disagree?

ROC compares two endpoint prices, RSI summarises smoothed gains and losses, and MACD compares recursively smoothed price levels. They use different memory and scaling. For example, a bullish MACD signal-line crossing can occur while ROC remains negative because the longer comparison period is still down. Agreement is not three independent votes: all three transform the same prices.

Q22 How should these indicators be combined with price structure?

First state the trend and previously marked price zones. Then use a selected indicator for a precise question, such as whether recent losses are dominating or whether an EMA gap is changing. Define confirmation, invalidation and execution rules separately. More indicators do not automatically improve a method.

LEARNING PATH · 06

Interactive indicator laboratory

Q23 Can I calculate all three from a price series?

ROC, RSI and MACD learning calculator

Paste positive closing prices, earliest first. The default is the Session 9 hypothetical 60-close sample.

Up to 250 prices; full precision in recurrences; displayed results rounded to four decimals. Missing warm-up values appear as —, not zero. EMA and signal seeds use full-window SMAs; all-flat RSI uses the explicit neutral value 50.

Q24 What should I check before comparing with Excel or a charting platform?

Use matching prices, ordering, timeframe, parameters, corporate-action treatment and warm-up history. For RSI check Wilder smoothing and all-flat handling. For MACD check both price-EMA seeds and the signal seed. A discrepancy can be methodological rather than an arithmetic error.

LEARNING PATH · 07

Worked checks and practical limits

Q25 What are the most common mistakes?

  • Using 14 prices rather than 14 price changes for the first RSI.
  • Averaging only winning days when calculating average gain.
  • Treating overbought as an automatic sell or oversold as an automatic buy.
  • Confusing histogram zero with MACD zero.
  • Rounding intermediate values or counting a continuing state as a fresh crossover.
  • Evaluating a strategy without costs, executable timing or out-of-sample data.

Q26 Practice: interpret three different readings

ROC = −4%, RSI = 60, MACD = −2 and signal = −3. Must one be wrong?

No. Price is below its selected ROC comparison price, smoothed gains exceed losses in the RSI calculation, and MACD exceeds its signal while remaining negative. Histogram = +1. The different lookbacks and transforms can produce these readings together.

Average gain = 1.5 and average loss = 0.5. What is RSI?

RS = 3. RSI = 100 − 100 ÷ 4 = 75. This describes relative smoothed gains and losses; it does not guarantee a pullback.

Sources and teaching notes

Primary teaching material: Prof. V. Ravichandran’s Session 9 Technical Analysis slides, especially slides 75–84, and “09. RSI, MACD 4th Oct .xlsx”, concepts, inputs and RSI calculation sheets. The 46 stored RSI observations were independently reproduced from the workbook prices. MACD calculations and charts here extend those materials using the explicitly stated seed convention.

All prices are hypothetical; no live data or trade recommendations. Chart labels describe conditional interpretations and do not establish profitability.