OPEN-SOURCE SCRIPT
SMC Fib Range Signals [@gyanapravah]

SMC Fib Range Signals [@gyanapravah]
This indicator blends Smart Money Concepts (SMC) with a Range Filter Trend System and Fibonacci Retracement & Extensions to generate high-probability automated Buy/Sell signals.
Designed to avoid noise and focus on market structure + trend + price confluence, this tool is ideal for:
1. Intraday traders
2. Swing traders
3. Index & stock traders
4. Crypto & Forex traders
CORE FEATURES
Range Filter Trend Detection
Smooth adaptive filter identifies true trend direction
Visual confirmation:
🟢 Green filter = bullish pressure
🔴 Red filter = bearish pressure
🟡 Yellow filter = neutral
Upper & Lower Bands act as dynamic support/resistance zones
Smart Money Order Blocks (SMC)
Automatically detects important pivot highs & lows
Marks:
OB High → supply / resistance zone
OB Low → demand / support zone
Continuously tracks latest OB levels for live price interaction
Fibonacci Engine
Detects the current swing zone and plots:
Retracement levels
0.236 – 0.382 – 0.500 – 0.618 – 0.786 (editable)
Extension targets
1.272 – 1.618
All levels update dynamically on new market structure and pivots.
SIGNAL ENGINE
This indicator generates signals from three independent confirmation systems:
BUY SIGNALS trigger when:
1. Trend flips bullish (price crosses above the Filter)
2.Bullish trend + price reacts near:
Order Block support
Fibonacci 0.382 / 0.618 levels
Bounce from the Lower Band with trend support
All setups require volume confirmation to filter fake breakouts.
SELL SIGNALS trigger when:
1. Trend flips bearish (price crosses below the Filter)
2. Bearish trend + price reacts near:
Order Block resistance
Fibonacci 0.382 / 0.618 levels
Rejection from the Upper Band with trend support
ALERTS READY
Two built-in alerts:
BUY Alert — fires on bullish signal
SELL Alert — fires on bearish signal
INPUT SETTINGS
Trend Engine
1.Source
2.Sampling Period
3.Range Multiplier
Smart Money
Pivot detection sensitivity (Left / Right bars)
Fibonacci
1.Swing lookback length
2.Editable Fib retracement and extension values
3.Toggle show/hide Fib levels
BEST USE CASE
Works extremely well on:
⏱️ 3M – 15M Intraday scalping
⏱️ 30M – 1H positional entries
⏱️ 4H – D1 swing trading
Tested on:
NIFTY / BANKNIFTY / FINNIFTY
Stocks
Crypto
Forex
DISCLAIMER
This indicator is for educational purposes only.
It does NOT guarantee profits.
Always use:
Proper risk management
Stop-loss rules
Your own confirmation before entering trades.
AUTHOR
Built & shared by @gyanapravah (Odisha, India)
Open-source for learning and community improvement.
This indicator blends Smart Money Concepts (SMC) with a Range Filter Trend System and Fibonacci Retracement & Extensions to generate high-probability automated Buy/Sell signals.
Designed to avoid noise and focus on market structure + trend + price confluence, this tool is ideal for:
1. Intraday traders
2. Swing traders
3. Index & stock traders
4. Crypto & Forex traders
CORE FEATURES
Range Filter Trend Detection
Smooth adaptive filter identifies true trend direction
Visual confirmation:
🟢 Green filter = bullish pressure
🔴 Red filter = bearish pressure
🟡 Yellow filter = neutral
Upper & Lower Bands act as dynamic support/resistance zones
Smart Money Order Blocks (SMC)
Automatically detects important pivot highs & lows
Marks:
OB High → supply / resistance zone
OB Low → demand / support zone
Continuously tracks latest OB levels for live price interaction
Fibonacci Engine
Detects the current swing zone and plots:
Retracement levels
0.236 – 0.382 – 0.500 – 0.618 – 0.786 (editable)
Extension targets
1.272 – 1.618
All levels update dynamically on new market structure and pivots.
SIGNAL ENGINE
This indicator generates signals from three independent confirmation systems:
BUY SIGNALS trigger when:
1. Trend flips bullish (price crosses above the Filter)
2.Bullish trend + price reacts near:
Order Block support
Fibonacci 0.382 / 0.618 levels
Bounce from the Lower Band with trend support
All setups require volume confirmation to filter fake breakouts.
SELL SIGNALS trigger when:
1. Trend flips bearish (price crosses below the Filter)
2. Bearish trend + price reacts near:
Order Block resistance
Fibonacci 0.382 / 0.618 levels
Rejection from the Upper Band with trend support
ALERTS READY
Two built-in alerts:
BUY Alert — fires on bullish signal
SELL Alert — fires on bearish signal
INPUT SETTINGS
Trend Engine
1.Source
2.Sampling Period
3.Range Multiplier
Smart Money
Pivot detection sensitivity (Left / Right bars)
Fibonacci
1.Swing lookback length
2.Editable Fib retracement and extension values
3.Toggle show/hide Fib levels
BEST USE CASE
Works extremely well on:
⏱️ 3M – 15M Intraday scalping
⏱️ 30M – 1H positional entries
⏱️ 4H – D1 swing trading
Tested on:
NIFTY / BANKNIFTY / FINNIFTY
Stocks
Crypto
Forex
DISCLAIMER
This indicator is for educational purposes only.
It does NOT guarantee profits.
Always use:
Proper risk management
Stop-loss rules
Your own confirmation before entering trades.
AUTHOR
Built & shared by @gyanapravah (Odisha, India)
Open-source for learning and community improvement.
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.