10.25 Technical Analysis Passed One Test, and It Was a Filter Residual
Cross-sectional moving-average distance ranks the gap between a 21-day and a 200-day average. Trade that filter residual; the golden cross, which keeps only the sign, fails a t-test of 1.17.
A moving average is a low-pass filter. It keeps the slow swing in a price and drops the day-to-day chop. Avramov, Kaplanski, and Subrahmanyam rank US common stocks on the distance between a 21-day average and a 200-day average, and that distance is the book. A dummy for whether the short average crossed the long one this month, the golden cross, carries a t-statistic of 1.17 in the same monthly regressions. The size of the gap is what has to earn its keep.
The position is the gap between two averages
You already know the slow average as a line on a chart. The old article "Fair Value as an Adaptive Low-Pass Filter: LAFO for Mean Reversion" gives the line a job: it is the low-frequency piece you extract, and the trade is the percent gap between the price and that line. Avramov, Kaplanski, and Subrahmanyam use the same gap with one substitution. The thing standing in for the price is itself an average, a faster one, so a single noisy close does not set the signal.
$$ MA_k(t)=\frac{1}{k}\sum_{j=0}^{k-1} P_{t-j}, \qquad MRAT_t=\frac{MA_{21}(t)}{MA_{200}(t)}, \qquad \delta_t=MRAT_t-1=\frac{MA_{21}(t)-MA_{200}(t)}{MA_{200}(t)} $$
MA sub k at t is the arithmetic mean of the last k daily closes, in dollars, adjusted for splits and dividends. MRAT is the 21-day mean divided by the 200-day mean, a pure ratio. Delta is that ratio minus one, the percent by which the fast filter sits above the slow filter. The same percent gap, with the raw price in the numerator, is the mispricing the old article fades on a two-minute bar. Here the numerator is the fast average, the clock is a month, and the book goes with the sign: a fast average above the slow one is the long side.
Work it on two averages. A stock whose last 21 closes average 52.00 dollars, against 45.00 dollars over 200 closes, has an MRAT of 52.00 divided by 45.00, which is 1.1556. Delta is 0.1556. The fast filter sits 15.56% above the slow one. Across the full sample the mean MRAT is 1.047 and the cross-sectional standard deviation is 0.204, so 1.1556 is about half a standard deviation above the average stock.
The golden cross keeps only the sign of delta. The authors put that dummy in the same monthly regressions and it dies, t-statistic 1.17 on the 21-day window. The continuous ratio in those regressions carries a t-statistic of 4.92, and the extreme-decile version of the ratio, their MAD indicator, carries 6.65. The old article "Moving Average Distance: The Technical Indicator That Passed the Cross-Section" works the sigma screen on top of the decile and shows that the screen barely binds. Rank the ratio. The screen is a trim.
They read a wide gap as underreaction: the long average is the anchor, and a price that has run far from it has not finished updating. A gap that jumps pays more than a gap that drifts. The old article has that split. The sign you attach is a separate choice from the object. On a two-minute bar the old filter article fades the gap. On a monthly equity cross-section this book goes with it. I am against using one sign for both clocks.
The path residual is the sag under the chord
Gulen and Woeppel sort a different residual. Draw the straight line between the first close of the month and the last. That chord is a two-point filter: it knows the endpoints and nothing about the path. Convexity is how far the average close sags away from the midpoint of the chord, scaled by that midpoint. The old article "Price-Path Convexity: A New Cross-Sectional Anomaly (−45bp per σ)" has the quintile ladder. The object you recompute is the sag.
$$ \text{Convexity}_{it} =\frac{\dfrac{P_{1}+P_{N}}{2}-\dfrac{1}{N}\sum_{k=1}^{N} P_{k}}{\dfrac{P_{1}+P_{N}}{2}} $$
P-one is the first close of the month, P-N the last, N the number of closes. The numerator is the midpoint of the endpoints minus the mean close. Dividing by the midpoint strips the price level out, so a 20-dollar stock and a 200-dollar stock can share a rank. When the mean close sits below the midpoint, the path spent the month under the chord and convexity is positive: a valley. When the mean sits above the midpoint, the path bulged and faded, and convexity is negative: a hump.
Their first path reconciles. Start at 20, drop 1 dollar a day for ten days to 10, then rise 1 dollar a day for ten days back to 20. That is 21 closes. The midpoint is 20. The mean close is 15.238. The gap is 4.762. Convexity is 4.762 divided by 20, which is 0.238, the 0.24 they print.
Write each close as the first close plus the sum of later changes, and the unscaled gap collapses to a weighted sum of those changes. These weights reproduce the definition. Section VI prints a different chain.
$$ G=\sum_{k=2}^{N} w_k\,(P_k-P_{k-1}), \qquad w_k=\frac{1}{2}-\frac{N-k+1}{N}, \qquad \text{Convexity}=\frac{G}{(P_1+P_N)/2} $$
G is the numerator. The weight on the change that arrives at close k runs from about minus one half, on the oldest change, to about plus one half, on the newest. Changes in the second half of the window raise convexity when they are positive. Changes in the first half lower it. A late rally is a valley. An early rally that then fades is a hump.
On the 21-close path the newest weight is one half minus one twenty-first, which is 0.4524, and the oldest weight is minus 0.4524. A one-dollar rise on the last day adds 0.452 dollars to G. Divided by the midpoint of 20, convexity rises by 0.0226. I checked the sum: those weights rebuild G as 4.762, the same gap as the midpoint minus the mean.
Section VI of the paper sets the average price equal to (P-N minus P-one) over 2, and then chains three further equalities. In the flat example that half-range is 0, and the average close is 15.24. The printed chain does not follow from the definition. The prose also calls the first line a difference of average daily price changes; the line is a difference of price levels. Keep the definition above. The chain may be a typesetting error.
Their second path does not recompute either. Drop 1.50 a day for ten days from 20, ending the drop at 5, then rise 1 dollar a day for ten days, ending at 15. Same 21 closes, midpoint 17.50, mean close 11.548, convexity 0.340. The paper prints 0.42. The endpoints and the step sizes are theirs; 0.42 is not what those steps produce. I keep 0.340 for that path and treat 0.42 as a possible source error. The first path, the one that lands on 0.24, is the one to trust.
The bet flips relative to the moving-average gap. High convexity is a late rise, and it lines up with a lower subsequent return. You buy the concave humps and short the convex valleys. Return, which only sees the endpoints, puts both paths in one bucket when they start and finish together. The sag separates them.
Crypto averages a stack of the same gaps
Fieberg, Liedtke, Poddig, Walker, and Zaremba do not have earnings to sort on. They scale a simple moving average by the coin's own price, which is the reciprocal of the same percent gap.
$$ z_{k}=\frac{SMA_k}{P}, \qquad \frac{P-SMA_k}{SMA_k}=\frac{1}{z_{k}}-1 $$
z is the k-day average divided by the latest price. The second expression is the percent by which price sits above that average, delta with the roles reversed: price in the numerator, the average as the filter. A coin with a 20-day average of 90 and a price of 100 has z equal to 0.90, and the residual is 1 divided by 0.90, minus 1, which is 0.1111. Price sits 11.11% above the filter. In their quintile sorts the low-z side, price above the average, is the side that continues. Same sign as the equity ratio, on a weekly clock, in a market with no cash-flow anchor.
They do this for 28 readings: oscillators, seven moving-average lengths, volume averages, Bollinger bands. Each reading becomes a cross-sectional rank mapped into the interval from minus one half to plus one half. The paper states the interval and does not print the map. Each rank then gets its own weekly cross-sectional regression, the slope averaged over a rolling 52-week window, and a one-week-ahead forecast. An elastic net keeps the forecasts with a positive weight and drops the rest. The score, CTREND, is the equal-weighted average of the survivors. Their equation (11) uses one symbol for the index, the set, and the count. The denominator is the count.
$$ \mathrm{CTREND}_{i,t+1}=\frac{1}{|J^{+}|}\sum_{j\in J^{+}}\hat{r}^{\,j}_{i,t+1}, \qquad J^{+}=\{j:\theta_j>0\} $$
CTREND for coin i next week is the mean of the univariate forecasts whose elastic-net weight theta is positive. Each forecast is in percent per week, and so is the mean. Worked illustration, with round numbers I chose. Two survivors at 2.30% and 1.26% average to 1.78%. Dividing by 28 prints 0.13% and drops the selection step. A third forecast with a negative weight stays out. The construction has no sign flip. The old article "A Trend Factor for the Crypto Cross-Section (and Its Overfit Tell)" works the elastic net, the 28 dials, and the 55,296-cell grid. The blend lands next to the strongest single oscillator. The published cell is the friendly one.
A reject predicts, and you still have nothing to hold
Albers, Cucuringu, Howison, and Shestopaloff have the control case. On the Hyperliquid BTC-USD perpetual, a post-only buy that would cross the ask is rejected on arrival. It never rests in the book, never prints in the ordinary feed, and cannot move the mid. In September 2025 those rejects average 60,310 a minute, 86% of order submissions, about 3.3 billion dollars of notional a minute at a 54,693 dollar average size. A rejected buy is followed by a price rise, or a rejected sell by a decline, 72.3% of the time. The median wait to the next price change is about two seconds.
The object is an imbalance over the last 100 post-only submissions, rejected or accepted, and a regression of the next 10-second mid return, in basis points, on that imbalance plus the ordinary book.
$$ \mathrm{imb}^{\mathrm{rej}}_{t} =\frac{V^{\mathrm{rej}}_{\mathrm{buy},t}-V^{\mathrm{rej}}_{\mathrm{sell},t}}{V^{\mathrm{rej}}_{\mathrm{buy},t}+V^{\mathrm{rej}}_{\mathrm{sell},t}} $$$$ R_t=-0.1366+0.6224\,\mathrm{imb}_t+0.0305\,\mathrm{Spread}_t+0.1674\,\mathrm{imb}^{\mathrm{rej}}_t+0.0705\,\mathrm{imb}^{\mathrm{open}}_t+e_t $$
The rejected-flow imbalance is buy volume minus sell volume, over the sum, among rejects in the last 100 post-only submissions. It sits between minus one and plus one. The open-flow imbalance is the same ratio on the post-only orders that were accepted. The book imbalance is the ordinary top-of-book version. Spread is the relative spread after subtracting the day's mean and dividing by the day's standard deviation, so a value of zero is an average day for that spread. R is the next 10-second mid return in basis points. The coefficients are the comparative regression they print, all highly significant, R-squared 0.045.
A rejected-flow imbalance of plus one, with the other terms at zero, adds 0.1674 basis points. Stack every imbalance at plus one and hold the spread at its daily mean: minus 0.1366, plus 0.6224, plus 0.1674, plus 0.0705, which is 0.7237 basis points. The paper calls the prediction "at most a few tenths of a basis point." The rejected-flow term alone is two tenths. The stacked sum is seven tenths. Both sit under the minimum taker fee on that venue, 1.44 basis points, and the fee runs up to 2.7. The univariate version, a single rejected buy against a single rejected sell, moves the fitted return by twice 0.4242, which is 0.85 basis points, still under 1.44. The reject feed itself arrives too late to use on this horizon. The coefficient is a correlation with whatever signal made someone try to post. You rank a residual from closes you already store. This feed arrives late, and the fee sits above the fitted move.
Three clocks, three spreads
Look at the shaded band in each panel. That band is the position. The smooth line is the filter.

