PROTECTED SOURCE SCRIPT
Smart Market Structure Pro v10 - Last-Only Zones

Smart Market Structure Pro v10 - Last-Only Zones
Type: Market structure + support/resistance zones + trendlines + Fibonacci levels
Purpose:
Ye indicator price chart par strong market structure levels, last swing highs/lows, rejection zones, bounce zones, Fibonacci retracement levels, trendlines, FVGs (Fair Value Gaps), aur Order Blocks ko identify karta hai. Ye sab last-only (recent strongest) objects dikhaata hai, taaki chart clutter na ho aur sirf important zones dikhe.
1️⃣ FVG (Fair Value Gap)
Logic:
Price ke gap ya imbalance ko detect karta hai:
Bullish FVG → previous candle high < current candle low
Bearish FVG → previous candle low > current candle high
Display: Box
Bullish → green box with transparency 85%
Bearish → red box with transparency 85%
Usage: Price gap ki taraf wapas aane par potential support/resistance area
2️⃣ Strong Fibonacci Levels
Logic:
Fibonacci levels ko calculate karta hai last strong HH (Higher High) aur LL (Lower Low) ke basis par.
Levels:
0 → Red
0.5 → White
0.72 → Yellow
0.78 → Orange
1 → Green
Display: Line
Labels: Price value har line ke side me show ho sakta hai (optional toggle showLabel)
Usage: Retracement/extension levels identify karna for entries or rejection
3️⃣ Order Blocks (OB)
Logic:
Strong bullish/bearish candle ke base par identify kiya jata hai jaha se price ne strong move start kiya:
Bull OB → previous candle down, current candle up + ATR impulse
Bear OB → previous candle up, current candle down - ATR impulse
Display: Box
Bull → green
Bear → red
Labels: Not added in this version (can be added optionally)
Usage: Strong supply/demand zone
4️⃣ Strong Rejection Zones
Logic:
Candles jisme wick >> body (wick factor) aur ATR threshold exceed kare → strong rejection zone
Upper wick rejection → potential resistance
Lower wick rejection → potential support
Display: Line (dashed)
Upper wick → red dashed line
Lower wick → green dashed line
Labels: Price value optional (toggle showLabel)
Usage: Price multiple times is zone pe reject ho sakta hai → trade entries possible
5️⃣ Bounce Zones
Logic:
Pivot high (lastHH) → previous swing high
Pivot low (lastLL) → previous swing low
Display: Line (dotted)
Pivot high → red dotted line
Pivot low → green dotted line
Labels: Price value optional
Usage: Price bounce/reversal expected
6️⃣ Trendlines
Logic:
Last high and last low pivots ko join karta hai
Display: Line
Uptrend → green line
Downtrend → red line
Purpose: Trend direction aur breakout zones identify karna
7️⃣ Color & Style Summary
Object → Color → Style
Bullish FVG Box → Green → (85%) Filled box
Bearish FVG Box → Red → (85%) Filled box
Fib 0 → Red → Solid
Fib 0.5 → White → Solid
Fib 0.72 → Yellow → Solid
Fib 0.78 → Orange → Solid
Fib 1 → Green → Solid
Upper Rejection → Red → Dashed
Lower Rejection → Green D→ ashed
Bounce High → Red → Dotted
Bounce Low → Green → Dotted
Trendline Up → Green → Solid
Trendline Down → Red → Solid
Order Block Bullish → Green → Box
Order Block Bearish → Red → Box
Type: Market structure + support/resistance zones + trendlines + Fibonacci levels
Purpose:
Ye indicator price chart par strong market structure levels, last swing highs/lows, rejection zones, bounce zones, Fibonacci retracement levels, trendlines, FVGs (Fair Value Gaps), aur Order Blocks ko identify karta hai. Ye sab last-only (recent strongest) objects dikhaata hai, taaki chart clutter na ho aur sirf important zones dikhe.
1️⃣ FVG (Fair Value Gap)
Logic:
Price ke gap ya imbalance ko detect karta hai:
Bullish FVG → previous candle high < current candle low
Bearish FVG → previous candle low > current candle high
Display: Box
Bullish → green box with transparency 85%
Bearish → red box with transparency 85%
Usage: Price gap ki taraf wapas aane par potential support/resistance area
2️⃣ Strong Fibonacci Levels
Logic:
Fibonacci levels ko calculate karta hai last strong HH (Higher High) aur LL (Lower Low) ke basis par.
Levels:
0 → Red
0.5 → White
0.72 → Yellow
0.78 → Orange
1 → Green
Display: Line
Labels: Price value har line ke side me show ho sakta hai (optional toggle showLabel)
Usage: Retracement/extension levels identify karna for entries or rejection
3️⃣ Order Blocks (OB)
Logic:
Strong bullish/bearish candle ke base par identify kiya jata hai jaha se price ne strong move start kiya:
Bull OB → previous candle down, current candle up + ATR impulse
Bear OB → previous candle up, current candle down - ATR impulse
Display: Box
Bull → green
Bear → red
Labels: Not added in this version (can be added optionally)
Usage: Strong supply/demand zone
4️⃣ Strong Rejection Zones
Logic:
Candles jisme wick >> body (wick factor) aur ATR threshold exceed kare → strong rejection zone
Upper wick rejection → potential resistance
Lower wick rejection → potential support
Display: Line (dashed)
Upper wick → red dashed line
Lower wick → green dashed line
Labels: Price value optional (toggle showLabel)
Usage: Price multiple times is zone pe reject ho sakta hai → trade entries possible
5️⃣ Bounce Zones
Logic:
Pivot high (lastHH) → previous swing high
Pivot low (lastLL) → previous swing low
Display: Line (dotted)
Pivot high → red dotted line
Pivot low → green dotted line
Labels: Price value optional
Usage: Price bounce/reversal expected
6️⃣ Trendlines
Logic:
Last high and last low pivots ko join karta hai
Display: Line
Uptrend → green line
Downtrend → red line
Purpose: Trend direction aur breakout zones identify karna
7️⃣ Color & Style Summary
Object → Color → Style
Bullish FVG Box → Green → (85%) Filled box
Bearish FVG Box → Red → (85%) Filled box
Fib 0 → Red → Solid
Fib 0.5 → White → Solid
Fib 0.72 → Yellow → Solid
Fib 0.78 → Orange → Solid
Fib 1 → Green → Solid
Upper Rejection → Red → Dashed
Lower Rejection → Green D→ ashed
Bounce High → Red → Dotted
Bounce Low → Green → Dotted
Trendline Up → Green → Solid
Trendline Down → Red → Solid
Order Block Bullish → Green → Box
Order Block Bearish → Red → Box
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.