OPEN-SOURCE SCRIPT
CRR - Smart Money Concept (Pro Expo)

Detects Market Structure
Finds pivots using Structure Period.
Marks:
HH (Higher High), LH (Lower High)
HL (Higher Low), LL (Lower Low)
Can draw swing points at highs and lows.
Detects Structure Breaks
When the price breaks the last swing:
BMS (Break of Market Structure) → continuation.
ChoCH (Change of Character) → possible trend reversal.
Differentiates between strong and weak movements using filters.
Confirmation Filters (optional)
If useFilters is enabled, to validate breaks it uses:
ATR → the close must cross the level by at least atrMult * ATR.
Volume → the current volume must be > volMult * average volume.
MACD → in the direction of the break.
Gap → avoids some false breakouts due to gaps.
Internal Fibonacci Retracement of the Last Range
Draws 38.2%, 50%, and 61.8% between the last swing high and swing low.
Serves as internal bounce/discount/premium zones.
Current Range
Draws two dashed yellow lines:
Top: last swing High.
Bottom: last swing Low.
Shows you the range where the price is currently trading.
🧩 In short:
This script draws complete SMC structure (HH/HL/LL/LH + BMS + ChoCH), validates breakouts with ATR, volume, MACD, and gaps, and also displays internal Fibonacci retracement + current range, all automatically and cleanly.
Finds pivots using Structure Period.
Marks:
HH (Higher High), LH (Lower High)
HL (Higher Low), LL (Lower Low)
Can draw swing points at highs and lows.
Detects Structure Breaks
When the price breaks the last swing:
BMS (Break of Market Structure) → continuation.
ChoCH (Change of Character) → possible trend reversal.
Differentiates between strong and weak movements using filters.
Confirmation Filters (optional)
If useFilters is enabled, to validate breaks it uses:
ATR → the close must cross the level by at least atrMult * ATR.
Volume → the current volume must be > volMult * average volume.
MACD → in the direction of the break.
Gap → avoids some false breakouts due to gaps.
Internal Fibonacci Retracement of the Last Range
Draws 38.2%, 50%, and 61.8% between the last swing high and swing low.
Serves as internal bounce/discount/premium zones.
Current Range
Draws two dashed yellow lines:
Top: last swing High.
Bottom: last swing Low.
Shows you the range where the price is currently trading.
🧩 In short:
This script draws complete SMC structure (HH/HL/LL/LH + BMS + ChoCH), validates breakouts with ATR, volume, MACD, and gaps, and also displays internal Fibonacci retracement + current range, all automatically and cleanly.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.