OPEN-SOURCE SCRIPT
Minor Break of Structure (Minor BoS)

This indicator extracts and isolates the Minor Break of Structure (BoS) logic from a full SMC framework and presents it as a clean, lightweight tool for structure-based price action traders.
Unlike traditional BOS indicators that rely on swing calculations with heavy filtering, this script uses original SMC-style minor structure logic to detect meaningful shifts in internal order flow.
A Minor BoS appears when price breaks above a minor swing high (bullish) or below a minor swing low (bearish), confirming a short-term continuation in trend direction.
Features:
Bullish Minor BoS detection
Bearish Minor BoS detection
Automatic line plotting with extend-right
Clear “Minor BoS” label with tiny footprint
Customizable line styles and colors
Lightweight & optimized for fast execution
Zero repainting on BoS confirmations
This tool is ideal for traders who want a simple, clean, and reliable structure-based signal without the noise of major structure, order blocks, liquidity sweeps, or external SMC modules.
Unlike traditional BOS indicators that rely on swing calculations with heavy filtering, this script uses original SMC-style minor structure logic to detect meaningful shifts in internal order flow.
A Minor BoS appears when price breaks above a minor swing high (bullish) or below a minor swing low (bearish), confirming a short-term continuation in trend direction.
Features:
Bullish Minor BoS detection
Bearish Minor BoS detection
Automatic line plotting with extend-right
Clear “Minor BoS” label with tiny footprint
Customizable line styles and colors
Lightweight & optimized for fast execution
Zero repainting on BoS confirmations
This tool is ideal for traders who want a simple, clean, and reliable structure-based signal without the noise of major structure, order blocks, liquidity sweeps, or external SMC modules.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.