Skip to content

Decoding Market Regimes: A Quantitative Approach to Risk-On and Risk-Off Signals ​

In the modern financial landscape, predicting the stock market is a fool's errand. However, identifying the current Market Regime—whether the environment favors risk-taking or capital preservation—is a mathematical reality.

Instead of relying on financial news headlines, elite systematic investors use quantitative models to categorize the market into distinct modes: Risk-On, Risk-Off, or Neutral. In this article, we peel back the curtain on our proprietary methodology for calculating Market Regimes, utilizing price action, systemic risk composites, and sentiment indicators.

What is a Market Regime? ​

A market regime is a prevailing structural environment characterized by specific price behavior, volatility, and macroeconomic factors.

  • Risk-On (Bullish): Investors are aggressive, seeking high returns in equities. Volatility is low, and momentum is strong.
  • Risk-Off (Bearish): Investors prioritize safety, dumping equities for bonds or cash. Volatility spikes, and downtrends dominate.
  • Neutral: The market is transitioning or consolidating without clear directional strength.

To accurately pinpoint these transitions, our algorithmic engine evaluates the market across three independent pillars: Price Trend, Systemic Risk, and Market Sentiment. Because price action is the only absolute truth, we apply a weighted scoring system to ensure lagging sentiment never overrides primary market trends.


Pillar 1: Price Action and Trend Strength (ADX & DMI) ​

Price is the ultimate truth. Before looking at secondary metrics, we evaluate the raw trend of the two major indices: the S&P 500 and the NASDAQ.

We utilize the Average Directional Index (ADX) paired with the Directional Movement Indicators (+DI and -DI) to gauge both the direction and the strength of the trend. Because this is the most critical pillar, its signals carry double weight (±2 points per index) in our final calculation.

  1. Trend Threshold: The ADX must be above 20.0. If it is lower, the market is chopping sideways, and we assign a neutral score (0). This strictly filters out "false" trends in volatile, directionless markets.
  2. Bullish Signal (+2): The positive directional indicator (+DI) must be higher than the negative (-DI), and critically, +DI must be outpacing the ADX trend line itself. This prevents entering exhausted, late-stage trends.
  3. Bearish Signal (-2): If sellers are in control (-DI > +DI) and momentum is accelerating (-DI > ADX), we record a heavily weighted bearish score.

Pillar 2: The Systemic Risk Score ​

The stock market does not exist in a vacuum. Under the hood, bond markets and volatility indices often signal danger before equities do. Our system calculates a daily Risk Score by analyzing a blend of macro indicators:

  • TLT (20+ Year Treasuries): A safe-haven asset.
  • HYG (High Yield Corporate Bonds): A gauge of corporate credit stress.
  • VIX: The market's fear gauge.
  • Treasury Yields (10Y & 2Y): For yield curve dynamics.

Once the daily Risk Score is aggregated, we analyze its structural momentum to prevent reacting to 3-day market noise.

  • Dual Moving Average Crossover (SMA9 vs SMA21): We compare the fast 9-day moving average of the Risk Score against its slower 21-day counterpart. If the SMA9 crosses above the SMA21, risk is structurally expanding (Bearish, -1). If it crosses below, risk is easing (Bullish, +1).
  • Relative Strength Index (RSI 14): We calculate the RSI of the Risk Score itself and compare it against its signal line. A rising Risk RSI means fear is accelerating at a micro-level—a strict Risk-Off warning.

Pillar 3: Market Sentiment (Fear & Greed) ​

Humans drive markets, and humans are emotional. Our third pillar evaluates the Fear and Greed Index. Rather than treating this purely as a daily contrarian indicator, we use it to measure broad sentiment momentum.

  • Sentiment Trend Crossover: Similar to our risk module, we compare the Fear & Greed's 9-day SMA to its 21-day SMA. If the fast average crosses above the slow average, optimism is accelerating (Bullish, +1). If it crosses below, fear is structurally taking hold (Bearish, -1). This dual-average smoothing eliminates the "whipsaw" effect of daily news panic.
  • Sentiment RSI: We measure the localized momentum of sentiment. If the RSI of Fear & Greed crosses above its signal line, we add a bullish point (+1).

Aggregating the Final Regime Score ​

Our engine aggregates the inputs from these three pillars into a unified score. Because we apply a 2x weight to the Price Trend pillar to ensure price action dominates the math, the final scoring matrix ranges from -8 to +8.

The Classification Matrix ​

  • Score >= +3 (RISK-ON): The math aligns. Trends are strong, systemic risk is fading, and sentiment is healthy. Price action has confirmed the move, permitting aggressive equity exposure.
  • Score <= -3 (RISK-OFF): Danger is flashing. Breaking price trends combined with expanding bond volatility or collapsing sentiment mean capital preservation mode is active.
  • Score between -2 and +2 (NEUTRAL): The market is issuing mixed signals (e.g., strong price action but rapidly expanding systemic risk). In this regime, the math dictates caution, tight stop-losses, and reduced position sizing.

By treating the market as a confluence of smoothed data points rather than a narrative, our Market Regime calculation removes human bias. It allows traders and investors to stay on the right side of the structural trend, maximizing returns during Risk-On phases and preserving capital during Risk-Off storms.