Methodology
Exactly how every figure is calculated.
Timeframes
The method is defined on daily data. On a daily chart the averages are 50, 150 and 200 days and a year is 252 sessions. On a weekly chart they become 10, 30 and 40 weeks and a year is 52 weeks. Other timeframes show a notice instead of results. About one year of history is needed before the rules can be checked.
The eight trend rules
| Rule | Passes when |
|---|---|
| 1 | Close > 150-day SMA and close > 200-day SMA |
| 2 | 150-day SMA > 200-day SMA |
| 3 | 200-day SMA today > 200-day SMA 21 sessions ago |
| 4 | 50-day SMA > 150-day SMA and 50-day SMA > 200-day SMA |
| 5 | Close > 50-day SMA |
| 6 | Close ≥ 52-week low × 1.30 |
| 7 | Close ≥ 52-week high × 0.75 |
| 8 | RS score ≥ 70 and weighted 12-month performance above the benchmark’s |
A stock is a leader when all eight pass. The 52-week high and low use the daily highs and lows.
RS score
RS score = (RS line − lowest RS line of 52 weeks) ÷ (highest − lowest) × 100
Rule 8 compares the stock’s weighted performance with the benchmark’s
Why against the index: published RS ratings rank a stock against every other stock in the market. An indicator on TradingView works with the chart symbol and its benchmark, so the RS score measures strength against the index. Strong leaders score high on both; borderline readings can differ slightly.
To compare relative strength across whole sectors or a custom list of stocks at once, use the Asset Rotation Terminal.
The base
The base starts at the highest high of the last 26 weeks and runs to the latest bar. It must have lasted at least 3 weeks, and it is only analysed when the long-term trend is up (rules 2 and 3 pass).
Inside the base the indicator walks the swing highs — bars higher than the five bars on each side (two on a weekly chart). Each pullback runs from a swing high to the lowest low before the next accepted swing high; the last pullback runs to the latest bar. Dips shallower than 3% are ignored.
The base is tight when all of these hold:
- • at least two pullbacks;
- • each pullback is smaller than the one before (a pullback may exceed the previous one by up to 15% of its size, so nearly equal pullbacks still count);
- • the first pullback is no deeper than 35%;
- • the last pullback is no deeper than 10%.
Pivot, buy zone and stop
| Level | Definition |
|---|---|
| Pivot | High of the last pullback |
| Buy zone | Pivot to pivot × 1.05 |
| Stop | Low of the last pullback; flagged when more than 8% below the close |
Breakout
A breakout is the first daily close above the pivot of a tight base while all eight rules pass. Only one breakout is counted per base. It is strong when that day’s volume is at least 1.4× the 50-day average volume. The status shows BREAKOUT for up to 10 sessions while the price stays inside the buy zone.
Extended
A leader is marked extended when its close is 25% or more above the 50-day average.
Market trend
Rules 1 to 7 are applied to the benchmark index itself and counted: 6–7 = uptrend, 4–5 = mixed, 0–3 = downtrend.
Repainting
All rules use closing values. Swing highs are confirmed five bars after they occur, so the pullback boxes of the current base can still change while the base is forming; past breakout labels and the green shading do not change once the bar has closed.