Say you are ranking three stocks on your watchlist by which is strongest. Compared with the index over the last month, Daon Health is first. It fell only 1% while the index fell 5%. But change the period to 12 months and Daon Health drops to last, while Garam Electronics rises to first.
Lesson 241 showed how to compare a stock by dividing it by an index, and that losing less than the market is not making money. This lesson calculates that ratio line directly, decides how to set the comparison period, and how to compare with an industry ETF. Finally, it adds an absolute trend condition to relative strength and builds a rule that sorts candidates into Buy review, Watch and Exclude. All companies, indexes and numbers in this lesson are hypothetical examples made up for illustration.
1. The ratio line connects one return divided by another
First, write a stock's price and a market index at one-month intervals. The ratio line connects the stock price divided by the index. But a raw quotient such as 50 ÷ 4,000 = 0.0125 has no meaning by itself, so rescale it to 100 on the base date.
Ratio line = (stock price that day ÷ stock price on the base date) ÷ (index that day ÷ index on the base date) × 100
| Point in time | Stock price | Index | Ratio line (base date = 100) |
|---|---|---|---|
| Base date | $50 | 4,000 | 100 |
| 1 month later | $55 | 4,200 | 104.8 |
| 2 months later | $52 | 3,800 | 109.5 |
| 3 months later | $46 | 3,200 | 115.0 |
| 4 months later | $50 | 3,600 | 111.1 |
For example, 3 months later it is (46 ÷ 50) ÷ (3,200 ÷ 4,000) × 100 = 0.92 ÷ 0.80 × 100 = 115.0. On this day the stock is 8% below the base date, yet the ratio line is at its highest. That is because it fell only 8% while the index fell 20%. On the day the ratio line makes a new high, someone who bought this stock on the base date is sitting on an 8% loss.
The reverse also happens. From 3 months to 4 months later, the stock rose from $46 to $50, about 8.7%. Over the same period the index rose 12.5%, so the ratio line fell from 115.0 to 111.1. A stock can rise and still weaken in relative terms.
You can find how much the ratio line changed directly with the following formula.
Ratio change = (1 + stock return) ÷ (1 + index return) − 1 = (stock return − index return) ÷ (1 + index return)
For 3 months later, (−8% − (−20%)) ÷ 0.80 = 12 percentage points ÷ 0.80 = 15%. This formula is why Lesson 241 said the difference in returns and the rate of change in the ratio are not the same. The return difference is divided by (1 + index return), so in a period when the index fell sharply, the same difference shows up as a larger ratio change.
Even if you invest from a home currency such as the Korean won (KRW), the ratio line of a US stock against a US index is the same as the value computed in dollars. Multiplying the same day's stock price and index by the same exchange rate cancels the rate when you divide. Absolute return, however, must be written separately in your home currency, in KRW for a Korean investor.
2. Change the calculation period and first place changes
This time, compare three hypothetical stocks on the same day's closes. Garam Electronics is a semiconductor company, Narae Soft a software company and Daon Health a healthcare company. First, the price returns by period.
| Period | Index | Garam Electronics | Narae Soft | Daon Health |
|---|---|---|---|---|
| 1 month | −5% | −9% | −3% | −1% |
| 3 months | −8% | −6% | +6% | −5% |
| 6 months | +2% | +20% | +8% | −4% |
| 12 months | +12% | +54% | +10% | +1% |
Converting each cell with the formula of section 1 gives the ratio change against the index. For Garam Electronics over 12 months, it is 1.54 ÷ 1.12 − 1 = 0.375, or +37.5%. The rest are rounded to one decimal place.
| Period | Garam Electronics | Narae Soft | Daon Health | First place |
|---|---|---|---|---|
| 1 month | −4.2% | +2.1% | +4.2% | Daon Health |
| 3 months | +2.2% | +15.2% | +3.3% | Narae Soft |
| 6 months | +17.6% | +5.9% | −5.9% | Garam Electronics |
| 12 months | +37.5% | −1.8% | −9.8% | Garam Electronics |