The paths are drawn so the band is easy to see. The left panel shortens the slow window from 200 days to 60 so both averages fit on one axis; the book still uses 21 and 200. The middle panel is the 21-close path above, convexity 0.24. The right panel is a constructed path.
Three numbers, in the units each paper trades. The equity hedge, value-weighted, one-month hold, five Fama-French factors plus momentum plus a dummy for 2008 and 2009, has an annual alpha of 9.05% (t-statistic 3.02). Annual here means twelve times the monthly alpha, with no compounding. The low-convexity quintile minus the high-convexity quintile earns 0.84% a month (t-statistic 6.29). The crypto high-minus-low week is 3.87% (t-statistic 5.19).
The rest of the grid is smaller, and one cell in the equity prose is mislabeled: the three-factor-plus-momentum hedge is 8.35%, 8.29%, 7.32%, and 5.43% at one, three, six, and twelve months, while the prose attaches 8.35% (t-statistic 2.92) to the three-month hold; putting the moving-average-distance factor on the right-hand side cuts momentum's one-month three-factor alpha from 17.58% to 2.25% (t-statistic 0.96); convexity's factor alphas stay between 0.81% and 0.96% a month, and a one-standard-deviation rise in convexity lines up with a 0.45% lower next-month return; the crypto spread keeps a 2.62% weekly alpha (t-statistic 4.22) against the Liu, Tsyvinski, and Wu model, with a momentum beta of 0.79.
Check the equity table against itself before you trust the prose. Table 4 prints a one-month long-leg alpha of 9.00% (t-statistic 5.08) and a short-leg alpha of -0.05% (t-statistic -0.02). The difference is 9.05%, the hedge in the same specification. The prose calls that long leg 9.37% and quotes the same t-statistic of 5.08. No cell in the table is 9.37. At twelve months the long leg is still 8.26% and the short leg has flipped to +1.59% (t-statistic 0.99); 8.26 minus 1.59 is 6.67, the hedge printed in that column. The table adds up. The prose figure 9.37 is absent. I keep the table.
Four samples, four clocks. The equity book is NYSE, AMEX, and NASDAQ common stock from July 1977 through December 2018, price at least 5 dollars, two years on Compustat before inclusion, delisting returns folded in, 13,828 firms. Convexity is July 1963 through December 2022, value-weighted, and the paper never charges a spread. The crypto book is April 2015 through May 2022, value-weighted quintiles, market cap at least 1 million dollars, returns truncated at the 0.5 and 99.5 percentiles, and the design grid behind the published cell has 55,296 implementations. The reject regression is one perpetual, September 2025, on a ten-second clock.
What you run on Monday
Compute the residual, rank it, and pick the sign from the clock you can hold. For US stocks that is the 21-day average over the 200-day average, refreshed monthly, value-weighted. Go with a high ratio. For the path, recompute convexity from daily closes at month-end and fade the valleys. For coins, average the filter gaps that kept a positive weight, and read the old article before you size the published cell. The median Sharpe of the estimator they recommend is 1.34. I am against the golden cross, and I am against sizing that published week as if the design grid had one cell.
The equity cost identity is the one you can recompute from the means they print.
$$ R^{\mathrm{net}}_{t}=(R_{L,t}-R_{S,t})-TC\,(TO_{L,t}+TO_{S,t}) $$
Net spread in a month is the long-decile return minus the short-decile return, minus a single transaction-cost rate times the sum of the two legs' turnovers. Mean turnover is 34.9% on the top decile and 38.5% on the bottom, so the sum is 0.734, and a name stays in the one-month book for about three months. The five-factor annual alpha of 9.05% is 0.754% a month. Divided by 0.734 that dies at 102.7 basis points. Table 5 prints 101 basis points for that five-factor specification, and 94 and 93 for the three-factor versions. Their estimator zeros the alpha inside the factor regression, one month at a time, so the shortcut of two sample means sits next to the table and does not replace it.
A retail quoted spread does not clear the one-month book. The value-weighted average quoted spread is 321 basis points in the top decile and 510 in the bottom, against breakevens near 100 basis points. The twelve-month breakevens they print run from 690 to 1,102 basis points, which is why they call the long hold the retail version. On that twelve-month column the short-leg alpha is positive, so shorting the bottom decile subtracts from the hedge. The long-only breakeven runs from 142 basis points at the short horizon to 1,453 at the long one. Hold the top decile. Leave the cross alone.
The crypto cost reconciles once you undo the one-half inside their turnover definition. They report turnover as half the sum of absolute weight changes on a leg, then charge the cost on the sum without the half. The high quintile turns over 62.84% and the low quintile 74.09%. The sums of absolute weight changes are twice that, 1.257 and 1.482. At 30 basis points on the long leg and 40 on the short, the drag is 0.0030 times 1.257 plus 0.0040 times 1.482, which is 0.97 percentage points. Gross 3.87 minus 0.97 is 2.90, the net they print for that fee schedule (t-statistic 3.89). At 50 and 60 basis points the net is still 2.35% (t-statistic 3.16). The breakeven fee that zeros the mean is 1.41%. The largest 100 coins still net between 1.90% and 2.45% a week. Weekly turnover on the spread is 68.46%, the average of the two legs. A two-week hold cuts the average weekly return by about 1.5 points, to 2.34%. The net stays positive inside their fee schedule, and the book replaces about two-thirds of each leg every week. Wash trading in the volume that enters the volume indicators is the input they do not clean.
Convexity has no cost number at all. The five-day and ten-day sorts turn the book over faster than the monthly one, and you pay the spread on both. Haircut the monthly spread before you set it next to the equity alpha, which at least published a breakeven.
Leave the reject out of the rank. A coefficient on an order the book never saw is a description of someone else's signal, delivered late, and sized under the fee. The three residuals are computable from closes you already store. Rank those. Match the sign to the horizon. Charge the spread the paper skipped.

