OPEN-SOURCE SCRIPT

CRR - Smart Money Concept (Pro Expo)

475
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.