market-top-detector

Compute a 0-100 market-top score from six technical components and output a Markdown report.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/pasie15/claude-trading-skills-marketplace --skill market-top-detector-pasie15
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: market-top-detector
Source: https://github.com/pasie15/claude-trading-skills-marketplace/tree/main/plugins/trading-earnings-timing/skills/market-top-detector
Command: npx skills add https://github.com/pasie15/claude-trading-skills-marketplace --skill market-top-detector-pasie15

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Detects market top probability and provides a 0-100 composite score using O'Neil Distribution Days, Minervini Leading Stock Deterioration, and Monty Defensive Sector Rotation to help traders manage risk over 2-8 week horizons.

Core Features & Use Cases

  • 6-component scoring: Distribution Days, Leading Stock Health, Defensive Rotation, Breadth Divergence, Index Technical Condition, Sentiment & Speculation

  • Outputs a numeric score and risk zone plus a Markdown report; supports quick decisions on reducing equity exposure.

  • Use cases include asking whether the market is topping, identifying leadership breakdown, monitoring defensive rotation, and planning risk controls for the next 2-8 weeks.

Quick Start

Run the market_top_detector.py script with the latest data to produce a 0-100 market-top score and a Markdown report.

Frequently Asked Questions about market-top-detector

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

FAQPage Schema
How do I detect a market top and decide when to reduce equity exposure?▼

Detect a market top by running the detector script to generate a 0-100 composite score from distribution days, leading stock health, and breadth metrics. This score guides tactical risk decisions on reducing equity exposure over 2-8 week windows.

What is a distribution day and how does it signal a market top?▼

A distribution day is an institutional selling event tracked as a core component of market top detection. The detector aggregates O'Neil distribution day counts alongside other indicators to produce a probability score for market corrections.

How do I check if leading stocks are deteriorating before a broad market correction?▼

Check leading stock deterioration by feeding Minervini-style leadership health indicators into the detector. The script evaluates this alongside defensive sector rotation and breadth divergence to output a composite risk score.

Can I quantify market breadth divergence and defensive sector rotation into a single risk score?▼

Yes, you can quantify these factors by supplying breadth metrics and sector rotation signals to the script. It combines them with index technical conditions and sentiment data to output a unified 0-100 market top probability score.

What data inputs do I need to run a market top analysis script?▼

You need distribution day counts, leading-stock health indicators, sector rotation signals, breadth metrics, and price/volume data. Optional sentiment indicators can also be supplied to generate the full composite score and Markdown report.

Are market top signals effective for short-term trading or longer investment horizons?▼

Market top signals are designed for tactical risk management over 2-8 week windows. They specifically target planning for 10-20% market corrections rather than long-term investment horizons.