INVITE-ONLY SCRIPT
Order Blocks & Breaker Blocks Plus [SunanLabs]

🟦 Order Blocks & Breaker Blocks Plus [SunanLabs] V1.0
© SunanLabs — Creative Commons Attribution 4.0 International (CC BY 4.0)
Version: 1.0 – Breaker Marker Build
Pine Script Version: v6 (Fully Compliant)
Category: Technical Analysis → Smart Money Concepts / Supply & Demand
🧭 Overview
Order Blocks & Breaker Blocks Plus [SunanLabs] is a precision-engineered visualization tool designed for institutional-style Smart Money Concepts (SMC) trading.
It automatically detects, plots, and updates Order Blocks (OBs) and Breaker Blocks (BBs) in real time — with full control over transparency, marker shape, and size, directly from the TradingView UI.
Built for both professional traders and educational use, it visually clarifies how structure shifts occur when liquidity is swept and rebalanced by market makers.
⚙️ Core Features
✅ Real-Time Order Block Detection
• Bullish and Bearish OBs automatically marked based on swing structure.
• Uses either wicks or candle bodies (configurable).
✅ Breaker Block Tracking
• When an OB fails, a dashed breaker line is drawn at the exact invalidation point.
• Perfect for visualizing liquidity flips or structural breaks.
✅ Marker System (Customizable)
• Choose between two styles: "▲ / ▼" or "⇑ / ⇓", or disable markers completely.
• Marker sizes from tiny → huge for all chart styles and resolutions.
✅ Fully Reactive Colors
• Direct opacity control via TradingView color picker (no hardcoded alpha).
• Separate color sets for OBs and Breaker Blocks.
✅ Built-in Alerts
• Automatic alerts when new OBs form or when a Breaker Block triggers.
• Alerts include symbol, timeframe, and current price context.
✅ Ultra-Stable Build
• Pine v6 compliant (no line continuations, undeclared variables, or runtime warnings).
• Modular, efficient, and built for expansion.
🧩 Usage Guide
1. Swing Lookback – Controls sensitivity: higher = stronger, fewer OBs; lower = more reactive zones.
2. Show Last Bullish/Bearish OB – Limits how many zones are displayed for visual clarity.
3. Use Candle Body – Toggles between wick-based and body-based zone boundaries.
4. Marker Style – Select from:
▲ / ▼ traditional solid arrows
⇑ / ⇓ arrowhead-with-tail style
none to disable markers
5. Marker Size – Choose from tiny, small, normal, large, or huge.
6. Colors – All opacity levels controlled directly through the color configuration UI.
📚 Concept Notes
• Order Block (OB): The last bullish/bearish candle before a strong opposing move; represents institutional order placement zones.
• Breaker Block (BB): A former OB invalidated by price; it flips polarity and often acts as support/resistance.
• Swing Lookback: Determines how the indicator identifies local highs/lows for OB anchoring.
⚠️ Disclaimer
This indicator is provided for educational and research purposes only.
It does not constitute financial advice or a guarantee of trading performance.
Always test indicators thoroughly in simulation before live trading.
🧾 License
This script is released under the
Creative Commons Attribution 4.0 International License (CC BY 4.0).
You are free to use, modify, and share it for any purpose —
with proper credit to “SunanLabs.”
🧠 Attribution
Developed and maintained by SunanLabs
Part of the SunanLabs Smart Money Concepts Suite
Built to the SunanLabs PineScript Standards for reliability, modularity, and clarity.
© SunanLabs — Creative Commons Attribution 4.0 International (CC BY 4.0)
Version: 1.0 – Breaker Marker Build
Pine Script Version: v6 (Fully Compliant)
Category: Technical Analysis → Smart Money Concepts / Supply & Demand
🧭 Overview
Order Blocks & Breaker Blocks Plus [SunanLabs] is a precision-engineered visualization tool designed for institutional-style Smart Money Concepts (SMC) trading.
It automatically detects, plots, and updates Order Blocks (OBs) and Breaker Blocks (BBs) in real time — with full control over transparency, marker shape, and size, directly from the TradingView UI.
Built for both professional traders and educational use, it visually clarifies how structure shifts occur when liquidity is swept and rebalanced by market makers.
⚙️ Core Features
✅ Real-Time Order Block Detection
• Bullish and Bearish OBs automatically marked based on swing structure.
• Uses either wicks or candle bodies (configurable).
✅ Breaker Block Tracking
• When an OB fails, a dashed breaker line is drawn at the exact invalidation point.
• Perfect for visualizing liquidity flips or structural breaks.
✅ Marker System (Customizable)
• Choose between two styles: "▲ / ▼" or "⇑ / ⇓", or disable markers completely.
• Marker sizes from tiny → huge for all chart styles and resolutions.
✅ Fully Reactive Colors
• Direct opacity control via TradingView color picker (no hardcoded alpha).
• Separate color sets for OBs and Breaker Blocks.
✅ Built-in Alerts
• Automatic alerts when new OBs form or when a Breaker Block triggers.
• Alerts include symbol, timeframe, and current price context.
✅ Ultra-Stable Build
• Pine v6 compliant (no line continuations, undeclared variables, or runtime warnings).
• Modular, efficient, and built for expansion.
🧩 Usage Guide
1. Swing Lookback – Controls sensitivity: higher = stronger, fewer OBs; lower = more reactive zones.
2. Show Last Bullish/Bearish OB – Limits how many zones are displayed for visual clarity.
3. Use Candle Body – Toggles between wick-based and body-based zone boundaries.
4. Marker Style – Select from:
▲ / ▼ traditional solid arrows
⇑ / ⇓ arrowhead-with-tail style
none to disable markers
5. Marker Size – Choose from tiny, small, normal, large, or huge.
6. Colors – All opacity levels controlled directly through the color configuration UI.
📚 Concept Notes
• Order Block (OB): The last bullish/bearish candle before a strong opposing move; represents institutional order placement zones.
• Breaker Block (BB): A former OB invalidated by price; it flips polarity and often acts as support/resistance.
• Swing Lookback: Determines how the indicator identifies local highs/lows for OB anchoring.
⚠️ Disclaimer
This indicator is provided for educational and research purposes only.
It does not constitute financial advice or a guarantee of trading performance.
Always test indicators thoroughly in simulation before live trading.
🧾 License
This script is released under the
Creative Commons Attribution 4.0 International License (CC BY 4.0).
You are free to use, modify, and share it for any purpose —
with proper credit to “SunanLabs.”
🧠 Attribution
Developed and maintained by SunanLabs
Part of the SunanLabs Smart Money Concepts Suite
Built to the SunanLabs PineScript Standards for reliability, modularity, and clarity.
招待専用スクリプト
このスクリプトは作者が承認したユーザーのみアクセス可能です。使用するにはアクセス申請をして許可を得る必要があります。通常は支払い後に承認されます。詳細は下記の作者の指示に従うか、Ki_Sunanに直接お問い合わせください。
TradingViewは、作者を完全に信頼し、スクリプトの動作を理解していない限り、有料スクリプトの購入・使用を推奨しません。コミュニティスクリプトには無料のオープンソースの代替が多数あります。
作者の指示
To be relased soon as invite onlh indicator.
Commercial release will be announced later.
Sunan Labs
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
招待専用スクリプト
このスクリプトは作者が承認したユーザーのみアクセス可能です。使用するにはアクセス申請をして許可を得る必要があります。通常は支払い後に承認されます。詳細は下記の作者の指示に従うか、Ki_Sunanに直接お問い合わせください。
TradingViewは、作者を完全に信頼し、スクリプトの動作を理解していない限り、有料スクリプトの購入・使用を推奨しません。コミュニティスクリプトには無料のオープンソースの代替が多数あります。
作者の指示
To be relased soon as invite onlh indicator.
Commercial release will be announced later.
Sunan Labs
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。