A Predictive Stock Entry & Exit SystemBuilt on OVTLYR behavioral analytics
OVTLYR sentiment data in; a market regime, an entry score, exit rules, a position size and a stop out. Results are measured on trades the rules never saw. Where it breaks down is under Caveats.
Per-trade win rate
76.1%
639 completed trades on 500 held-out tickers, 2024-2026. 95% confidence interval 72.6-79.4%.
Mean return per trade
+3.83%
Median +7.90%. Per-trade Sharpe 0.171.
Portfolio return
About 13-14% a year
Backtest 2020-2026 on holdout tickers: full rule set, $5 price test on each signal day, fills at the next open, 0.1% costs a trade, 20 positions. SPY: 14.0%. The edge is drawdown, not return.
Worst drawdown
−13 to −17%
Same backtest. SPY held throughout fell 33.7% at its worst.
Table of contents
Per-trade figures come from 500 tickers held out of all training, traded 2024–2026. Data runs 2020–2026. How it was tested is under Methodology. Not financial advice. OVTLYR links are referral links.
Headline
The system reads the market regime (Crisis, Normal or Extended) from SPY breadth, scores each stock for entry, and closes each trade with one of five profit and deadline rules (T1/T2/T3/T3_EXT/CAP) or one of two risk rules: a disaster stop and a dead-trade exit. Each position is sized so hitting its stop costs 1% of the account, and half that on days with weak buying conditions. Idle cash sits in SPY while the Balancer strategy is long SPY, and in T-bills (SGOV) otherwise. Stocks averaging under 1,000,000 shares a day or priced under $5 are never considered.
Per-trade results
500 tickers were held out of all training and rule selection, and the rules were fitted on 2020–2023 only. The strictest test is the held-out tickers in 2024–2026: names and years the rules never saw. Only completed trades count, and the $5 screen uses the close on the entry day.
| Test set | Trades | Win rate | Mean return | Median return |
|---|---|---|---|---|
| Training tickers, 2024-2026 | 2,551 | 77.58% | +3.35% | +8.05% |
| Held-out tickers, 2024-2026 | 639 | 76.06% | +3.83% | +7.90% |
Both ticker sets win more often in 2020-2023, about 83% (measured before the September 2026 correction, which barely moved them). That period held two bear markets; 2024-2026 has been harder for fear entries.
Resampling which tickers were held out puts a 95% confidence interval of 72.6-79.4% on the held-out win rate.
How trades end
Entry and exit rules alone, held-out tickers 2024-2026 (639 completed trades):
| Exit | % of trades | Win rate | Mean return |
|---|---|---|---|
| T1 (sentiment back to normal) | 3.3% | 100% | +8.0% |
| T2 (deep-fear recovery) | 19.4% | 100% | +14.8% |
| T3 (Crisis profit-take) | 16.0% | 100% | +8.6% |
| T3_EXT (outside Crisis, after a peak) | 36.5% | 100% | +13.9% |
| CAP (120-day timeout) | 24.9% | 3.8% | −23.0% |
The profit exits only fire on a trade in profit, so they always win. The cap is the only losing exit.
With the risk rules on (training tickers, 2020-2026, every fill at the next open), most of those losers end sooner: the dead-trade exit closes 12.8% of trades at about −11% on average, the disaster stop 6.8% at about −32%, and 4.6% still reach the cap (about −19%). Size is set from the stop, so a −32% stop exit costs the account about 1%.
Win rate, 2024-2026
What is OVTLYR?
OVTLYR (pronounced "outlier") measures investor sentiment for 3,300+ US-listed stocks. Its core output is the Fear & Greed oscillator, a 0–100 score per stock per day: lower is more fear, higher more greed.
This system uses sentiment first, with price signals (distance from moving averages, sector breadth, order blocks) as confirmation. Every metric is defined in the glossary.
Methodology
The pipeline
- Features. Fear & Greed (F&G), distance from the 50-day average, sector breadth and F&G rate of change, across all 11 GICS sectors.
- Bottoms. Find ~7,000 price bottoms from local lows and the returns that followed.
- Stock type. Label each ticker Mean-Reversion (MR), Momentum (MOM) or Mixed (MIX) by how it has responded to fear, using only data before each date.
- Cross-ticker patterns. Find features that predict good entries on any ticker.
- Scoring. One entry score per regime.
- Backtest. Fit on 2020–2023 (in-sample), test on 2024–2026 (out-of-sample). A ticker's next entry can only come after its last exit, so overlapping holds never count twice.
- Cross-validation. Check every candidate rule across years, regimes and stock types before it ships.
- Portfolio test. Run the rules as a 20-position portfolio with fills at the next open and trading costs. Judge changes on return, drawdown and Sharpe in both time halves.
Scale
- 3,300+ stocks covered by OVTLYR. The plan skips any under 1M shares a day or $5.
- 500 tickers held out of all training and rule selection.
- 11 GICS sectors represented.
- 639 completed trades on held-out tickers in 2024–2026, the strictest test.
- Training: Jan 2020 – Dec 2023. Time holdout: Jan 2024 onward.
- Rule discovery: ~1,000 candidate rules tested, corrected for testing many at once (BH-FDR, q=0.10).
The Three Regimes
The market is in one of three regimes — Crisis, Normal and Extended — set by SPY breadth, the share of S&P 500 stocks in an uptrend. Each regime has its own buy rule.
SPY breadth — the share of S&P 500 stocks in an uptrend
Crisis0–15%
Deep fear. Low F&G, sentiment still falling, price well under the 50-day average, weak sector.
~30 days a year · highest conviction
Normal15–50%
Stock-level fear starting to turn. Below-neutral F&G ticking up, price under the 50-day average.
Most of the year · the everyday playbook
Extended50–100%
No new entries. Over half the index is already in an uptrend, so this is late in the move — the weakest forward returns of any regime. Existing positions are held.
16% of days · no entries taken
| Regime | When | What it buys | How often |
|---|---|---|---|
| CRISIS | SPY breadth < 15% | Stocks in deep fear: low Fear & Greed, sentiment dropping fast, price well below the 50-day average, weak sector. Stocks that have bounced from extreme fear before (MR) are preferred most. Formula: Crisis score. | Rare (~30 days/year). Highest conviction. |
| NORMAL | SPY breadth 15–50% | Stocks whose own fear is starting to recover: below-neutral Fear & Greed, price below the 50-day average, weak-to-neutral sector, sentiment ticking up. Formula: Normal score. | Most of the year. Medium conviction. |
| EXTENDED | SPY breadth ≥ 50% | Nothing. More than half the index is already in an uptrend. Existing positions are held; no new ones are opened. | 16.3% of days. |
The regime is checked first and everything after it depends on it. Crisis has the largest recovery edge: panic selling leaves stocks at their cheapest.
Why the third regime buys nothing
Extended means more than half the index is already trending up. That sounds like the time to buy, but it is late in the move: the market's forward 20-day return is the weakest of the three regimes (+0.51%, against +2.35% in Crisis), and fear setups appear on 13.3% of stock-days here against 43.6% in Crisis.
Nine entry variants were backtested for this regime (buying fear, buying momentum names at fear, riding greed). Every one tied or lost to taking nothing, at the same holdout trade count: the slots refill with Crisis and Normal trades.
Positions opened earlier are held through it — 11.6% to 19.1% of all position-days fall in Extended.
The n810 Trading Plan
Three parts: universe filters (volume ≥ 1M, price ≥ $5), an entry filter (F&G < 70 in every regime) and five exit rules. T1 is skipped while OVTLYR's trend indicator is up, and T3_EXT is skipped for momentum (MOM) stocks so they can run past their first peak. Stock types are defined under stock classification.
The F&G 70 cliff
At F&G 70 or above (greed), the share of trades that time out at a loss roughly doubles. Below 70, few trades end in the 120-day timeout. Don't buy a stock that is already greedy.
Universe filters (applied before any other rule)
| Filter | Rule |
|---|---|
| Liquidity | Skip tickers averaging under 1,000,000 shares a day. These illiquid micro-caps produced the worst losses. |
| Price | Skip stocks under $5. OVTLYR's price history is split-adjusted, so a stock that has reverse-split its way down can look expensive in its past; this keeps it out. |
| F&G ceiling | Skip an entry when the stock's F&G is 70 or above. |
The system doesn't sell on OVTLYR's Sell flag alone.
OVTLYR publishes a Buy / Sell flag for each stock. The profit exits ignore it and read the Fear & Greed number directly, exiting when it crosses back into greed while the trade is in profit. Tested head-to-head, that beat selling on the flag on both return and win rate. The flag is used in one place: the dead-trade exit counts Sell signals on a losing position.
The five exit rules
Checked in order every day after entry; the first match sells at the next open. Four need the trade in profit. The fifth (CAP) is a hard 120-day deadline.
Each day a position is open, in this order
- T1Sentiment back in greed, trade up 5%+ — unless the trend is still confirmed→ sell
- T2Entered in deep fear, the bounce has faded, trade up 5%+→ sell
- T3Opened in Crisis, sentiment recovered to 40, trade up 5%+→ sell
- T3_EXTOpened outside Crisis, peaked at +10%, now fading — momentum names exempt→ sell
- CAPNone of the above fired within 120 trading days→ sell
No match — hold, and check the same five tomorrow.
| # | Name | What it looks for | Exact trigger |
|---|---|---|---|
| T1 | Sentiment normalized | Fear & Greed back in greed (≥60) and the trade up at least 5%. Skipped while OVTLYR's trend indicator shows a confirmed uptrend, so the trade can run. | osc >= 60 AND P&L > +5% AND final_region != 1 |
| T2 | Deep-fear bounce fading | Entered in deep fear (F&G < 50); F&G has recovered more than 60% of the way from its entry level to 50, is below its level 3 sessions ago, and the trade is up more than 5%. Takes the bounce before it reverses. | entry F&G < 50 AND (F&G − entry F&G) / (50 − entry F&G) > 0.6 AND F&G < F&G 3 sessions ago AND P&L > +5% |
| T3 | Crisis profit-take | Opened in Crisis: sell when F&G reaches 40 and the trade is up at least 5%. Same threshold in every sector. | regime@entry == CRISIS AND osc >= 40 AND P&L > +5% |
| T3_EXT | Peaked, then faded (outside Crisis) | Opened outside Crisis: once the trade has peaked at +10% or more and F&G has reached 40, sell while still in profit. Skipped for momentum stocks, which tend to run past the first peak. | regime@entry != CRISIS AND peak P&L >= +10% AND osc >= 40 AND P&L > 0 AND classification != MOMENTUM |
| CAP | 120-day deadline | Nothing above fired in 120 trading days: close regardless of P&L. | days held >= 120 |
T3_EXT usually sells at or near the trade's peak: the median give-back from the peak is zero. On the training tickers, the stocks did no better than SPY over the 60 days after the sale.
The 120-day cap is also a cooldown
Every profit exit needs P&L above 5%, so a trade whose peak never reaches +5% can only end at CAP or through the risk rules. On the holdout, about 65% of CAP trades never peak above +5%.
The cap also keeps the ticker away from the entry rules while it is held. Exit earlier and the entry rules often buy the same falling stock again, which is why simple early exits (stop-losses at −10% to −30%, trailing stops, day-count cuts) all lowered the return per trade. The risk rules below were chosen on a different test: they give up a little return for roughly half the portfolio's worst drawdown.
How to Trade It
The full rule set, as the daily picks apply it. The picks, the position checker and the backtests all run the same code.
Every morning (picks publish before the US open):
- Buy new picks at the open. Each pick carries a stop price and a size.
- Size each position so hitting its stop loses 1% of the account: 1% ÷ the stop distance, capped at 8% of the account. A typical pick is about 3%. Hold at most 20 positions. To risk 0.5% or 2% per position instead, scale every size by the same factor. On Weak buying-condition days, new picks get half that size, and the picks show the halved size. Weak-day trades still make money on average, just less, so they are bought smaller, not skipped.
- Sell at the open when a position meets any exit:
- the profit exits T1, T2, T3, T3_EXT, or the 120-day CAP;
- Dead trade: held 45+ trading days, never closed 5%+ above the entry price, below the entry price today, and OVTLYR has printed 2+ Sell signals since you bought;
- Disaster stop: a close at or below the entry price − 8 × ATR20 (the stock's average daily range over the 20 days before you bought). That's about −33% for a typical pick, so it catches disasters, not dips. An overnight gap can still open below it, which is why the size is set from it.
- Idle cash (anything not in positions) goes into SPY while the Balancer strategy is long SPY, and into SGOV (0–3 month T-bills) otherwise. The picks page shows which every morning. When it changes, act that day, at the open or the close. Sell SPY or SGOV as needed to fund new picks.
Performance
Sector breadth counts most at its lowest
The entry score reads sector breadth: the share of the stock's own sector on an OVTLYR Buy signal. The lower it is, the better the trade, all the way down to near zero, on all four test sets (both ticker sets, both time halves). So the score adds +1.5 below 2%, +1.0 below 5% and +0.5 below 10%, on top of the standard breadth points. The effect holds inside a single regime and after controlling for the stock's own Fear & Greed.
What breadth did not do
Six other readings of the same feed were tested and none survived: breadth direction, acceleration, its own 20- and 50-day trend, a sector's rank against the other ten, 20-day sector rotation, and price-versus-breadth divergence. As an exit, breadth was worse still: it fires on a large share of trades at a poor win rate and cuts winners short.
Market and sector conditions
Weaker sector and market conditions at entry go with better trades, in both regimes. Trades opened while the stock's sector ETF was below its 50-day average returned +5.3% on average, against +1.1% when it was above. Trade results are still about 90% stock-specific: the market explains roughly a fifth of a single stock's moves, and the sector a few points more.
Portfolio Results
The full rule set run as a portfolio: January 2020 to October 2026, every fill at the next open, 0.1% trading costs, 20 positions, $100k start. Strategy rows are the median of 20 random orderings of same-day picks.
| Training tickers: return a year / worst drawdown / Sharpe | Holdout tickers | |
|---|---|---|
| Full rule set (1% risk sizing, half size on Weak days, stop, dead-trade exit, idle cash in SPY or SGOV) | 17.2% / −13.2% / 1.33 | 16.1% / −15.4% / 1.26 |
| Entry and exit rules alone, 5% per pick | 21.8% / −27.7% / 1.02 | 11.8% / −23.1% / 0.71 |
| SPY held throughout | 14.0% / −33.7% / 0.77 | same |
Restated 27 October 2026: the strategy rows read 2-4 points high
The backtest kept only stocks whose price and volume pass the filters today, which drops names that later fell below $5 — it used information from the future. Applying the $5 test on each signal day gives a realistic 13-14% a year, a −13 to −17% worst drawdown and a Sharpe ratio of about 1.1 (about 0.85 net of T-bill returns). Costs of 0.3% a trade instead of 0.1% take about 1.7 points more. SPY: 14.0% / −33.7% / 0.62 net of T-bills. The edge is drawdown control, about half SPY's drawdown, not extra return. The rows above are kept to compare the variants, which carry about the same bias.
- Drawdown is about halved. The worst single position cost about 1.5–2% of the account, against about 4–5% with flat 5% sizing.
- The idle-cash rule matters. Holding SPY only while the Balancer strategy is long SPY, and T-bills otherwise, keeps the drawdown down; holding SPY all the time does not.
- It gives up return in strong markets. The edge over SPY came from 2020-2023, which held two bear markets. In 2024-2026 holding SPY (+19.5% a year) beat every active version, and did better net of T-bills too (Sharpe 0.93 against about 0.63).
What was tested and not adopted
- Ranking the day's picks. No ranking — setup score, liquidity, volatility, the stock's own record, Fear & Greed — chose better trades within a day out of sample, and filling the 20 slots highest-ranked first did no better than random order.
- Sector caps. Limiting open positions per sector (1 to 5) made the training portfolio worse.
- Leveraged ETFs for idle cash. 3× SPY instead of SPY added return but deepened the worst drawdown to about −23%.
- Different T3_EXT peak thresholds. 15–20% earned more per trade but didn't hold on both ticker sets; it stays at 10%.
- Bigger positions on Strong days. 1.5× size on Strong buying-condition days won on the training tickers but deepened the holdout drawdown from −15.0% to −17.6%.
- A faster dead-trade exit. Cutting dead trades after 20 or 30 days instead of 45, or after one Sell signal instead of two, lowered the training Sharpe from 1.33 to 1.27. The extra exits include trades that would have recovered.
These figures come from the same backtest and read high by the same amount; the comparisons between them stand.
The Daily Picks
The daily picks publish every weekday before the US open.
- A standing list. A name that meets the entry rule is republished every session it still does. Each pick shows whether it is new and how many sessions in a row it has qualified. Names on the list a while did not do worse than fresh ones.
- Sorted by distance below the 50-day average, deepest first. Picks flagged ⚠ PRICE GAP (a 40%+ one-day move in the last 60 sessions, usually a split, spin-off or data error) go last.
- Stop and size on every pick, from the rules in How to Trade It.
- Buying conditions. Weak, Normal or Strong for the day, from the average setup score of the day's new picks. The score separates days, not picks within a day. On the holdout, trades opened on weak days averaged about +1.8%, on normal days +5.7% and on strong days +6.1%.
- Idle cash. Whether idle cash should be in SPY or SGOV that day.
Data Quality
The OVTLYR feed occasionally has bad ticks: a single-day price disconnected from the days around it that disagrees with other public sources. Left in, they create fictional trades in the backtest. The pipeline checks every ticker on load for spike-then-revert patterns, statistical outliers and impossible open/high/low/close values, and repairs high-confidence cases in memory. The effect on the headline numbers is under 0.1 points of win rate.
Caveats and known limitations
Caveat 1
Survivorship bias
Every ticker in the OVTLYR universe still exists today; delisted and bankrupt stocks are missing from the data. The 76.1% holdout win rate assumes the stock survived long enough to be in the universe. Discount the signal on any stock with known bankruptcy risk.
Caveat 2
Short out-of-sample window
The out-of-sample period starts in January 2024 and contains two Crisis stretches (the 2025 tariff shock and the 2026 Middle East crisis), a thin sample. The training period (2020-2023) included COVID and the 2022 bear market, so the rules have seen several kinds of crisis, but results depend on the future looking somewhat like the past.
Caveat 3
Individual trades can lose far more than the stop
The disaster stop sits about 33% below a typical entry, and an overnight gap can open well below it. The worst holdout trade lost 67%. Sizing from the stop keeps any one loss to a small share of the account, but it doesn't cap the trade itself.
Caveat 4
The risk rules were chosen after the fact
The pre-declared risk test failed. The stop and the dead-trade exit were chosen after that, then checked once on the holdout tickers, where they held.
Caveat 5
Portfolio tests use a subset of tickers
The portfolio backtests run on the tickers with full daily data on hand: 300 training and 68 holdout tickers. With 68 tickers the holdout rarely fills all 20 slots, so it says little about how picks are chosen when there are more than 20.
Caveat 6
Split-adjusted historical prices
OVTLYR's price history is forward-split-adjusted: after a 1:100 reverse split, earlier closes show 100 times higher than they were. Check reverse-split history before opening a position; the ⚠ PRICE GAP flag catches most of these.
Caveat 7
Liquidity is a present-day figure
OVTLYR gives average volume as one current number, not a daily series, so the volume filter judges past trades by today's liquidity.
Methodology
(1) 500 tickers were held out of all training and rule selection. (2) The stock classifier only reads data dated before each trade. (3) Rule thresholds are checked on four test sets: training and held-out tickers, each in 2020–2023 and 2024–2026. (4) Cross-validation leaves a gap between training and test folds so neither leaks into the other. (5) ~1,000 candidate rules were tested with a false discovery rate correction (Benjamini-Hochberg, q=0.10). (6) Portfolio changes are declared before testing, tested on training tickers, and must hold in both time halves before the holdout is run once. (7) The live tools and the backtest make the same entry and exit decision for any ticker and date.
Tools
The production scripts share one implementation of the entry and exit rules, universe filters, stock classifier and risk rules.
daily.pyBuilds each day's picks: regime, entries, stop and size for each pick, buying conditions and the idle-cash reading. Published here every weekday before the open.
regime.pyPrints the current market regime from SPY data in one line: Crisis, Normal or Extended, and which playbook applies.
analyze.py TICKERBuy / Wait / Avoid for a new position. For a held position
(--owned PRICE --entry-date DATE) it checks every exit — the profit exits, CAP, the
dead-trade exit and the disaster stop — and says Hold or Sell. It also lists every
earlier trade the plan would have taken on the ticker: dates, prices, days held, F&G in
and out, peak and trough, and exit reason.
portfolio.pyRuns the same checks on every current holding, with each ticker's earlier record under the plan.
scan.pyChecks the regime, then scores every cached ticker and prints the candidates with each one's earlier record under the plan.