The three crowd inputs of the Market Fear & Greed gauge, one at a time: each ranked against its own last 5 years beside the S&P 500 and tested against what the index did next. The question is not "is the crowd bullish" but "when the crowd was this bullish before, what happened".
The three crowds. AAII: the American Association of Individual Investors asks its members each week whether they are bullish, neutral or bearish on stocks over the next six months; the bull-bear spread is the headline, the bullish and bearish shares are also offered (weekly since July 1987, from AAII's own workbook). Put/call: Cboe's daily put volume over call volume for every option product (total, since 1995), for single-stock options (equity, since 2003), for cash-settled index options (index, since 2003) and for SPX + SPXW (since 2010); a high ratio is a bearish crowd, so the ratio is flipped before it is ranked. Cboe froze its archive CSVs on October 4 2019; from October 7 2019 the daily market-statistics feed continues the same series. Retail: the traders the CFTC does not name in its weekly Commitments of Traders report (positions below the reporting level, the "non-reportable" book) in the asset's own futures: the share of their positions that is long, or their net position as a share of open interest. EdgeFinder's retail page shows one broker's client book, which has no public history; the CFTC book is the same idea with 25 years behind it.
The crowd lean. Each reading is ranked against the indicator's own readings over the trailing 5 years (after at least two years of history) and shown as 0-100: 100 is the most bullish the crowd has been in five years, 0 the most bearish. Zones: extreme bearish (10 or under), bearish (25 or under), neutral, bullish (75 and over), extreme bullish (90 and over). Smoothing averages the readings over N observations first.
The test. For every reading the asset's return over the next 1 week / 1 month / 3 months / 6 months (5 / 21 / 63 / 126 sessions), counted from the first close on or after the day the reading was public: the Thursday AAII posts it, the session after Cboe's close, and for the CFTC the Monday after the Friday release of Tuesday's positions. Per zone: the mean and median, the share of positive outcomes, the number of readings and of episodes (consecutive readings in the same zone count once) and the standard error on episodes; a zone's edge over the all-readings average is "within noise" unless it clears two standard errors. The extremes test compares extreme-bearish with extreme-bullish readings (contrarian when the bearish crowd was followed by the better returns, t of 2 or more). The rank correlation between the lean and the forward return is computed in the first and second halves of the history with a noise band of 2 / √n, n reduced for overlapping windows; a verdict needs both halves outside the band with the same sign. The overall verdict counts those tests at one and three months.
Caveats. Overlapping forward windows make the readings less independent than their count suggests (hence episodes). The percentile window makes the zones relative: a reading that is extreme against the last five years may be ordinary against the last thirty. The AAII sample is a few hundred self-selected members a week. Cboe's product mix changed over the years (weeklies, ETPs, 0DTE), which moves the put/call ratios' levels; the five-year ranking absorbs most of that. The CFTC small-trader book includes anyone under the reporting level, not only retail accounts. Prices: Yahoo Finance daily closes. Not financial advice.