KEY POINTS
- Rank the 21-day moving average over the 200-day average. The golden-cross dummy on the same pair has a t-statistic of 1.17.
- Read the equity hedge off Table 4. The one-month five-factor alpha is 9.05% a year, and the prose quotes a long-leg figure the table does not contain.
- Fade price-path convexity. Low-quintile minus high-quintile earns 0.84% a month.
- In crypto, average the filter-gap forecasts that keep a positive weight. The published high-minus-low week is 3.87%. Size the book off the median cell in the old article.
- Leave rejected post-only flow out of the rank. A unit of rejected-flow imbalance adds 0.17 basis points over the next 10 seconds, under the taker fee.
References
- Fair Value as an Adaptive Low-Pass Filter: LAFO for Mean Reversion
- Moving Average Distance: The Technical Indicator That Passed the Cross-Section
- A Trend Factor for the Crypto Cross-Section (and Its Overfit Tell)
- Moving Average Distance as a Predictor of Equity Returns
- Price-Path Convexity and Short-Horizon Return Predictability
- A Trend Factor for the Cross Section of Cryptocurrency Returns
- The Price Impact of Nothing: Rejected Orders as Predictors of Future Returns
A note on AI. The ideas, research, analysis, and conclusions in this article are my own. I use AI tools to help with editing and wordsmithing, because English is not my first language, and I am not shy about that. AI-generated ideas and AI-assisted writing are not the same thing: the first is empty slop from a generic prompt, the second is a tool for communicating years of real research more clearly. Judge the work by its substance, not by whether software helped polish the prose.