EquationDB

Market timing & breadth

For macro PMs, asset allocators, tactical strategists

Breadth composites for the top 500 are stored as symbols, so they chart, screen and backtest like any price. Ask what happened after a washout without assembling an advance-decline database first.

  • Financial markets
  • 6 steps
  • Runs on live data

How EquationDB answers it

Each step is one query on live data. Run them in order, or open any one and adapt it: change the symbol, the station, the dates or the filter.

  1. Breadth under the index

    Six months of SPY against the share of stocks above their 50- and 200-day averages and the VIX: divergences at a glance.

    GET SPY SELECT close, $BRD.A50@close AS pct_above_50, $BRD.A200@close AS pct_above_200, $VIX@close AS vix LAST 6mo
    Try it →
  2. Market-regime events

    Breadth thrusts, washouts, recoveries, new-high expansions and VIX regime shifts over two years.

    EVENTS CATEGORY market LAST 2y
    Try it →
  3. Buy the breadth washout?

    Index and sector ETF returns after fewer than 20% of stocks held their 50-day average, versus baseline.

    OUTCOMES AFTER $BRD.A50@close CROSS BELOW 20 IN refs FWD 20d, 60d
    Try it →
  4. When a fifth of stocks are oversold

    What followed days when more than 20% of the top 500 had RSI below 30, a capitulation gauge.

    OUTCOMES AFTER $BRD.OS@close > 20 IN refs FWD 20d, 60d
    Try it →
  5. New-low expansions

    Forward returns after more than 50 stocks made new 52-week lows on the same day.

    OUTCOMES AFTER $BRD.NL@close CROSS ABOVE 50 IN refs FWD 20d, 60d
    Try it →
  6. Every deep washout on record

    Each day in 20 years when fewer than 12% of stocks were above their 50-day average: the market's rare capitulation dates.

    GET $BRD.A50 SELECT close LAST 20y WHERE close < 12
    Try it →

Run it on your own question

Sign in and press Try it on any step, or ask for a short demo on your data.

Request a trial

More financial markets use cases