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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。