The distance from the SMA measures the relative gap between price and its moving average: gap = (price − SMA) / SMA. Price 95 and SMA 100 → −5%. You buy when the gap becomes very negative and exit when it returns toward 0.
Reading the gap: plot the 20 SMA on price and the gap in % in a panel below, with a line at the threshold (−5%). Typical plan: buy when the gap drops below −5%, exit when it returns to 0, set the stop before entering (for example 3% below the entry price) and size the trade from that stop.
Calibrating the threshold: −5% is extreme for a calm asset (1% daily moves) but ordinary for one moving 4% a day. Pros therefore often express the gap in multiples of ATR or standard deviation, which amounts to the Z-score.
Asymmetry: when buying, the loss is bounded (price cannot go below 0); when short selling, a positive gap can grow without limit. Betting on an extreme gap to the upside closing is therefore especially risky.
Examples
GAP-X (fictional market) : The gold curve is the 20 SMA. If the SMA is 40 and price drops to 37.6, the gap is −2.4 / 40 = −6%: below the −5% threshold, the rule buys. It exits when price returns to the gold curve, about +6.4% if the SMA has not moved.
January 2021: GameStop and Melvin Capital : In early January 2021, GameStop stock was below $20; by late January it had topped $300, a colossal gap from any moving average. The fund Melvin Capital, heavily short, took big losses and was bailed out with $2.75 billion from Citadel and Point72. Lesson: an extreme gap can grow even wider; betting on its closing with no stop or size cap can be ruinous.
Key terms
Distance from the SMA
Relative gap (price − SMA) / SMA, in %
Entry threshold
Gap at which the rule triggers a buy
ATR
Average True Range: average bar range, a volatility measure
Short squeeze
Violent rally fueled by short sellers buying back to cut their losses