Long-term trend
SMA200 is calculated from the current session and the previous 199 security sessions.
RESEARCH INVESTIGATION 001
THE QUESTION
Trend Quality investigates whether stocks that remain consistently above their long-term trend subsequently outperform the market.
Historical testing produced promising evidence, but the effect was not uniform through time. The methodology has been frozen and the surviving hypothesis has moved into prospective validation.
Historical Development
COMPLETEStatistical Challenge
COMPLETERules Frozen
COMPLETEProspective Evidence
AWAITING OBSERVATIONSINVESTIGATION OVERVIEW
A historical pattern is not the finish line. It is a hypothesis that needs increasingly difficult tests.
This investigation separates historical development from statistical validation and, ultimately, from evidence gathered after the research rules were fixed.
HOW TREND QUALITY WORKS
Trend Quality does not ask only whether a stock is above its long-term trend on one particular day. It measures how far above that trend the stock has remained across an entire 63-session window.
THE SIGNAL
For each of the most recent 63 security sessions, measure the stock's adjusted closing price relative to its 200-session moving average. Then take the arithmetic mean.
SMA200 is calculated from the current session and the previous 199 security sessions.
The signal averages the stock's distance from SMA200 across exactly 63 security sessions rather than relying on a single observation.
A stock is eligible only when Adjusted Close is above SMA200 and SMA50 is also above SMA200.
FROM SIGNAL TO TEST
Universe
S&P 500Screen
Trend + liquidityRank
Highest signal firstPortfolios
Top 3 / 5 / 10Hold
20 sessionsCompare
Versus SPYFROZEN SPECIFICATION
Trend_Quality_63d
Exactly 63 security sessions
Current session + previous 199 sessions
Current session + previous 49 sessions
Adjusted Close > SMA200 and SMA50 > SMA200
Signal descending; ticker ascending for ties
Equal-weight Top 3 / Top 5 / Top 10
20 security sessions
SPY
Long-only; no rebalancing within the holding period
HISTORICAL EVIDENCE
Historical testing asked whether stocks with higher Trend Quality subsequently outperformed the market over the next 20 security sessions.
The initial results were encouraging. But a backtest can only describe what happened in the sample used to develop the idea. The next question was whether the evidence could survive harder tests.
PORTFOLIO RESULTS
Equal-weight portfolios formed from the highest-ranked eligible stocks produced positive average excess returns in the historical development sample.
Average excess return
vs. SPY · historical development sampleAverage excess return
vs. SPY · historical development sampleAverage excess return
vs. SPY · historical development sampleTHE IMPORTANT PART
A strong full-sample average can hide instability. When the historical record was divided into fixed time periods, the relationship was weak or negative in the earlier portions of the sample and substantially stronger later.
That does not erase the historical result. It changes what the result can reasonably tell us.
TEMPORAL STABILITY
Mean rank correlation between Trend Quality and subsequent 20-session returns.
Mean Spearman rank correlation
Little evidence of a positive relationship.Mean Spearman rank correlation
The relationship was negative in this period.Mean Spearman rank correlation
The positive relationship was concentrated here.WHAT WE LEARNED
The historical study produced a pattern worth continuing to investigate, but it also exposed an important weakness: temporal instability.
Instead of adjusting the rules to improve the historical record, the methodology was frozen. The surviving hypothesis would have to face new observations collected only after the research rules were frozen.
STATISTICAL CHALLENGE
Historical performance alone cannot answer that question. So the signal was subjected to a randomization test designed around a simple null hypothesis.
Within each evaluation date, the relationship between Trend Quality and subsequent returns was repeatedly broken by random permutation while preserving the date-level structure of the data.
THE PRIMARY NULL
If that null were true, randomly rearranging the signal within each evaluation date should routinely produce results comparable to the observed relationship.
RANDOMIZATION TEST
100,000Each permutation created a version of the historical sample in which the within-date link between signal rank and future return was intentionally broken.
Preserve the historical cross-section and evaluation-date structure.
Randomly permute the signal within each evaluation date.
Measure the rank relationship produced under the null.
Compare the observed result with the randomized distribution.
PRIMARY RANK TEST
The primary statistic was the mean Spearman rank correlation between Trend Quality and subsequent 20-session security returns across the historical evaluation dates.
Historical development sample
Frozen positive-direction null
Reported as additional context
INTERPRETATION
Under the frozen one-sided test, the observed mean rank relationship was uncommon enough under the randomized null to cross the pre-specified threshold.
But that result does not show that the relationship was equally present throughout history, nor does it establish that the pattern will continue in future data.
TWO DIFFERENT QUESTIONS
The permutation test challenged the statistical relationship under a frozen null model.
The fixed temporal split showed that the positive relationship was concentrated in the later historical period.
THE DECISION
The statistical challenge gave us a reason to keep investigating, not a reason to rewrite the rules around the historical result.
The signal definition, filters, ranking rules, portfolio construction, holding period, and benchmark convention were frozen. From that point forward, the next meaningful evidence would have to come from genuinely new observations.
PROSPECTIVE VALIDATION
Historical research can reveal a pattern, but it cannot recreate the conditions of a genuinely unseen test.
From the moment the methodology was frozen, a qualifying observation would count only if the required inputs and research snapshot existed before the outcome became known.
CURRENT RESEARCH STATUS
Pristine prospective observations
Current validated sequenceNo post-freeze observation has yet satisfied the full prospective evidence requirements.
WHAT COUNTS AS PROSPECTIVE?
The prospective policy is intentionally strict. A result cannot be promoted into the live evidence sequence simply because the necessary historical data can be reconstructed later.
Retrospective reconstruction does not become prospective evidence.
A missed scheduled observation remains missed and is never inserted later.
The research inputs must be captured and preserved before the forward return is known.
A material methodology change ends the original pristine sequence rather than rewriting it.
MISSED OBSERVATIONS
Three scheduled dates passed before a qualifying pristine snapshot was captured. They remain part of the audit trail, but they do not count as prospective evidence.
THE RESEARCH BOUNDARY
WHAT COMES NEXT
WHERE THE INVESTIGATION STANDS
Trend Quality produced historically interesting evidence and survived a pre-specified one-sided statistical challenge. It also showed meaningful instability across historical periods.
The methodology is now frozen. Until genuinely prospective observations accumulate, the historical result remains a hypothesis under investigation rather than a prospective finding.