OPEN-SOURCE SCRIPT
SMC CHOCH BOS Dual Structure + Candle Color v6

📊 SMC CHOCH & BOS Dual Structure Indicator — User Guide
This indicator is designed to map market structure using Smart Money Concepts (SMC), combining:
CHOCH (Change of Character)
BOS (Break of Structure)
Swing Structure (macro)
Internal Structure (micro)
Dynamic candle coloring based on structural shifts
It provides a complete framework to understand trend shifts, confirmations, and execution timing.
🧠 CORE CONCEPTS
🔹 CHOCH (Change of Character)
Represents a potential reversal in market direction.
Bullish CHOCH → Market shifts from bearish to bullish
Bearish CHOCH → Market shifts from bullish to bearish
👉 This is the early signal, but not always confirmed.
🔹 BOS (Break of Structure)
Represents trend continuation or confirmation.
Occurs when price breaks previous structure in the direction of the trend
The first BOS after a CHOCH is especially important
👉 This is the confirmation phase.
⚙️ SETTINGS EXPLAINED
🔸 Show Structure
Swing → Displays macro structure (clean, less noise)
Internal → Displays micro structure (faster, more signals)
Both → Combines both for full context
👉 Recommended: Both
🔸 Swing Structure Length
Controls the sensitivity of macro structure.
Higher value → smoother, fewer signals
Lower value → more reactive
👉 Recommended: 8–15
🔸 Internal Structure Length
Controls micro structure detection.
Lower value → faster signals
Higher value → more filtering
👉 Recommended: 2–5
🔸 Confirm Break By Candle Close
ON → Break only confirmed after candle closes (more reliable)
OFF → Break detected instantly (faster, more aggressive)
👉 Recommended: ON
🔸 Candle Color Based On
Defines which structure controls candle coloring:
Swing → slower, trend-based coloring
Internal → faster, execution-based coloring
👉 Recommended:
Swing → for bias
Internal → for entries
🔸 Change Candle Color On
Defines when the trend/color shifts:
CHOCH
Faster reaction
More signals
Higher risk
First BOS After CHOCH
More confirmation
Fewer signals
Higher probability
👉 Recommended: First BOS After CHOCH
🔸 Color Candles
ON → candles follow structural direction
OFF → structure only (lines + labels)
🔸 Colors
Customize:
Swing bullish/bearish
Internal bullish/bearish
Candle colors
🔸 Show BOS/CHOCH Text
Displays text labels directly on structure lines:
No background
Centered on the line
Clean visual style
📈 HOW TO USE (PROFESSIONAL APPROACH)
🔹 1. Define Direction (Swing Structure)
Use Swing CHOCH + BOS to identify overall bias
Only trade in the direction of Swing trend
🔹 2. Execute with Internal Structure
Wait for Internal CHOCH
Then confirm with Internal BOS
👉 This is your entry trigger
🔹 3. Best Setup (High Probability)
✔ Swing trend bullish
✔ Internal CHOCH (pullback ends)
✔ First BOS confirms continuation
👉 That’s your trade
⚠️ COMMON MISTAKES
❌ Trading CHOCH alone
❌ Ignoring higher timeframe structure
❌ Entering after extended moves
❌ Using Internal signals against Swing trend
🔥 SIMPLE RULE SET
CHOCH = potential shift
BOS = confirmation
Swing = direction
Internal = execution
🎯 FINAL THOUGHT
This indicator is not just for signals —
it’s a market structure framework.
If used correctly, it helps you:
Avoid late entries
Trade with structure, not emotion
Align with institutional flow
This indicator is designed to map market structure using Smart Money Concepts (SMC), combining:
CHOCH (Change of Character)
BOS (Break of Structure)
Swing Structure (macro)
Internal Structure (micro)
Dynamic candle coloring based on structural shifts
It provides a complete framework to understand trend shifts, confirmations, and execution timing.
🧠 CORE CONCEPTS
🔹 CHOCH (Change of Character)
Represents a potential reversal in market direction.
Bullish CHOCH → Market shifts from bearish to bullish
Bearish CHOCH → Market shifts from bullish to bearish
👉 This is the early signal, but not always confirmed.
🔹 BOS (Break of Structure)
Represents trend continuation or confirmation.
Occurs when price breaks previous structure in the direction of the trend
The first BOS after a CHOCH is especially important
👉 This is the confirmation phase.
⚙️ SETTINGS EXPLAINED
🔸 Show Structure
Swing → Displays macro structure (clean, less noise)
Internal → Displays micro structure (faster, more signals)
Both → Combines both for full context
👉 Recommended: Both
🔸 Swing Structure Length
Controls the sensitivity of macro structure.
Higher value → smoother, fewer signals
Lower value → more reactive
👉 Recommended: 8–15
🔸 Internal Structure Length
Controls micro structure detection.
Lower value → faster signals
Higher value → more filtering
👉 Recommended: 2–5
🔸 Confirm Break By Candle Close
ON → Break only confirmed after candle closes (more reliable)
OFF → Break detected instantly (faster, more aggressive)
👉 Recommended: ON
🔸 Candle Color Based On
Defines which structure controls candle coloring:
Swing → slower, trend-based coloring
Internal → faster, execution-based coloring
👉 Recommended:
Swing → for bias
Internal → for entries
🔸 Change Candle Color On
Defines when the trend/color shifts:
CHOCH
Faster reaction
More signals
Higher risk
First BOS After CHOCH
More confirmation
Fewer signals
Higher probability
👉 Recommended: First BOS After CHOCH
🔸 Color Candles
ON → candles follow structural direction
OFF → structure only (lines + labels)
🔸 Colors
Customize:
Swing bullish/bearish
Internal bullish/bearish
Candle colors
🔸 Show BOS/CHOCH Text
Displays text labels directly on structure lines:
No background
Centered on the line
Clean visual style
📈 HOW TO USE (PROFESSIONAL APPROACH)
🔹 1. Define Direction (Swing Structure)
Use Swing CHOCH + BOS to identify overall bias
Only trade in the direction of Swing trend
🔹 2. Execute with Internal Structure
Wait for Internal CHOCH
Then confirm with Internal BOS
👉 This is your entry trigger
🔹 3. Best Setup (High Probability)
✔ Swing trend bullish
✔ Internal CHOCH (pullback ends)
✔ First BOS confirms continuation
👉 That’s your trade
⚠️ COMMON MISTAKES
❌ Trading CHOCH alone
❌ Ignoring higher timeframe structure
❌ Entering after extended moves
❌ Using Internal signals against Swing trend
🔥 SIMPLE RULE SET
CHOCH = potential shift
BOS = confirmation
Swing = direction
Internal = execution
🎯 FINAL THOUGHT
This indicator is not just for signals —
it’s a market structure framework.
If used correctly, it helps you:
Avoid late entries
Trade with structure, not emotion
Align with institutional flow
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.