Momentum & Trend
Version: 29 September 2026
Language: English
Purpose: Technical analysis / quantitative research / MarketLens design reference
Focus: Clearly distinguish Momentum, Trend, Cross-sectional Momentum, Time-series Momentum, and Trend Following
Table of Contents
Section titled “Table of Contents”- Core Answer: Do Momentum and Trend Have to Be Combined?
- The Most Important Terminology
- The Foundation of All Calculations: Price, Return, Log Return, Excess Return
- Momentum: Major Academic Research and Formulas
- 4.1 Jegadeesh & Titman: Cross-sectional Momentum
- 4.2 Carhart / Kenneth French: 12–2 Momentum Factor
- 4.3 Moskowitz & Grinblatt: Industry Momentum
- 4.4 Lee & Swaminathan: Momentum + Trading Volume
- 4.5 George & Hwang: 52-Week High Momentum
- 4.6 Blitz, Huij & Martens: Residual Momentum
- 4.7 Novy-Marx: Intermediate-Horizon Momentum
- 4.8 Moskowitz, Ooi & Pedersen: Time-Series Momentum
- 4.9 Asness, Moskowitz & Pedersen: Momentum Everywhere
- 4.10 Fama & French: International Momentum
- 4.11 Barroso & Santa-Clara: Risk-Managed Momentum
- 4.12 Daniel & Moskowitz: Momentum Crashes
- Trend: Major Academic Research and Formulas
- 5.1 Simple Moving Average
- 5.2 Exponential Moving Average
- 5.3 Moving-Average Crossover
- 5.4 Brock, Lakonishok & LeBaron: Moving Average / Trading Range Break
- 5.5 Time-Series Momentum as Trend Following
- 5.6 Hurst, Ooi & Pedersen: Multi-Horizon Trend
- 5.7 Levine & Pedersen: A Unified Framework for Trend Filters
- 5.8 Han, Zhou & Zhu: Trend Factor
- 5.9 Regression Trend / Slope
- 5.10 Breakout / Trading Range
- The Real Difference Between Momentum and Trend
- Summary Table of Common Indicator Formulas
- How to Normalize and Compare Different Signals
- Current MarketLens
edges.pyApproach - MarketLens: Recommended Separation of Momentum and Trend
- Avoiding Double Counting
- Backtesting: How to Know Whether a Formula Really Has an Edge
- Simple Numerical Example
- Summary of Major Researchers and Studies
- Implementation Priority
- Important Limitations
- References
1. Core Answer: Do Momentum and Trend Have to Be Combined?
Section titled “1. Core Answer: Do Momentum and Trend Have to Be Combined?”No.
Momentum and Trend are highly related, but they are not the same concept in financial research.
The simplest way to understand them is:
- Trend asks: “Is price currently moving in a persistent upward or downward direction?”
- Momentum asks: “Does past price performance tend to continue, and which stocks or assets have been strongest?”
- Cross-sectional Momentum asks: “Relative to stocks B, C, and D, is stock A a winner or a loser?”
- Time-series Momentum asks: “Was this asset’s own past return positive or negative, and does that direction tend to persist?”
- Trend Following is a class of trading rules: go long in an uptrend and go short or stay out in a downtrend.
Therefore:
Time-Series Momentum can be viewed as one very important mathematical form of Trend Following; however, Cross-sectional Momentum is not the same as Trend.
Four Possible Cases
Section titled “Four Possible Cases”| Case | Trend | Momentum | Interpretation |
|---|---|---|---|
| A | Strong uptrend | Strong | The classic winner |
| B | Uptrend | Weakening | Price is still rising, but the rate of advance is slowing |
| C | Downtrend | Short-term strengthening | Bear-market rally / early reversal |
| D | Sideways | Short-term strong | Temporary breakout, but long-term trend is not yet confirmed |
There is an even more important example.
Suppose a stock fell 2% over the past 12 months while the market fell 20%.
- Absolute trend / time-series momentum: it may still be negative.
- Cross-sectional / relative momentum: it may already rank as one of the strongest winners in the market.
So the two should not be mechanically tied together.
2. The Most Important Terminology
Section titled “2. The Most Important Terminology”| English Term | Meaning | Core Question |
|---|---|---|
| Momentum | Momentum | Does past strength tend to continue? |
| Price Momentum | Price Momentum | What was the asset’s own past return? |
| Cross-sectional Momentum | Cross-sectional Momentum | Which stocks are stronger or weaker relative to others? |
| Time-series Momentum | Time-series Momentum | Does an asset’s own positive / negative past return persist? |
| Relative Strength | Relative Strength | How strong is the stock relative to other stocks or a benchmark? |
| Trend | Trend | Is price moving persistently in one direction? |
| Trend Following | Trend Following | Take positions in the direction of an established trend |
| Moving Average | Moving Average | Smooth price to estimate trend |
| Breakout | Breakout | Price moves beyond a previous range or high |
| 52-Week High | 52-Week High | How close is the current price to its one-year high? |
| Residual Momentum | Residual Momentum | Momentum after removing market / size / value factor effects |
| Risk-Managed Momentum | Risk-Managed Momentum | Adjust momentum exposure according to volatility |
| Trend Filter | Trend Filter | Transform past prices / returns into a trend signal |
3. The Foundation of All Calculations: Price, Return, Log Return, Excess Return
Section titled “3. The Foundation of All Calculations: Price, Return, Log Return, Excess Return”3.1 Simple Return
Section titled “3.1 Simple Return”If today’s price is (P_t) and the price (k) periods ago is (P_{t-k}):
Example:
- 63 trading days ago: 100
- Today: 115
Then:
This is similar to the concept behind MarketLens ROC63.
3.2 Log Return
Section titled “3.2 Log Return”Log return is defined as:
where:
- (P_t): current-period price
- (P_{t-1}): previous-period price
- (\ln): natural logarithm
Why Can Log Returns Be Added Directly?
Section titled “Why Can Log Returns Be Added Directly?”The most important logarithm rule is:
In other words, multiplication becomes addition inside a logarithm.
But note:
The expression above is incorrect.
For example:
and:
while:
The difference is only rounding.
Formal Derivation of the Logarithm Addition Rule
Section titled “Formal Derivation of the Logarithm Addition Rule”Suppose:
Then:
Similarly:
Then:
Multiply the two:
Using the exponential rule:
Therefore:
Take the natural logarithm of both sides:
Because:
we obtain:
Substituting:
gives:
Why Is This Useful for Multi-Period Returns?
Section titled “Why Is This Useful for Multi-Period Returns?”Suppose the stock price is:
- Day 0: (P_0=100)
- Day 1: (P_1=110)
- Day 2: (P_2=121)
The Day 1 log return is:
The Day 2 log return is:
The two daily log returns can be added directly:
Using:
we obtain:
The middle 110 cancels:
Therefore:
Generalizing to (n) periods:
Using the logarithm addition rule:
All intermediate prices cancel, leaving:
So remember:
Multi-period Simple Returns must be compounded; multi-period Log Returns can be added directly.
Simple cumulative return:
Therefore:
For log returns:
The conversion between the two is:
and:
For example, if total log return is:
convert it back to simple return:
This is why log returns are especially convenient in volatility calculations, statistical analysis, and time-series models.
3.3 Excess Return
Section titled “3.3 Excess Return”The most common meaning of excess return is:
Asset return minus the risk-free return.
Formula:
where:
- (R_t): asset return
- (R_{f,t}): risk-free return over the same period
- (R_t^{excess}): how much more or less the asset earned relative to a risk-free investment
Example:
- Stock return = (12%)
- Risk-free return = (4%)
Then:
So the investment earned 8% more than the risk-free alternative.
Why Subtract the Risk-Free Rate?
Section titled “Why Subtract the Risk-Free Rate?”Investing in stocks involves additional risk.
If a stock returns 6%, but a near-risk-free investment would have returned 5% over the same period, then the extra return received for taking the additional risk is only:
So excess return is closer to:
The return earned above a low-risk alternative after taking risk into account.
Use in Momentum
Section titled “Use in Momentum”For example, an MSCI-style momentum measure can be written as:
where:
is the stock’s price return over the period. Subtracting (R_f) gives the excess return relative to the risk-free rate.
Excess Return Can Also Be Defined Relative to Another Benchmark
Section titled “Excess Return Can Also Be Defined Relative to Another Benchmark”In some contexts, excess return is used more broadly as:
For example:
More precisely, this is a benchmark-relative return.
In asset-pricing models such as CAPM, excess return usually specifically means:
while market excess return is:
Time-series momentum research also often uses excess returns because researchers want to know whether an asset’s own past return exceeded the risk-free return and whether that direction subsequently persisted.
3.4 Annualized Volatility
Section titled “3.4 Annualized Volatility”Annualized volatility is:
A way to convert return volatility observed over a shorter period, such as daily, weekly, or monthly, into an annual scale.
Volatility is usually the standard deviation of returns.
If daily return standard deviation is (\sigma_d):
because the US equity market has approximately 252 trading days per year.
For example, if daily volatility is:
then:
Since:
we get:
So we can say:
The stock’s annualized volatility is approximately 31.7%.
Why Multiply by (\sqrt{252}) Instead of 252?
Section titled “Why Multiply by (\sqrt{252}) Instead of 252?”Suppose daily return variance is:
If daily returns are approximately independent, then the variance of an (n)-day return is approximately:
But volatility is standard deviation, which is the square root of variance:
Therefore:
So converting daily volatility into annualized volatility gives:
not:
Annualizing Weekly Volatility
Section titled “Annualizing Weekly Volatility”There are approximately 52 weeks in a year:
Annualizing Monthly Volatility
Section titled “Annualizing Monthly Volatility”There are 12 months in a year:
The general formula is:
Annualized Volatility Is Not an Annual Return Forecast
Section titled “Annualized Volatility Is Not an Annual Return Forecast”If a stock has annualized volatility of 31.7%, that does not mean:
- it will definitely rise 31.7% in one year; or
- it will definitely fall 31.7% in one year.
It is a statistical measure of return dispersion / variability, not an expected-return forecast.
Role in Risk-Adjusted Momentum
Section titled “Role in Risk-Adjusted Momentum”A common form of risk-adjusted momentum is:
Suppose two stocks both rose 30%.
Stock A:
Stock B:
Then:
while:
Both stocks have the same raw return, but Stock A achieved the return with lower volatility, so its risk-adjusted momentum is higher.
Trading-Day Convention
Section titled “Trading-Day Convention”Some studies use 252, 260, 261, or other trading-day constants.
For example:
The key point is not that one constant must always be used, but that:
The same annualization convention should be used consistently throughout the research, backtest, and production system.
4. Momentum: Major Academic Research and Formulas
Section titled “4. Momentum: Major Academic Research and Formulas”There are far too many momentum papers to cover every study in one document. The sections below focus on the most representative and widely cited research streams that directly influence practical calculation methods.
4.1 Jegadeesh & Titman (1993): Cross-sectional Momentum
Section titled “4.1 Jegadeesh & Titman (1993): Cross-sectional Momentum”Classic paper:
Narasimhan Jegadeesh & Sheridan Titman (1993), Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency.
The core idea is not to decide whether a single stock is “in an uptrend.” Instead:
- Consider many stocks.
- Calculate each stock’s return over the previous (J) months.
- Rank them.
- Buy the group with the highest past returns.
- Short the group with the lowest past returns.
- Hold for (K) months.
Formation Return
Section titled “Formation Return”General form:
Or approximately:
Then rank all stocks according to (MOM_{i,t}^{(J)}).
Winner / Loser Portfolio
Section titled “Winner / Loser Portfolio”Let:
- (W_t): the group of stocks with the highest past returns
- (L_t): the group with the lowest past returns
Then the zero-cost momentum portfolio is:
Jegadeesh and Titman tested multiple (J/K) combinations, including 3-, 6-, 9-, and 12-month formation and holding periods.
Key Concept
Section titled “Key Concept”This is relative / cross-sectional.
A stock does not need to be in a beautiful absolute uptrend. As long as it is stronger than other stocks, it may enter the winner group.
4.2 Carhart / Kenneth French: 12–2 Momentum Factor
Section titled “4.2 Carhart / Kenneth French: 12–2 Momentum Factor”Carhart (1997) added a momentum factor to the Fama-French framework, producing the widely used four-factor model:
What Is the Carhart Four-Factor Model?
Section titled “What Is the Carhart Four-Factor Model?”The purpose of the Carhart Four-Factor Model is not to directly tell you which stock to buy. Instead, it attempts to explain:
How much of a stock, portfolio, or fund return comes from the overall market, company size, value/growth exposure, momentum exposure, and how much remains unexplained by these four factors.
Conceptually:
The original Fama-French Three-Factor Model included:
Carhart (1997) added:
creating the Four-Factor Model.
Intuition Behind the Four Factors
Section titled “Intuition Behind the Four Factors”| Factor | Full Name | Core Question |
|---|---|---|
| (R_M-R_f) | Market Excess Return | How did the overall equity market perform relative to a risk-free asset? |
| SMB | Small Minus Big | Did small-cap stocks outperform large-cap stocks? |
| HML | High Minus Low | Did value stocks outperform growth stocks? |
| MOM | Momentum / Winners Minus Losers | Did past winners outperform past losers? |
Factor 1: Market Factor
Section titled “Factor 1: Market Factor”The market factor is:
where:
- (R_M): market return
- (R_f): risk-free return
Example:
- Market return = (10%)
- Risk-free return = (4%)
Then:
So:
Meaning:
Investing in the broad equity market earned 6% more than a near-risk-free asset.
If a portfolio has:
you can loosely interpret this as:
The portfolio has greater market sensitivity than the market itself; for each 1 percentage point change in market excess return, portfolio excess return has, on average, about 1.2 percentage points of factor exposure.
Factor 2: SMB — Small Minus Big
Section titled “Factor 2: SMB — Small Minus Big”SMB stands for:
Small Minus Big
It captures the Size Factor.
The core question is:
Did small-cap stocks outperform large-cap stocks during the period?
A highly simplified expression is:
Suppose:
- Small-cap portfolio return = (12%)
- Large-cap portfolio return = (8%)
Then:
So:
Meaning:
Small-cap stocks earned about 4% more than large-cap stocks during that period.
If:
then large-cap stocks were relatively stronger.
Academic SMB Construction
Section titled “Academic SMB Construction”In the typical Fama-French 2 × 3 portfolio construction, stocks are first sorted by:
- Size: Small / Big
- Book-to-Market: Low / Medium / High
This creates six portfolios.
A simplified expression is:
where:
- (S) = Small
- (B) = Big
- (L) = Low book-to-market
- (M) = Medium book-to-market
- (H) = High book-to-market
The purpose is to isolate the size effect as much as possible from value/growth composition.
How Should SMB Beta Be Interpreted?
Section titled “How Should SMB Beta Be Interpreted?”If a portfolio regression produces:
the portfolio has a relatively clear small-cap tilt.
If:
its size-factor exposure is weak.
If:
the portfolio generally tilts toward large-cap stocks.
For example:
and:
then the model-implied size-factor contribution is approximately:
Factor 3: HML — High Minus Low
Section titled “Factor 3: HML — High Minus Low”HML stands for:
High Minus Low
But here, High / Low does not refer to momentum high / low.
It refers to:
High Book-to-Market Minus Low Book-to-Market
Book-to-Market ratio:
Generally:
- High (B/M) → Value stocks
- Low (B/M) → Growth stocks
So HML is a Value Factor.
Conceptually:
Simple Book-to-Market Example
Section titled “Simple Book-to-Market Example”Company A:
- Book equity = $50m
- Market cap = $100m
Then:
Company B:
- Book equity = $50m
- Market cap = $500m
Then:
Company A has the higher book-to-market ratio, so it is relatively more “value-like.”
Company B has the lower book-to-market ratio, so it is relatively more “growth-like.”
HML Numerical Example
Section titled “HML Numerical Example”Suppose:
- High book-to-market / Value portfolio return = (11%)
- Low book-to-market / Growth portfolio return = (7%)
Then:
So:
Meaning:
Value stocks earned about 4% more than growth stocks during the period.
If:
then growth stocks outperformed value stocks.
Academic HML Construction
Section titled “Academic HML Construction”A typical simplified form is:
where:
- (H) = High book-to-market = Value
- (L) = Low book-to-market = Growth
Therefore:
How Should HML Beta Be Interpreted?
Section titled “How Should HML Beta Be Interpreted?”If:
the portfolio tilts toward value stocks.
If:
the portfolio tilts toward growth stocks.
For example:
and:
then the value-factor contribution is:
A negative (\beta_H) indicates a growth tilt, so the portfolio is negatively affected when value outperforms growth.
Very Important: HML High/Low Is Not Momentum High/Low
Section titled “Very Important: HML High/Low Is Not Momentum High/Low”This is an easy point to confuse.
For HML:
High = High Book-to-Market = ValueLow = Low Book-to-Market = GrowthFor Momentum:
High = High Prior Return = WinnerLow = Low Prior Return = LoserTherefore:
The words High and Low appear in both, but they refer to completely different sorting variables.
Factor 4: MOM — Momentum Factor
Section titled “Factor 4: MOM — Momentum Factor”MOM captures:
The future return difference between past winners and past losers.
Simplified:
Example:
- Winner portfolio = (13%)
- Loser portfolio = (5%)
Then:
So:
Meaning:
Past winners earned about 8% more than past losers during that period.
The 12–2 momentum ranking described later in this section is one important academic convention used to form these winner / loser portfolios.
What Is Alpha?
Section titled “What Is Alpha?”The model is:
After accounting for all four factor exposures, the remaining average intercept is:
Conceptually:
The average excess return not explained by the four known factors in the model.
If:
then average actual return was higher than what the four factor exposures explain.
But be careful:
Positive alpha should not automatically be interpreted as “manager skill.”
You also need to consider:
- statistical significance
- sample length
- transaction costs
- omitted factors
- model specification
- survivorship bias
and related issues.
What Is Beta?
Section titled “What Is Beta?”Each (\beta) is the portfolio’s sensitivity / exposure to a factor.
For example:
means relatively high market exposure.
means a modest small-cap tilt.
means a modest growth tilt.
means positive momentum exposure.
A simple way to remember them:
βM = sensitivity to the marketβS = sensitivity to the size factorβH = sensitivity to the value factorβMOM = sensitivity to the momentum factorWhat Is Epsilon?
Section titled “What Is Epsilon?”is the regression residual / unexplained period-specific return.
Conceptually:
Therefore:
represents the short-term deviation not explained by the model during a particular period.
It is not the same as (\alpha):
- (\alpha): regression intercept / average component not explained by the factors
- (\epsilon_t): period-specific residual shock
A Complete Numerical Example
Section titled “A Complete Numerical Example”Suppose a portfolio has:
and the factor returns for the period are:
Assume:
and, for simplicity:
Then portfolio excess return is explained by:
Market contribution:
Size contribution:
Value contribution:
Momentum contribution:
Plus alpha:
Therefore:
If the risk-free return is:
then total portfolio return is:
So:
What Does This Example Tell Us?
Section titled “What Does This Example Tell Us?”The portfolio’s 16% total return is not all “alpha.”
The model decomposes it into:
Risk-free return 4.0%Market exposure 6.6%Size exposure 1.2%Value exposure -0.8%Momentum exposure 4.0%Alpha 1.0%--------------------------------Total 16.0%So although the portfolio appears to earn 16%, the model attributes most of that return to:
- broad market exposure
- small-cap exposure
- growth/value exposure
- momentum exposure
In this simplified example, the component unexplained by the four factors is only:
How Is the Four-Factor Model Estimated?
Section titled “How Is the Four-Factor Model Estimated?”Real research does not decompose just one month.
Researchers usually use many periods of historical data, such as monthly returns:
and estimate a time-series regression:
The regression estimates:
So the one-period example above is only an illustrative example of factor contributions. In practice, beta and alpha are estimated from multi-period regressions.
How Is the Four-Factor Model Useful for MarketLens?
Section titled “How Is the Four-Factor Model Useful for MarketLens?”MarketLens does not necessarily need to use the Carhart model directly for everyday stock ranking.
It is more useful for:
1. Factor Exposure Analysis
Section titled “1. Factor Exposure Analysis”For example, determine whether a MarketLens portfolio is effectively just:
High market beta+ small-cap tilt+ growth tilt+ momentum tiltrather than having an independent edge.
2. Performance Attribution
Section titled “2. Performance Attribution”Decompose portfolio return:
3. Residual Momentum
Section titled “3. Residual Momentum”The Residual Momentum section later uses a similar idea:
Remove returns explained by market / size / value factors first, then study the remaining firm-specific momentum.
4. Check for Double Counting
Section titled “4. Check for Double Counting”If a MarketLens strategy already has strong momentum-factor exposure, adding many similar momentum signals may simply repeat the same exposure.
Simplest Way to Remember the Model
Section titled “Simplest Way to Remember the Model”Remember the Carhart Four-Factor Model as:
where:
Market = Rm − RfSMB = Small − BigHML = Value − GrowthMOM = Winners − Losersand:
Alpha = average return component not explained by the factorsBeta = exposure / sensitivity to each factorEpsilon = period-specific residual not explained by the modelMost importantly:
while:
Today, a common academic momentum definition is prior 12-to-2 month return, which usually skips the most recent month to reduce short-term reversal / microstructure effects.
What Exactly Does 12–2 Mean?
Section titled “What Exactly Does 12–2 Mean?”Suppose we are about to form a portfolio in month (t).
12–2 momentum does not use the entire most recent 12 months. Instead, it uses:
and deliberately skips:
which is the most recent completed month.
Timeline:
Past Portfolio month
t-12 t-11 ... t-3 t-2 t-1 t |---------------------------| USED FOR MOMENTUM SKIP INVESTTherefore:
12–2 Momentum looks at roughly 11 months of cumulative return and skips the most recent month.
The Kenneth French Data Library often writes this as:
prior (2–12) return
which refers to the same general 12–2 lookback convention.
Simple Return Formula for 12–2 Momentum
Section titled “Simple Return Formula for 12–2 Momentum”If the current month is (t):
Because these are simple returns, multi-period returns cannot simply be added; they must be compounded:
For example, if several monthly returns are:
you should not simply write:
Instead:
Expressing 12–2 Momentum Using Prices
Section titled “Expressing 12–2 Momentum Using Prices”If monthly simple return is:
then:
Therefore:
can be expanded as:
All intermediate prices cancel:
So:
This price form makes the structure clear:
- endpoint is (t-2)
- the most recent month (t-1) is skipped
- starting price is (t-13), because we need the returns from (t-12) through (t-2)
A Concrete Calendar Example
Section titled “A Concrete Calendar Example”Suppose you form a portfolio in October 2026.
The most recent completed month is:
September 202612–2 momentum uses:
Oct 2025 → Aug 2026 Sep 2026 Oct 2026|--------------------| |--------| |-------| Momentum window Skip month HoldThat means:
- approximately October 2025 through August 2026
- September 2026 is excluded from the momentum ranking
- the portfolio is formed / held in October 2026
Suppose:
and:
Then:
So the 12–2 momentum signal is:
Even if the price rose from 140 to 170 in September 2026, that most recent monthly gain would not be included in this 12–2 signal.
Why Deliberately Skip the Most Recent Month?
Section titled “Why Deliberately Skip the Most Recent Month?”This is one of the most important design choices in 12–2 momentum.
Medium-term return continuation and very-short-term price behavior are not exactly the same.
The most recent month may be affected by:
- short-term reversal
- temporary overreaction
- bid-ask / microstructure effects
- news shock
- very short-term mean reversion
Academic momentum therefore often separates out the most recent month so it does not dominate the medium-term momentum signal.
For example:
Longer-term path:100 → 105 → 112 → 120 → 130 → 140
Most recent month:140 → 125If you use a simple trailing return, the most recent month’s sharp decline reduces momentum significantly.
12–2 momentum asks:
Before this most recent short-term fluctuation, was the stock a strong medium-term winner?
That is not exactly the same as asking:
How much did the stock rise over the most recent 12 months in total?
12–2 Momentum vs Ordinary Trailing 12-Month Return
Section titled “12–2 Momentum vs Ordinary Trailing 12-Month Return”Ordinary trailing 12-month return may be written as:
It includes the most recent month.
But 12–2 momentum is:
which deliberately excludes the most recent month.
For example:
100 → 150 → 120Suppose 150 was the price one month ago and 120 is the current price.
Ordinary trailing return may be only:
while skipped-month momentum may still be close to:
The two measures capture different information.
Important: A Stock’s 12–2 Return Is Not Yet a Momentum Factor
Section titled “Important: A Stock’s 12–2 Return Is Not Yet a Momentum Factor”Suppose Oracle has:
This only means:
Oracle’s own 12–2 momentum signal is 35%.
It is not yet the academic momentum factor.
To construct Cross-sectional Momentum, you need to calculate the same signal across the entire stock universe.
For example:
| Stock | 12–2 Return |
|---|---|
| A | +75% |
| B | +48% |
| ORCL | +35% |
| D | +10% |
| E | -8% |
| F | -40% |
Then rank all stocks.
You can further convert the ranking into:
For example, if ORCL is stronger than 88% of the universe:
So for MarketLens, these two numbers should be stored separately:
MOM12_2 = 35%MomentumPercentile = 88How Does Kenneth French Turn It Into a True MOM Factor?
Section titled “How Does Kenneth French Turn It Into a True MOM Factor?”The Kenneth French momentum factor does not simply rank stocks by momentum; it also considers size.
Stocks are first split into:
SmallBigand then, based on prior (2–12) return:
LowNeutralHighThis forms six portfolios:
SL = Small LowSN = Small NeutralSH = Small High
BL = Big LowBN = Big NeutralBH = Big Highwhere:
High= winnersLow= losers
A simplified momentum-factor expression is:
That is:
Some literature uses:
WML = Winners Minus Losersto describe the same basic concept.
12–2 Signal and MOM Factor Return Occur at Different Times
Section titled “12–2 Signal and MOM Factor Return Occur at Different Times”This is crucial in backtesting.
12–2 return is the formation signal.
It uses past data to determine:
Who is a winner?Who is a loser?The actual MOM factor return is:
The subsequent holding-period return difference between the winner and loser portfolios.
Therefore:
Past 12–2 Return ↓Cross-sectional Ranking ↓Winner / Loser Groups ↓Hold Portfolios ↓Future Winner Return − Future Loser Return ↓Momentum Factor ReturnSo:
Numerical Example of MOM Factor Return
Section titled “Numerical Example of MOM Factor Return”Suppose next month:
Small Winners:
Big Winners:
Small Losers:
Big Losers:
Winner portfolio:
Loser portfolio:
Momentum factor:
So:
Note:
This 3.5% is not the past 12–2 return. It is the next-period realized winner-minus-loser return after portfolios were formed using the past 12–2 ranking.
Cleanest Implementation for MarketLens
Section titled “Cleanest Implementation for MarketLens”MarketLens should avoid compressing all momentum information into one number immediately.
Instead, retain:
Ticker: ORCL
MOM12_2 = 31.4%ROC63 = 8.2%MOM12_2 Percentile = 91They represent:
MOM12_2
Section titled “MOM12_2”Academic-style medium-term momentum:
More recent, roughly three-month momentum:
MOM12_2 Percentile
Section titled “MOM12_2 Percentile”ORCL’s 12–2 momentum ranking relative to the entire universe:
For example:
MOM12_2 = 31.4%ROC63 = 8.2%MOM12_2 Percentile = 91can be interpreted as:
ORCL rose about 31.4% over the academic 12–2 window; its more recent 63-session momentum is +8.2%; and its 12–2 momentum is stronger than roughly 91% of the stock universe.
This is much clearer than immediately adding all the numbers together and is better suited to testing each signal independently.
Most Important Conceptual Flow
Section titled “Most Important Conceptual Flow”Remember:
where:
- 12–2 Return = signal
- Percentile / Rank = relative strength in the universe
- Winner / Loser grouping = portfolio formation
- Future WML return = academic momentum factor realization
Do not mix these four stages into one number.
French MOM Factor
Section titled “French MOM Factor”Simplified:
This definition is very useful as an academic baseline for MarketLens.
4.3 Moskowitz & Grinblatt (1999): Industry Momentum
Section titled “4.3 Moskowitz & Grinblatt (1999): Industry Momentum”Paper:
Tobias Moskowitz & Mark Grinblatt (1999), Do Industries Explain Momentum?
Core idea:
A portion of stock-level momentum may come from industry momentum.
Industry Return
Section titled “Industry Return”Suppose industry (g) contains (N_g) stocks:
where (w_i) can be equal weight or value weight.
Then calculate the industry’s formation-period return:
Then:
- Buy winning industries
- Short losing industries
Relevance to MarketLens
Section titled “Relevance to MarketLens”If Oracle has strong stock-level momentum and the software / technology industry also has strong momentum, the signal is more complete than looking at the stock alone.
4.4 Lee & Swaminathan (2000): Momentum + Trading Volume
Section titled “4.4 Lee & Swaminathan (2000): Momentum + Trading Volume”Paper:
Charles Lee & Bhaskaran Swaminathan (2000), Price Momentum and Trading Volume.
They show that past trading volume contains information about the magnitude and persistence of momentum.
Turnover
Section titled “Turnover”A common turnover definition is:
Multi-period average:
Research may double-sort stocks by:
- past return momentum
- past turnover / volume
Simplified MarketLens Implementation
Section titled “Simplified MarketLens Implementation”For example:
But note:
This
VolumeRatiois a practical simplification, not the only standard formula used in the Lee-Swaminathan paper.
4.5 George & Hwang (2004): 52-Week High Momentum
Section titled “4.5 George & Hwang (2004): 52-Week High Momentum”Paper:
Thomas George & Chuan-Yang Hwang (2004), The 52-Week High and Momentum Investing.
Core measure:
Usually:
The closer the ratio is to 1:
The closer the current price is to its 52-week high.
Example:
- Current price: 95
- 52-week high: 100
George and Hwang rank stocks using this ratio and examine whether proximity to the 52-week high helps explain future returns.
Relationship to the Current MarketLens Approach
Section titled “Relationship to the Current MarketLens Approach”Your current logic is:
close >= 0.85 * high_252which is equivalent to:
This is directionally consistent with the 52-week-high literature, but the 85% threshold is a MarketLens-specific cutoff, not a standard academic cutoff from George & Hwang.
4.6 Blitz, Huij & Martens (2011): Residual Momentum
Section titled “4.6 Blitz, Huij & Martens (2011): Residual Momentum”Paper:
David Blitz, Joop Huij & Martin Martens (2011), Residual Momentum.
First, use Fama-French factors to explain stock returns:
where:
Meaning:
Remove the portion of returns explained by market, size, and value exposure, leaving the firm-specific return.
Research typically uses rolling regressions, for example over 36 months.
Then calculate residual momentum over the previous 12 months, often skipping the most recent month:
Some studies express this as average residual return divided by residual volatility.
Advantages
Section titled “Advantages”Residual momentum attempts to isolate momentum that is less contaminated by common factor exposures.
Conceptually:
Raw Stock Return |Remove Market / Size / Value |Residual Return |Residual MomentumThis may be useful for MarketLens if you later want to distinguish between:
- “The stock is strong because its entire factor group is strong.”
- “The stock itself has unusually persistent firm-specific strength.”
4.7 Novy-Marx (2012): Intermediate-Horizon Momentum
Section titled “4.7 Novy-Marx (2012): Intermediate-Horizon Momentum”Paper:
Robert Novy-Marx (2012), Is Momentum Really Momentum?
The paper shows that the intermediate portion of past return history contains particularly strong predictive information.
A key finding is that returns roughly 12 to 7 months ago can carry substantial predictive power.
A simplified intermediate-horizon signal may be written as:
while a more recent component could be:
The surprising empirical result is that the intermediate component can sometimes be more important than the most recent component.
Relevance to MarketLens
Section titled “Relevance to MarketLens”This suggests MarketLens should not assume:
“The more recent the return, the more useful it must be.”
Your existing Weighted RS Raw assigns the largest weight to the recent 63-day return.
That may be a sensible trading heuristic, but it is not the same as the academic intermediate-horizon momentum result.
This makes it worth testing separate components such as:
12–7 month return6–2 month return3 month returnrather than forcing a fixed weighting from the start.
4.8 Moskowitz, Ooi & Pedersen (2012): Time-Series Momentum
Section titled “4.8 Moskowitz, Ooi & Pedersen (2012): Time-Series Momentum”Paper:
Tobias Moskowitz, Yao Hua Ooi & Lasse Heje Pedersen (2012), Time Series Momentum.
Time-Series Momentum asks:
If an asset’s own past excess return was positive or negative, does that direction tend to continue?
Core Signal
Section titled “Core Signal”A simplified signal is:
where (h) might be 12 months.
Then the position is conceptually:
so:
- positive past return → long
- negative past return → short
This differs from cross-sectional momentum because no ranking against other assets is required.
Volatility Scaling
Section titled “Volatility Scaling”The strategy commonly scales position size inversely with volatility.
A simplified form:
where:
- (\sigma^*): target volatility
- (\hat\sigma_{i,t}): estimated asset volatility
This prevents a highly volatile asset from dominating portfolio risk.
EWMA Volatility
Section titled “EWMA Volatility”One common volatility estimate is an exponentially weighted moving average:
or equivalently, as a weighted sum of historical squared returns.
Key Point
Section titled “Key Point”Time-Series Momentum is very close to trend following because it asks whether an asset’s own return direction persists.
Unlike cross-sectional momentum:
TSMOM:Compare the asset with itself over time.
Cross-sectional MOM:Compare the asset with other assets.4.9 Asness, Moskowitz & Pedersen (2013): Value and Momentum Everywhere
Section titled “4.9 Asness, Moskowitz & Pedersen (2013): Value and Momentum Everywhere”Paper:
Cliff Asness, Tobias Moskowitz & Lasse Heje Pedersen (2013), Value and Momentum Everywhere.
The study documents momentum across multiple asset classes and markets.
The important idea is:
Momentum is not only a US-stock anomaly.
Evidence appears across:
- equities
- equity indices
- currencies
- government bonds
- commodities
This matters for MarketLens conceptually because it suggests momentum may reflect a broad behavioral / risk phenomenon rather than a single-market technical trick.
The study also examines the interaction between value and momentum.
Value and momentum can be negatively correlated in some settings, which means they can provide diversification when combined.
4.10 Fama & French (2012): International Momentum
Section titled “4.10 Fama & French (2012): International Momentum”Paper:
Eugene Fama & Kenneth French (2012), Size, Value, and Momentum in International Stock Returns.
They investigate size, value, and momentum across international markets.
The important implication is:
Momentum effects are not confined to the US market, but their strength can vary by region and market structure.
For MarketLens, this is especially relevant if you scan:
- US equities
- Hong Kong equities
- other international universes
The model should not assume that a threshold calibrated on the US market will work identically in Hong Kong.
4.11 Barroso & Santa-Clara (2015): Risk-Managed Momentum
Section titled “4.11 Barroso & Santa-Clara (2015): Risk-Managed Momentum”Paper:
Pedro Barroso & Pedro Santa-Clara (2015), Momentum Has Its Moments.
A major problem with momentum strategies is crash risk.
The paper proposes scaling momentum exposure according to estimated momentum volatility.
A simplified form is:
and:
When momentum volatility rises sharply:
then:
So the strategy reduces exposure in high-risk periods.
This is important because a strong raw momentum score does not necessarily imply that full-size exposure is appropriate.
4.12 Daniel & Moskowitz (2016): Momentum Crashes
Section titled “4.12 Daniel & Moskowitz (2016): Momentum Crashes”Paper:
Kent Daniel & Tobias Moskowitz (2016), Momentum Crashes.
Momentum strategies can experience severe losses during specific market regimes, especially when:
- the market has recently fallen substantially;
- volatility is elevated;
- losers rebound sharply during market recovery.
This often creates a violent reversal:
Previous Losers ↓Market Rebound ↓Losers rally sharply ↓Winner-minus-Loser Momentum crashesThis matters for MarketLens because:
A momentum signal should not be treated as independent from market regime and risk conditions.
This supports keeping a separate:
Market Regime / Risklayer rather than simply giving more points to every momentum-like signal.
5. Trend: Major Academic Research and Formulas
Section titled “5. Trend: Major Academic Research and Formulas”5.1 Simple Moving Average
Section titled “5.1 Simple Moving Average”The (N)-period Simple Moving Average is:
For example:
SMA smooths price and estimates the underlying direction.
Price Above MA
Section titled “Price Above MA”A simple trend condition is:
This says current price is above its recent average.
It does not by itself measure relative performance against other stocks.
5.2 Exponential Moving Average
Section titled “5.2 Exponential Moving Average”EMA gives more weight to recent prices.
Formula:
where:
For an EMA with (N=10):
Compared with SMA, EMA responds more quickly to recent price changes.
5.3 Moving-Average Crossover
Section titled “5.3 Moving-Average Crossover”A common trend rule:
For example:
and:
Moving-Average Stack
Section titled “Moving-Average Stack”A stricter condition is:
This is a trend structure / alignment, not a classic cross-sectional momentum formula.
5.4 Brock, Lakonishok & LeBaron (1992): Moving Average / Trading Range Break
Section titled “5.4 Brock, Lakonishok & LeBaron (1992): Moving Average / Trading Range Break”Paper:
William Brock, Josef Lakonishok & Blake LeBaron (1992), Simple Technical Trading Rules and the Stochastic Properties of Stock Returns.
They tested two classic types of technical rule:
- Moving-average rules
- Trading-range breakout rules
A general moving-average rule is:
The paper examined several MA combinations, including:
- 1–50
- 1–150
- 5–150
- 1–200
- 2–200
It also tested banded versions to reduce whipsaw.
If a band (b) is used:
5.5 Time-Series Momentum as Trend Following
Section titled “5.5 Time-Series Momentum as Trend Following”Moskowitz-Ooi-Pedersen TSMOM is essentially:
Past rise → long
Past decline → short
Therefore:
This is a return-based trend filter.
A moving average is a price-level-based trend filter.
They are not identical at the surface level, but they can be related within a more general linear-filter framework.
5.6 Hurst, Ooi & Pedersen (2017): Multi-Horizon Trend
Section titled “5.6 Hurst, Ooi & Pedersen (2017): Multi-Horizon Trend”Paper:
Brian Hurst, Yao Hua Ooi & Lasse Heje Pedersen (2017), A Century of Evidence on Trend-Following Investing.
They use:
- 1-month trend
- 3-month trend
- 12-month trend
and combine them with equal weights.
For each horizon:
where:
A simplified combined signal is:
The actual strategy also uses volatility targeting.
Interpretation
Section titled “Interpretation”Do not rely on only one horizon.
A stock may be:
- 1m positive
- 3m positive
- 12m negative
This may indicate a short-term rebound while the long-term trend has not yet recovered.
5.7 Levine & Pedersen (2016): A Unified Framework for Trend Filters
Section titled “5.7 Levine & Pedersen (2016): A Unified Framework for Trend Filters”Paper:
Ari Levine & Lasse Heje Pedersen (2016), Which Trend Is Your Friend?
They show that:
- Time-series momentum
- Moving-average crossover
- other linear trend filters
can be connected within a generalized framework.
A generic linear trend signal is:
where:
- (r_{t-k}): past return
- (w_k): weight on each lag
Many trend methods differ mainly in:
The weight pattern applied to returns from different points in the past.
Example
Section titled “Example”The simplest TSMOM can be represented approximately as:
meaning returns over the lookback period are aggregated with roughly equal directional contribution.
A moving-average crossover implicitly applies a different pattern of positive / negative lag weights.
This framework is especially useful for MarketLens because it allows:
- ROC
- MA crossover
- EMA
- multi-horizon trend
to be viewed as different filters rather than completely independent “edges.”
5.8 Han, Zhou & Zhu (2016): Trend Factor
Section titled “5.8 Han, Zhou & Zhu (2016): Trend Factor”Paper:
Yufeng Han, Guofu Zhou & Yingzi Zhu (2016), A Trend Factor: Any Economic Gains from Using Information over Investment Horizons?
They attempt to capture:
- short-term trend
- intermediate-term trend
- long-term trend
The research uses multiple moving-average price signals with horizons ranging from a few days to roughly 1,000 days. Cross-sectional regression is then used to combine these signals into forecasted returns, which are used to build a long-short trend factor.
Abstractly:
where:
- (X^{(h)}): moving-average / trend signal at horizon (h)
- (b_h): cross-sectional regression coefficient
- (\hat R): forecasted return
Then:
- Long highest forecast group
- Short lowest forecast group
Implication for MarketLens
Section titled “Implication for MarketLens”A Trend Score does not have to be based on only SMA200. It can be a multi-horizon ensemble.
5.9 Regression Trend / Slope
Section titled “5.9 Regression Trend / Slope”This is a common quantitative technical-analysis method.
For the most recent (N) days of log price:
fit:
OLS slope:
- (b>0): uptrend
- (b<0): downtrend
- larger (|b|): steeper direction
The slope can be annualized:
You can also incorporate (R^2):
This helps distinguish:
- price rising quickly but erratically
- price rising steadily and persistently
This is a common quantitative implementation and should not be mislabeled as an original Jegadeesh-Titman or Moskowitz formula.
5.10 Breakout / Trading Range
Section titled “5.10 Breakout / Trading Range”Previous (N)-day high:
Previous (N)-day low:
Breakout signal:
This belongs to the trend-following / breakout family.
6. The Real Difference Between Momentum and Trend
Section titled “6. The Real Difference Between Momentum and Trend”| Question | Momentum | Trend |
|---|---|---|
| What does it look at? | Past return / relative return | Price direction and structure |
| Must it compare other stocks? | Cross-sectional momentum: yes | Not necessarily |
| Does it only use its own history? | TSMOM: yes | Usually |
| Common formulas | ROC, 12–2 return, rank, TSMOM | MA, EMA, slope, breakout |
| Emphasis | continuation / relative winner | persistent direction |
| Can one be up while the other is down? | Yes | Yes |
| Typical horizon | Several months to one year | Days to years |
In One Sentence
Section titled “In One Sentence”Momentum is about continuation of past performance; Trend is about the directional structure of price.
They can be highly correlated, but should not be treated as conceptually identical.
7. Summary Table of Common Indicator Formulas
Section titled “7. Summary Table of Common Indicator Formulas”| Indicator | Formula / Definition | Type |
|---|---|---|
| ROC | (P_t/P_{t-n}-1) | Momentum |
| Log Return | (\ln(P_t/P_{t-n})) | Return |
| 12–2 Momentum | (R_{t-12:t-2}) | Cross-sectional Momentum |
| Rank / Percentile | cross-sectional rank | Relative Momentum |
| 52w High Ratio | (P_t/\max(P_{t-251:t})) | Momentum / Anchor |
| RS Line | (P_{stock}/P_{benchmark}) | Relative Strength |
| TSMOM | (sign(R_{past})) | Momentum + Trend |
| SMA | (\frac1N\sum P) | Trend |
| EMA | (\alpha P_t+(1-\alpha)EMA_{t-1}) | Trend |
| MA Crossover | (sign(MA_S-MA_L)) | Trend |
| SMA Slope | ((SMA_t-SMA_{t-k})/SMA_{t-k}) | Trend |
| Regression Slope | OLS slope of log price | Trend |
| Breakout | (P_t>HH_N) | Trend |
| Volatility | std(return)(\sqrt{252}) | Risk |
| Volume Ratio | (Volume/SMA(Volume)) | Confirmation |
| Residual MOM | residual return / residual vol | Momentum |
| Vol-Scaled MOM | (\sigma^*/\hat\sigma \times MOM) | Risk-managed Momentum |
8. How to Normalize and Compare Different Signals
Section titled “8. How to Normalize and Compare Different Signals”Directly adding values such as:
- ROC63 = 18%
- High52Ratio = 0.94
- MA slope = 0.03
- RS percentile = 91
is statistically inconsistent because they are on different scales.
Better methods include:
8.1 Percentile Rank
Section titled “8.1 Percentile Rank”Across the entire stock universe:
Range:
For example:
- ROC percentile = 0.92
- 52w-high percentile = 0.85
- regression-trend percentile = 0.88
These are directly comparable.
8.2 Z-Score
Section titled “8.2 Z-Score”Then winsorize, for example:
to reduce the impact of outliers.
8.3 Composite Momentum Score
Section titled “8.3 Composite Momentum Score”For example:
But these weights are model-design choices. They must be validated through backtesting and should not be described as academic laws.
8.4 Composite Trend Score
Section titled “8.4 Composite Trend Score”For example:
Again, this requires out-of-sample validation.
9. Current MarketLens edges.py Approach
Section titled “9. Current MarketLens edges.py Approach”Your current edge_momentum_trend() roughly includes:
9.1 Price > SMA50
Section titled “9.1 Price > SMA50”+3 points.
9.2 SMA Stack
Section titled “9.2 SMA Stack”+3.
+3.
9.3 SMA200 Rising
Section titled “9.3 SMA200 Rising”The code compares:
+3.
This is a Trend signal.
9.4 ROC63
Section titled “9.4 ROC63”Formula:
The actual indexing uses 64 closing-price positions to obtain prices 63 sessions apart.
Scoring:
- (ROC63\ge15%): +4
- (0<ROC63<15%): +2
This is Momentum.
9.5 Near 52-Week High
Section titled “9.5 Near 52-Week High”+2.
This is conceptually related to George-Hwang, but the 85% threshold is MarketLens-specific.
9.6 Weighted RS Raw
Section titled “9.6 Weighted RS Raw”Your code also contains:
roughly:
- 40% × 3-month return
- 20% × 6-month
- 20% × 9-month
- 20% × 12-month
This is a custom multi-horizon momentum measure.
It is not the original formula from Jegadeesh-Titman, Carhart, or Moskowitz-Ooi-Pedersen.
9.7 Weekly / Daily MTF
Section titled “9.7 Weekly / Daily MTF”Another edge uses:
Weekly:
Daily:
This is fundamentally Multi-Timeframe Trend.
10. MarketLens: Recommended Separation of Momentum and Trend
Section titled “10. MarketLens: Recommended Separation of Momentum and Trend”Your current:
Momentum & Trendcan be separated into:
A. Momentum EdgeB. Trend EdgeC. Relative Strength EdgeD. Multi-Timeframe Trend EdgeThis is conceptually cleaner.
10.1 Momentum Edge
Section titled “10.1 Momentum Edge”Could include:
Academic Core
Section titled “Academic Core”Short / Medium Momentum
Section titled “Short / Medium Momentum”52-Week High
Section titled “52-Week High”Optional
Section titled “Optional”10.2 Trend Edge
Section titled “10.2 Trend Edge”Could include:
Long-Term Trend
Section titled “Long-Term Trend”MA Structure
Section titled “MA Structure”Rising Long MA
Section titled “Rising Long MA”Time-Series Momentum
Section titled “Time-Series Momentum”Multi-Horizon Trend
Section titled “Multi-Horizon Trend”10.3 Relative Strength Edge
Section titled “10.3 Relative Strength Edge”Your existing RS line is:
If:
then the relative-strength line has reached a 52-week high.
Using a market-wide percentile:
is closer to cross-sectional academic logic.
11. Avoiding Double Counting
Section titled “11. Avoiding Double Counting”This is important for MarketLens.
If you score all of the following separately:
- Price > SMA50
- SMA50 > SMA150
- SMA150 > SMA200
- SMA20 > SMA50
- EMA10 > EMA30
- ROC63 positive
- 52-week high
- 12m TSMOM positive
they may all be measuring the same latent variable:
prices have been going up
So you may appear to have “8 edges,” while in reality you may only have 2–3 independent information sources.
Method 1: Correlation Matrix
Section titled “Method 1: Correlation Matrix”Backtest all signals:
If:
you should suspect double counting.
Method 2: Factor Buckets
Section titled “Method 2: Factor Buckets”Possible buckets:
- Momentum
- Trend
- Relative Strength
- Volume / Participation
- Volatility / Contraction
- Market Regime
- Risk / Reward
Calculate a score inside each bucket first, then combine the bucket scores.
Method 3: Regression / Incremental Information
Section titled “Method 3: Regression / Incremental Information”For example:
Then check whether adding a new signal improves:
- (t)-stat
- out-of-sample IC
- Sharpe
- drawdown
12. Backtesting: How to Know Whether a Formula Really Has an Edge
Section titled “12. Backtesting: How to Know Whether a Formula Really Has an Edge”You cannot assume a formula will work in your current universe simply because it appeared in an academic paper.
12.1 Information Coefficient
Section titled “12.1 Information Coefficient”Use today’s signal to predict future return:
You can use:
- Pearson IC
- Spearman Rank IC
Cross-sectional signals are often especially suitable for Spearman IC.
12.2 Quantile Test
Section titled “12.2 Quantile Test”Sort stocks by signal into:
- Q1: weakest
- Q2
- Q3
- Q4
- Q5: strongest
Then test whether:
is consistently positive.
12.3 Hit Rate
Section titled “12.3 Hit Rate”But hit rate alone is not enough.
12.4 Expectancy
Section titled “12.4 Expectancy”Ultimately, a strategy edge must translate into expectancy.
12.5 Sharpe Ratio
Section titled “12.5 Sharpe Ratio”12.6 Maximum Drawdown
Section titled “12.6 Maximum Drawdown”Equity peak:
Drawdown:
Maximum Drawdown:
12.7 Walk-Forward / Out-of-Sample
Section titled “12.7 Walk-Forward / Out-of-Sample”Do not use the same dataset to:
- find a threshold
- test the threshold
- declare success
Instead:
Train period ↓Parameter selection ↓Validation period ↓Lock model ↓Out-of-sample test12.8 Transaction Costs
Section titled “12.8 Transaction Costs”Real return is:
Transaction costs are especially important for high-turnover momentum / trend strategies.
13. Simple Numerical Example
Section titled “13. Simple Numerical Example”Suppose a stock has:
| Metric | Value |
|---|---|
| Current Price | 120 |
| 63d ago | 100 |
| 126d ago | 92 |
| 189d ago | 88 |
| 252d ago | 80 |
| SMA50 | 112 |
| SMA150 | 101 |
| SMA200 | 95 |
| SMA200 31d ago | 92 |
| 52w high | 125 |
13.1 ROC63
Section titled “13.1 ROC63”Momentum is strong.
13.2 52-Week High Ratio
Section titled “13.2 52-Week High Ratio”So the stock is only 4% below its 52-week high.
13.3 MA Structure
Section titled “13.3 MA Structure”which satisfies:
13.4 SMA200 Slope
Section titled “13.4 SMA200 Slope”Simplified:
The long-term trend is rising.
13.5 MarketLens Weighted RS
Section titled “13.5 MarketLens Weighted RS”3m:
6m:
9m:
12m:
Therefore:
Note:
This 31.35% is a custom weighted momentum number. It is not an annual return or a percentile unless you compare it against the full stock universe.
14. Summary of Major Researchers and Studies
Section titled “14. Summary of Major Researchers and Studies”| Year | Researchers | Study | Core Method |
|---|---|---|---|
| 1992 | Brock, Lakonishok, LeBaron | Simple Technical Trading Rules | MA crossover, trading-range breakout |
| 1993 | Jegadeesh, Titman | Winners vs Losers | Cross-sectional J/K momentum |
| 1997 | Carhart | Four-Factor Model | Adds momentum factor |
| 1999 | Moskowitz, Grinblatt | Industry Momentum | Industry winners / losers |
| 1999 | Hong, Stein | Underreaction / Overreaction | Momentum theory mechanism |
| 2000 | Lee, Swaminathan | Momentum + Volume | Volume explains momentum persistence |
| 2004 | George, Hwang | 52-Week High | Price / 52-week-high ratio |
| 2011 | Blitz, Huij, Martens | Residual Momentum | Factor-adjusted residual momentum |
| 2012 | Novy-Marx | Intermediate Horizon | Emphasizes information from months 12–7 |
| 2012 | Moskowitz, Ooi, Pedersen | Time-Series Momentum | sign(past return) + vol scaling |
| 2012 | Fama, French | International Momentum | Momentum across regions |
| 2013 | Asness, Moskowitz, Pedersen | Momentum Everywhere | Across asset classes |
| 2015 | Barroso, Santa-Clara | Risk-Managed Momentum | Volatility-managed exposure |
| 2016 | Daniel, Moskowitz | Momentum Crashes | Regime-dependent crash risk |
| 2016 | Levine, Pedersen | Which Trend Is Your Friend? | TSMOM / MA / linear filters |
| 2016 | Han, Zhou, Zhu | Trend Factor | Multi-horizon moving-average information |
| 2017 | Hurst, Ooi, Pedersen | Century of Trend Following | 1m/3m/12m TSMOM |
15. Implementation Priority
Section titled “15. Implementation Priority”If MarketLens is to evolve gradually from its current heuristic model into a more research-driven system, I would use this order:
Phase 1 — Keep the Current Model but Separate the Categories
Section titled “Phase 1 — Keep the Current Model but Separate the Categories”MomentumTrendRelative StrengthMTFVolume / Price ActionMarketRiskPhase 2 — Add an Academic Momentum Baseline
Section titled “Phase 2 — Add an Academic Momentum Baseline”First add:
and:
because these are important academic benchmarks.
Phase 3 — Add Absolute / TSMOM
Section titled “Phase 3 — Add Absolute / TSMOM”Add:
to create a multi-horizon trend measure.
Phase 4 — Convert Trend Into a Continuous Score
Section titled “Phase 4 — Convert Trend Into a Continuous Score”Move beyond:
pass / failto something like:
Phase 5 — Signal Correlation
Section titled “Phase 5 — Signal Correlation”Test correlations among:
ROC63MOM12-2High52RS percentileSMA slopeTSMOM12MTFRemove highly redundant signals.
Phase 6 — Walk-Forward Optimization
Section titled “Phase 6 — Walk-Forward Optimization”Do not simply ask:
Which weight is best?
Instead ask:
Which weight remains stable out of sample across different years and different market regimes?
16. Important Limitations
Section titled “16. Important Limitations”- Academic evidence does not guarantee future profitability.
- Results can change across markets, time periods, and transaction-cost environments.
- Momentum has crash risk.
- Trend signals have lag.
- Short-term moving averages can whipsaw easily.
- Cross-sectional momentum requires a clearly defined universe.
- Survivorship bias can materially exaggerate results.
- Look-ahead bias must be completely avoided.
- Delisted stocks should not disappear from the historical universe.
- Adjusted prices are usually preferable for splits / dividends, but the treatment must match the research objective.
- The same period should not be used for both tuning and evaluation.
- Multiple highly correlated signals should not be counted as multiple independent edges.
- Thresholds such as
ROC63 >= 15%andnear high >= 85%should be labeled as model parameters, not natural laws. - Academic long-short portfolio results do not imply that a long-only stock-picking strategy will produce identical results.
17. References
Section titled “17. References”Foundational Momentum
Section titled “Foundational Momentum”-
Jegadeesh, N. & Titman, S. (1993). Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency. The Journal of Finance, 48(1), 65–91.
https://doi.org/10.1111/j.1540-6261.1993.tb04702.x
PDF mirror: https://www.bauer.uh.edu/rsusmel/phd/jegadeesh-titman93.pdf -
Carhart, M. M. (1997). On Persistence in Mutual Fund Performance. The Journal of Finance, 52(1), 57–82.
https://doi.org/10.1111/j.1540-6261.1997.tb03808.x -
Kenneth R. French Data Library. Momentum Factor (Mom) / Prior (2–12) Return.
https://mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html
Momentum construction: https://mba.tuck.dartmouth.edu/pages/faculty/ken.french/Data_Library/det_mom_factor.html -
Moskowitz, T. J. & Grinblatt, M. (1999). Do Industries Explain Momentum? The Journal of Finance, 54(4), 1249–1290.
https://doi.org/10.1111/0022-1082.00146 -
Lee, C. M. C. & Swaminathan, B. (2000). Price Momentum and Trading Volume. The Journal of Finance, 55(5), 2017–2069.
https://doi.org/10.1111/0022-1082.00280 -
George, T. J. & Hwang, C.-Y. (2004). The 52-Week High and Momentum Investing. The Journal of Finance, 59(5), 2145–2176.
https://doi.org/10.1111/j.1540-6261.2004.00695.x
PDF: https://www.bauer.uh.edu/tgeorge/papers/gh4-paper.pdf -
Blitz, D., Huij, J. & Martens, M. (2011). Residual Momentum. Journal of Empirical Finance, 18(3), 506–521.
https://doi.org/10.1016/j.jempfin.2011.01.003 -
Novy-Marx, R. (2012). Is Momentum Really Momentum? Journal of Financial Economics, 103(3), 429–453.
https://doi.org/10.1016/j.jfineco.2011.05.003 -
Fama, E. F. & French, K. R. (2012). Size, Value, and Momentum in International Stock Returns. Journal of Financial Economics, 105(3), 457–472.
https://doi.org/10.1016/j.jfineco.2012.05.011 -
Asness, C. S., Moskowitz, T. J. & Pedersen, L. H. (2013). Value and Momentum Everywhere. The Journal of Finance, 68(3), 929–985.
https://doi.org/10.1111/jofi.12021
PDF: https://pages.stern.nyu.edu/~lpederse/papers/ValMomEverywhere.pdf
Time-Series Momentum / Trend Following
Section titled “Time-Series Momentum / Trend Following”-
Moskowitz, T. J., Ooi, Y. H. & Pedersen, L. H. (2012). Time Series Momentum. Journal of Financial Economics, 104(2), 228–250.
https://doi.org/10.1016/j.jfineco.2011.11.003
PDF: https://w4.stern.nyu.edu/facdir/lpederse/papers/TimeSeriesMomentum.pdf -
Levine, A. & Pedersen, L. H. (2016). Which Trend Is Your Friend? Financial Analysts Journal, 72(3).
https://doi.org/10.2469/faj.v72.n3.3 -
Han, Y., Zhou, G. & Zhu, Y. (2016). A Trend Factor: Any Economic Gains from Using Information over Investment Horizons? Journal of Financial Economics, 122(2), 352–375.
https://doi.org/10.1016/j.jfineco.2016.01.029 -
Hurst, B., Ooi, Y. H. & Pedersen, L. H. (2017). A Century of Evidence on Trend-Following Investing. The Journal of Portfolio Management, 44(1).
SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2993026
PDF: https://fairmodel.econ.yale.edu/ec439/hurst.pdf -
Brock, W., Lakonishok, J. & LeBaron, B. (1992). Simple Technical Trading Rules and the Stochastic Properties of Stock Returns. The Journal of Finance, 47(5), 1731–1764.
https://doi.org/10.1111/j.1540-6261.1992.tb04681.x
Momentum Risk / Theory
Section titled “Momentum Risk / Theory”-
Barroso, P. & Santa-Clara, P. (2015). Momentum Has Its Moments. Journal of Financial Economics, 116(1), 111–120.
https://doi.org/10.1016/j.jfineco.2014.11.010 -
Daniel, K. & Moskowitz, T. J. (2016). Momentum Crashes. Journal of Financial Economics, 122(2), 221–247.
https://doi.org/10.1016/j.jfineco.2015.12.002 -
Hong, H. & Stein, J. C. (1999). A Unified Theory of Underreaction, Momentum Trading, and Overreaction in Asset Markets. The Journal of Finance, 54(6), 2143–2184.
https://doi.org/10.1111/0022-1082.00184
Final Summary
Section titled “Final Summary”The most important conclusions can be condensed into four statements:
- Momentum ≠ Trend.
- Cross-sectional momentum is about relative ranking across stocks.
- Time-series momentum is about persistence in an asset’s own past direction, so it is closely related to trend following.
- MarketLens should calculate Momentum, Trend, Relative Strength, and MTF separately and combine them only at the composite layer, rather than treating every upward-price signal as an independent edge and repeatedly awarding points for the same information.
For MarketLens, a cleaner research architecture could be:
Price Data │ ├── Momentum │ ├── MOM 12–2 │ ├── ROC63 / ROC126 │ └── 52-Week High │ ├── Trend │ ├── MA Stack │ ├── MA Slope │ ├── Regression Slope │ └── TSMOM 1m / 3m / 12m │ ├── Relative Strength │ ├── Stock / Benchmark RS Line │ └── Cross-sectional Percentile │ ├── Confirmation │ ├── Volume │ ├── Breakout │ └── Multi-Timeframe │ └── Risk / Market Regime ├── Volatility ├── Broad Market ├── Drawdown └── Position SizingThis makes the mathematical meaning of each edge much clearer and makes it easier to backtest each signal independently to determine whether it contributes genuinely new information or simply measures the same underlying trend again.