market-structure-bos-choch

Detect BOS and CHoCH signals from price data with candle-close validation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mechanical detection of market structure to identify Break of Structure (BOS) and Change of Character (CHoCH), reducing subjectivity in swing-point identification.

Core Features & Use Cases

  • Mechanical candle-close validation identifies valid highs and lows across assets and timeframes.
  • Detects BOS and CHoCH events and maps current structure for trend analysis.
  • Provides Python implementations and a Scipy-based approach for swing detection and multi-timeframe application.

Quick Start

Apply the BOS/CHoCH market-structure tool to your price data to automatically identify valid swings and BOS/CHoCH signals.

Frequently Asked Questions about market-structure-bos-choch

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

FAQPage Schema
How do I detect break of structure and change of character in price action?

Break of structure and change of character are detected by validating candle closes against mapped swing highs and lows. This mechanical approach removes subjectivity from market structure trend analysis across any asset.

Can I use market structure analysis for crypto and Forex on multiple timeframes?

Yes, market structure analysis applies across any asset including Forex, crypto, and indices, on any timeframe. It supports multi-timeframe analysis to validate swing points and BOS or CHoCH signals for entries and risk management.

What is the difference between a BOS and a CHoCH signal in market structure?

A BOS signals trend continuation when price breaks a prior swing high or low, while a CHoCH indicates a potential trend reversal. Both are identified mechanically through candle-close validation to map current market structure.

How do I automatically identify valid swing highs and swing lows in Python?

You can identify valid swing highs and lows using a Python implementation with a Scipy-based approach for swing detection. It applies mechanical candle-close validation rules to automatically map valid swing points from price data.

Does mechanical BOS CHoCH detection require manual chart drawing?

No, mechanical BOS and CHoCH detection does not require manual chart drawing. It applies rule-based detection and candle-close validation directly to price data to objectively identify market structure swings and trend signals.