market-breadth

Compare index price action against constituent-level breadth indicators.

25|3|Updated Jul 14, 2026
One-click install
npx skills add https://github.com/nimadorostkar/Claude-Skills-collection --skill market-breadth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: market-breadth
Source: https://github.com/nimadorostkar/Claude-Skills-collection/tree/main/skills/finance/market-breadth
Command: npx skills add https://github.com/nimadorostkar/Claude-Skills-collection --skill market-breadth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the problem of misinterpreting index price movements by revealing whether a market advance is broad-based or driven by a narrow group of stocks.

Core Features & Use Cases

  • Divergence Detection: Identifies when an index makes new highs while internal breadth indicators deteriorate.
  • Participation Analysis: Measures the percentage of constituents above moving averages to confirm the strength of a trend.
  • Use Case: Use this when the S&P 500 hits a new high to determine if the move is supported by the majority of stocks or if it is a fragile rally carried by a few large-cap names.

Quick Start

Analyze the provided constituent data and index price history to determine if the current market advance is broadening or narrowing.

Frequently Asked Questions about market-breadth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if an index rally is broad-based or driven by a few large-cap stocks?

Market breadth analysis assesses internal market health by comparing index price action against constituent-level breadth indicators. It calculates advance-decline lines and moving average participation to reveal whether an index rally is broad-based or driven by a narrow group of large-cap stocks.

What is cap-weight versus equal-weight divergence in market breadth analysis?

Cap-weight versus equal-weight divergence is a market breadth indicator that evaluates internal index health by comparing cap-weighted index performance against equal-weight calculations. It identifies whether large-cap stocks are masking broader constituent weakness during a market advance.

How do I calculate advance-decline lines using constituent price history?

Calculating advance-decline lines requires constituent-level price history and index data to track the cumulative difference between advancing and declining stocks. This participation analysis measures the percentage of constituents above moving averages to confirm underlying trend strength.

When do I need market breadth analysis for portfolio exposure adjustment?

Market breadth analysis is needed for portfolio exposure adjustment when an index makes new highs but internal breadth indicators deteriorate. Identifying this divergence supports quantitative analysis and risk management by revealing if a trend is fragile and requires reducing exposure.

Does market breadth analysis require constituent-level data for every index?

Market breadth analysis requires constituent-level price history and index data to evaluate internal market health. Without individual constituent price data, the skill cannot calculate advance-decline lines, moving average participation, or cap-weight versus equal-weight divergences.

What are the limitations of using moving average participation for risk management?

Using moving average participation for risk management is limited when a market advance is driven by a narrow group of stocks, causing deteriorating breadth indicators. It is most effective for confirming trend strength rather than predicting exact market reversals in isolation.