market-regime-classifier

Classify market regimes using multi-feature indicators and map them to trading strategies.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill market-regime-classifier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: market-regime-classifier
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/market-regime-classifier
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill market-regime-classifier

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Classifies market regimes to inform trading decisions.

Core Features & Use Cases

  • Regime detection across multiple indicators (ADX proxy, Bollinger bandwidth, MA alignment, efficiency metrics) to label regimes as trending_up, trending_down, ranging, volatile, or quiet.
  • Strategy mapping: recommends primary trading approaches and risk parameters tailored to each regime.
  • Use Case: helps a trader decide whether to chase breakouts, fade ranges, or avoid entering during volatility spikes.

Quick Start

Provide a market data series or live feed to analyze and return the current regime and recommended strategy.

Frequently Asked Questions about market-regime-classifier

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

FAQPage Schema
How do I detect market regimes to guide trading strategy selection?

Market regime detection classifies price data into states like trending_up, trending_down, ranging, volatile, or quiet using multi-feature indicators such as an ADX proxy and Bollinger bandwidth. This labels current conditions to recommend whether to chase breakouts or fade ranges.

Can I classify market regimes using both live feeds and historical data?

Yes, market regime classification applies across intraday to multi-day horizons and works on both live and historical data. You provide a market data series or live feed to analyze and return the current regime along with its recommended strategy.

What indicators are used to classify a market as volatile or quiet?

Classification uses multi-feature indicators including an ADX proxy, Bollinger bandwidth, moving-average alignment, and efficiency metrics. These features combine to label the market regime as volatile, quiet, trending, or ranging.

How do I map a detected market regime to a specific trading strategy?

Strategy mapping recommends primary trading approaches and risk parameters tailored to each detected regime. It helps you decide whether to chase breakouts, fade ranges, or avoid entering the market during volatility spikes.

What is the best way to filter trading signals during high volatility spikes?

Classifying the market regime using multi-feature indicators identifies volatility spikes, allowing the strategy mapping to recommend avoiding market entry. This filters out unfavorable trading signals during volatile periods.

Does this market regime classifier require specific moving-average alignment setups?

The classifier uses moving-average alignment as one of its multi-feature indicators to detect regimes. You provide the market data series, and the internal logic evaluates this alignment alongside Bollinger bandwidth and efficiency to output the regime.