Until you set the period, you cannot answer which stock is strong. In the month the index fell, the stock that fell less leads. Three months puts the stock that recently changed direction first, and 12 months the stock that has led for a long time. All three answers are calculated correctly. They simply answer different questions.
Each period has its price, too. A short period catches changes quickly, but the ranking changes often, and trading at each change piles up costs. A long period gives a stable ranking but keeps a stock that has started to turn in first place until late. Garam Electronics is first over 12 months but last over 1 month. So checking a short period and a long period together works better than using only one.
The end date also changes the result. If the start date falls on a day of a sharp rise or fall, the same 3 months can give very different values. End all stocks on the same day's close, and write the periods and the end date in the record.
3. Divide by an industry ETF to see where the strength came from
Is Garam Electronics' 12-month +37.5% because the company did well, or because the whole semiconductor industry rose? An industry ETF is an exchange-traded fund that bundles many stocks of one industry and trades like a stock. Say a hypothetical semiconductor industry ETF rose 40% over the same period.
- Industry ETF ÷ index: 1.40 ÷ 1.12 = 1.25, or +25%
- Garam Electronics ÷ industry ETF: 1.54 ÷ 1.40 = 1.10, or +10%
Stock ÷ index = (stock ÷ industry ETF) × (industry ETF ÷ index). So 1.25 × 1.10 = 1.375 gives back the original +37.5%. It is not 35%, the sum of 25% and 10%, because, as seen in Lesson 030, ratios chain by multiplying, not adding.
Splitting it this way shows that a large share of Garam Electronics' strength came from the industry. The company's own strength is the part by which it led the industry, 10%. If the semiconductor industry starts to weaken against the index, Garam Electronics' strength against the index is also likely to shrink. Had the ratio change against the industry ETF been below 0, it would mean the industry was strong but this company was weaker than its industry. Then a stronger stock in the same industry, or the industry ETF itself, is a better candidate.
When choosing an industry ETF, first check the weights of its top holdings. If Garam Electronics made up 20% of that ETF, you would partly be comparing Garam Electronics with itself. In that case, also look at the average of several stocks in the same industry, or use as the benchmark another industry ETF with a lower weight in any single stock.
4. Write relative strength and absolute gain or loss separately
Go back to Daon Health, first over 1 month. It is +4.2% against the index, but its price fell 1%. Someone who bought this stock a month ago lost money. Writing "1-month rise, first place" on the watchlist is a wrong record. The correct record is "fell less than the index, price −1%".
Put relative strength and price direction on two axes and you get four boxes. Each box has one example from the numbers in section 2.
| Against the index | Price rose | Price fell |
|---|---|---|
| Stronger than the index | Garam Electronics 6 months: +20%, index +2% | Daon Health 1 month: −1%, index −5% |
| Weaker than the index | Narae Soft 12 months: +10%, index +12% | Garam Electronics 1 month: −9%, index −5% |
Look for buy candidates in the top-left box. The top-right box holds stocks that held up in a falling market. The reason may be a change in the company, but it may also be that the stock is in an industry that moves less than the index anyway. Either way, it is not evidence that the price is in an uptrend. Nor can you know whether this stock rises more than the index when the index rises again.
So keep two columns in the record. In the relative column, write the ratio change; in the absolute column, the price return over the same period. When the two numbers have different signs, mark that fact with one word.
5. Combine the relative condition with an absolute trend condition
Choose candidates by relative strength alone and the top-right box of section 4 slips in. So add a condition that checks whether the price itself is in an uptrend. A moving average is the average of closes over a recent fixed period. For example, you could use rules like these.
- Relative condition: the 3-month and 12-month ratio changes against the index are both above 0, and the 12-month ratio change against the industry ETF is also above 0.
- Absolute condition: the close is above the 200-trading-day moving average, and that moving average is higher than 20 trading days ago.
- Verdict: if both pass, Buy review; if only one passes, Watch; if both fail, Exclude.
Today's closes and 200-trading-day moving averages of the three stocks are as follows. Garam Electronics: $77, average $70 ($68.50 twenty trading days ago). Narae Soft: $55, average $52 ($51.40 twenty trading days ago). Daon Health: $50.50, average $51.80 ($52.10 twenty trading days ago).
| Stock | Relative condition | Absolute condition | Status |
|---|---|---|---|
| Garam Electronics | Pass: 3 months +2.2%, 12 months +37.5%, vs industry +10% | Pass: $77 above the average, average rising | Buy review |
| Narae Soft | Fail: 12 months −1.8% | Pass: $55 above the average, average rising | Watch |
| Daon Health | Fail: 12 months −9.8% | Fail: $50.50 below the average, average falling | Exclude |
Narae Soft, first over 3 months, stays on Watch. It was strong for the last three months but has not yet caught up with the index over 12 months. Daon Health, first over 1 month, is excluded. Had you looked only at short-period rankings, these two stocks would have gone on the list first.
The price of this rule is lateness. Because of the 12-month condition, a stock that has just changed direction comes in a few months late. In exchange for accepting that lateness, you make fewer mistakes of buying a stock that merely fell less in a falling market as if it were a rising one. Make the verdict weekly on the same weekday's close, and write the date a status changes. Narae Soft is judged again in the week its 12-month ratio change passes 0.
A Buy review is not a buy. Set the entry price, stop-loss level and quantity separately with the method of Lesson 276. Lesson 247 covers how to tighten or loosen these standards according to the state of the whole market.
The record for this lesson is a stock, industry and index relative performance table. Write the benchmark index, the industry ETF and the end date at the top. For each stock, keep on one line the price returns and ratio changes by period, the absolute trend condition, and the status and date of the verdict.
Try it yourself
- Five months later, the stock of section 1 is $56 and the index 4,200. What is the ratio line value, and has it strengthened or weakened since 4 months later?
- Over the same 3 months, a hypothetical software industry ETF fell 2%. Split Narae Soft's +15.2% against the index into its change against the industry ETF and the industry ETF's change against the index.
- While the index fell 12% over 3 months, a stock fell 7%. What is its ratio change against the index, and in which of the four boxes of section 4 do you write it?
- If you change the relative condition of the section 5 rules to just "the 3-month ratio change against the index is above 0", what happens to the three stocks' statuses?
- Make the two tables of section 2 for three stocks you watch, their industry ETFs and a broad market index, and judge their statuses with the section 5 rules.
Answers
First, (56 ÷ 50) ÷ (4,200 ÷ 4,000) × 100 = 1.12 ÷ 1.05 × 100 = about 106.7. It is below the 111.1 of 4 months later, so it weakened in relative terms. In between, the stock rose from $50 to $56, 12%, but the index rose from 3,600 to 4,200, about 16.7%. Since 1.12 ÷ (4,200 ÷ 3,600) = 0.96, the ratio line fell 4%.
Second, the industry ETF ÷ index is 0.98 ÷ 0.92 = about 1.065, or +6.5%, and Narae Soft ÷ industry ETF is 1.06 ÷ 0.98 = about 1.082, or +8.2%. Multiplying the two gives 1.06 ÷ 0.92 = about 1.152, the original +15.2%. Unlike Garam Electronics, the company's own share is larger than the industry's share. It means the rise was not only thanks to the software industry rising together, which is a reason to watch whether it passes the 12-month condition.
Third, 0.93 ÷ 0.88 − 1 = about 0.057, or +5.7%. Calculating (−7% − (−12%)) ÷ 0.88 gives the same. The price fell, so write it in the box "stronger than the index, price fell". Do not record it as a rising stock, and do not put it on Buy review before it passes the absolute condition.
Fourth, the 3-month ratio changes are +2.2%, +15.2% and +3.3%, so all three stocks pass the relative condition. Garam Electronics and Narae Soft also pass the absolute condition and become Buy review; Daon Health fails the absolute condition and becomes Watch. Candidates grow quickly, but Narae Soft, weaker than the index over 12 months, enters Buy review. Statuses change as often as the 3-month ranking does, so choose by whether you can bear that trading frequency and cost.
Fifth, set a single end date and compute all values on that day's close. For each industry ETF, first check the weights of its top holdings. If first place differs by period, write that fact in one line below the table. Mark separately the cells where the ratio change and the price return have different signs.
