Low P/E (under 15) stocks above their 200-day average
Buy stocks with a P/E under 15 that are above their 200-day moving average.
Survivorship mirage
It clears the bar on today's winners, the stocks everyone wishes they had bought, but not on the laggards, which is where hindsight can't help.
- It clears the bar on today's winners but not on the laggards: the winners' own rise did the work.
42 large US stocks, 15 years
Before costs +0.102R
By trade and by day, sized to a first try
What the numbers say
On the 22 laggards the average result was 0.015R per trade after costs over 1448 trades, against 0.212 on the 20 winners. In bull markets it made 0.007 and in flat markets −0.045; the bear-market 0.193 came from 134 trades. The winners' gain did not carry over to the laggards, hence the verdict.
How it was tested
Buy a stock at the close on the day it closes above its 200-day simple moving average, with a bracket stop and target.
- Side
- Long
- Time limit
- Exit at the close after 30 trading days, unless the stop, the target or its own exit comes first
- Bar to clear
- t > 2.01, by trade and by day, sized to a first try (one idea, tested once)
- Prices
- 15 years of daily bars through 2026-11-20; judged 2026-11-22
- The harness only sees one stock's own daily bars, so the P/E filter is dropped and only the trend filter is tested.
- 'Above the 200-day moving average' is read as close above the 200-day simple moving average.
- To avoid re-entering every day while above the average, the signal is the first close above it after a close at or below it.
- No stop or target was given, so a 2 x ATR(14) stop and a 4 x ATR(14) target were chosen.
- No holding period was given, so the maximum of 30 trading days is used.
The evidence
The laggards decide: 22 large stocks that lagged or fell, where hindsight can't flatter a rule. Today's winners sit beside them to show what survivorship would add.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 1,049 | +0.007R | 0.18 | −0.06 · 796d | −0.039R · beats 80% | +0.188R |
| Flat | 265 | −0.045R | −0.56 | −0.31 · 190d | −0.033R · beats 50% | +0.241R |
| Bear | 134 | +0.193R | 1.85 | 1.77 · 94d | +0.075R · beats 90% | +0.269R |
| All | 1,448 | +0.015R | −0.027R | +0.212R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 12.5 bps) plus 0.045R for the fills a real order wouldn't get. “By day” groups trades opened the same day, so a rule that fires on the same dates for every stock counts as a few events. “Random dates” places the same plan on random days of the same stocks in the same kind of market, 20 times; the idea must beat 95% of those draws.
The scanner we wroteShow the codeHide
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class PriceAbove200DmaLong:
name = "price_above_200dma_long"
description = "Fresh close above the 200-day SMA after a close at or below it; ATR-based bracket."
def __init__(self, sma_period: int = 200, atr_period: int = 14, stop_mult: float = 2.0, target_mult: float = 4.0) -> None:
self._sma_period = sma_period
self._atr_period = atr_period
self._stop_mult = stop_mult
self._target_mult = target_mult
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < self._sma_period + 15:
return None
closes = [b.close for b in bars]
sma_now = sma(closes, self._sma_period)
sma_prev = sma(closes[:-1], self._sma_period)
if sma_now is None or sma_prev is None:
return None
sma_now_d = Decimal(str(sma_now))
sma_prev_d = Decimal(str(sma_prev))
current = bars[-1]
prev = bars[-2]
if not (current.close > sma_now_d and prev.close <= sma_prev_d):
return None
atr_val = atr(bars, self._atr_period)
if atr_val is None or atr_val <= 0:
return None
atr_dec = Decimal(str(atr_val))
entry = current.close
stop = entry - Decimal(str(self._stop_mult)) * atr_dec
target = entry + Decimal(str(self._target_mult)) * atr_dec
risk = entry - stop
if risk <= 0 or stop <= 0:
return None
rr = (target - entry) / risk
if rr < Decimal("1.5"):
return None
# Strength: volume, close position, SMA slope, cross decisiveness
vols = [b.volume for b in bars[-21:-1]]
avg_vol = sum(vols) / max(len(vols), 1)
vol_ratio = float(current.volume) / max(float(avg_vol), 1.0)
vol_score = min(35, max(0, int((vol_ratio - 1) * 35)))
rng = max(current.high - current.low, Decimal("0.01"))
close_pos = float((current.close - current.low) / rng)
close_score = min(25, max(0, int(close_pos * 25)))
slope_score = 0
sma_old = sma(closes[:-20], self._sma_period)
if sma_old is not None and sma_old > 0:
slope = (float(sma_now) - float(sma_old)) / float(sma_old)
slope_score = min(20, max(0, int(slope * 400)))
dist_atr = float((current.close - sma_now_d) / atr_dec)
cross_score = min(20, max(0, int(dist_atr * 20)))
strength = max(0, min(100, vol_score + close_score + slope_score + cross_score))
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=int(strength),
thesis="Fresh close above the 200-day SMA after a close at or below it; trend-regime shift long with 2x ATR stop and 4x ATR target.",
)
Hypothetical results from our own backtest of the rule as restated, on 42 large US stocks over 15 years. Past performance, real or simulated, does not predict future results. Research and education only; not investment advice.
Describe it in plain words and get the same honest test in about a minute.