OPEN-SOURCE SCRIPT
The Betmans Concept

Overview
The Betmans Concept is a clean, precise, and systematic Smart Money Concepts (SMC) & ICT trading tool designed to automatically identify structural breaks and high-probability Order Blocks (OB).
This script focuses strictly on **Body-to-Body Order Blocks** aligned with market structure shifts (MSS), break of structure (BOS), and Fair Value Gaps (FVG) / Imbalances to eliminate market noise and highlight high-precision interest zones.
---
Key Features
1. ICT Body-to-Body Order Blocks
Clean Representation:** Draws Order Blocks using body-to-body price boundaries (ignoring upper/lower wicks for precise zone mapping).
Border-Free Visuals:** Clean green and red filled boxes with zero border clutter.
Bullish OB:** Marked with a clear Green box.
Bearish OB:** Marked with a clear Red box.
2. Smart Structure Breaks (BOS vs. MSS)
Market Structure Shift (MSS):** Automatically detects trend reversals and marks them clearly when price shifts character.
Break of Structure (BOS) Identifies trend continuation breaks.
Dotted Structure Lines: Draws horizontal dotted projection lines directly at swing highs/lows with inline text labeling.
3. Imbalance / FVG Validation Filter
* Order blocks are dynamically validated only when backed by an active **Fair Value Gap (Imbalance)** to filter out fakeouts and low-quality levels.
---
## How to Use
1. **Identify Trend Direction:** Look at the latest MSS or BOS line to determine current market flow.
2. **Locate Key Zones:** Wait for price to trace back into the highlighted Green (Bullish) or Red (Bearish) Order Block boxes.
3. **Execution:** Look for entry confirmations when price reacts off the body-to-body Order Block boundary.
---
Settings & Customization
* **Swing Length:** Adjust pivot detection sensitivity for structure breaks.
* **Show Structure Lines:** Toggle BOS/MSS dotted lines on or off.
* **Color Controls:** Fully customizable colors for order block fills and structure lines.
The Betmans Concept is a clean, precise, and systematic Smart Money Concepts (SMC) & ICT trading tool designed to automatically identify structural breaks and high-probability Order Blocks (OB).
This script focuses strictly on **Body-to-Body Order Blocks** aligned with market structure shifts (MSS), break of structure (BOS), and Fair Value Gaps (FVG) / Imbalances to eliminate market noise and highlight high-precision interest zones.
---
Key Features
1. ICT Body-to-Body Order Blocks
Clean Representation:** Draws Order Blocks using body-to-body price boundaries (ignoring upper/lower wicks for precise zone mapping).
Border-Free Visuals:** Clean green and red filled boxes with zero border clutter.
Bullish OB:** Marked with a clear Green box.
Bearish OB:** Marked with a clear Red box.
2. Smart Structure Breaks (BOS vs. MSS)
Market Structure Shift (MSS):** Automatically detects trend reversals and marks them clearly when price shifts character.
Break of Structure (BOS) Identifies trend continuation breaks.
Dotted Structure Lines: Draws horizontal dotted projection lines directly at swing highs/lows with inline text labeling.
3. Imbalance / FVG Validation Filter
* Order blocks are dynamically validated only when backed by an active **Fair Value Gap (Imbalance)** to filter out fakeouts and low-quality levels.
---
## How to Use
1. **Identify Trend Direction:** Look at the latest MSS or BOS line to determine current market flow.
2. **Locate Key Zones:** Wait for price to trace back into the highlighted Green (Bullish) or Red (Bearish) Order Block boxes.
3. **Execution:** Look for entry confirmations when price reacts off the body-to-body Order Block boundary.
---
Settings & Customization
* **Swing Length:** Adjust pivot detection sensitivity for structure breaks.
* **Show Structure Lines:** Toggle BOS/MSS dotted lines on or off.
* **Color Controls:** Fully customizable colors for order block fills and structure lines.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.