OPEN-SOURCE SCRIPT
SNIPERKILLS-IB-HIGH-LOW+Exp-Move[D/W/M]

Script Feature Checklist (Updated):
Initial Balance (IB) Calculation
Tracks IB High and IB Low during a user-defined session (default 9:30–10:30)
Plots IB High (blue), IB Low (red), and IB Midpoint (orange)
Expected Movement (EM) Calculation Using VIX
Calculates expected price move range based on VIX volatility index and previous close
Plots EM upper (EM+) and lower (EM-) levels (purple lines)
Optional rounding of levels to nearest multiple (spread input)
Displays two deviation levels (% deviations from EM):
First deviation (default 68%, orange dashed lines)
Second deviation (default 90%, blue dashed lines)
Labels for EM levels and deviations on chart
Summary table with Period, EM, VIX, Previous Close
Measured Move Targets Based on IB Range
Defines 3 long targets above IB High (multiples 1x, 2x, 3x)
Defines 3 short targets below IB Low (multiples 1x, 2x, 3x)
Plots these targets in green (long) and red (short)
Liquidity Sweeps Detection
Detects when price breaks/sweeps below IB Low or above IB High (liquidity grab)
Plots triangle shapes on bars showing IB Low Sweep (red) or IB High Sweep (blue)
Market Structure Shift (MSS) Detection
Detects bearish MSS (higher high + close lower) above IB High
Detects bullish MSS (lower low + close higher) below IB Low
Marks MSS signals with crosses: orange (bearish), green (bullish)
Trade Entry Markers Based on MSS
Short entry trigger if bearish MSS confirmed and close below previous low
Long entry trigger if bullish MSS confirmed and close above previous high
Plots labeled arrows: "AMD SHORT" (black label down), "AMD LONG" (lime label up)
Fair Value Gap (FVG) Detection
Detects potential Fair Value Gaps up and down
Plots small squares: green below bars (FVG Up), red above bars (FVG Down)
Simple Risk/Reward Levels
Defines take profit (TP) and stop loss (SL) levels for short and long entries based on fixed pip multiples
Plots TP and SL with colored circles on the chart
Alerts for Key Events
Alerts for IB Low Sweep and IB High Sweep
Alerts for MSS Bearish and MSS Bullish
Alerts for Short and Long entries
Order Block (OB) / CISD Candle Highlight
Detects large bearish displacement candle following bullish candle (CISD)
Highlights the previous candle (order block candle) in purple
Allows traders to anticipate potential reversals by visually identifying these order blocks
Initial Balance (IB) Calculation
Tracks IB High and IB Low during a user-defined session (default 9:30–10:30)
Plots IB High (blue), IB Low (red), and IB Midpoint (orange)
Expected Movement (EM) Calculation Using VIX
Calculates expected price move range based on VIX volatility index and previous close
Plots EM upper (EM+) and lower (EM-) levels (purple lines)
Optional rounding of levels to nearest multiple (spread input)
Displays two deviation levels (% deviations from EM):
First deviation (default 68%, orange dashed lines)
Second deviation (default 90%, blue dashed lines)
Labels for EM levels and deviations on chart
Summary table with Period, EM, VIX, Previous Close
Measured Move Targets Based on IB Range
Defines 3 long targets above IB High (multiples 1x, 2x, 3x)
Defines 3 short targets below IB Low (multiples 1x, 2x, 3x)
Plots these targets in green (long) and red (short)
Liquidity Sweeps Detection
Detects when price breaks/sweeps below IB Low or above IB High (liquidity grab)
Plots triangle shapes on bars showing IB Low Sweep (red) or IB High Sweep (blue)
Market Structure Shift (MSS) Detection
Detects bearish MSS (higher high + close lower) above IB High
Detects bullish MSS (lower low + close higher) below IB Low
Marks MSS signals with crosses: orange (bearish), green (bullish)
Trade Entry Markers Based on MSS
Short entry trigger if bearish MSS confirmed and close below previous low
Long entry trigger if bullish MSS confirmed and close above previous high
Plots labeled arrows: "AMD SHORT" (black label down), "AMD LONG" (lime label up)
Fair Value Gap (FVG) Detection
Detects potential Fair Value Gaps up and down
Plots small squares: green below bars (FVG Up), red above bars (FVG Down)
Simple Risk/Reward Levels
Defines take profit (TP) and stop loss (SL) levels for short and long entries based on fixed pip multiples
Plots TP and SL with colored circles on the chart
Alerts for Key Events
Alerts for IB Low Sweep and IB High Sweep
Alerts for MSS Bearish and MSS Bullish
Alerts for Short and Long entries
Order Block (OB) / CISD Candle Highlight
Detects large bearish displacement candle following bullish candle (CISD)
Highlights the previous candle (order block candle) in purple
Allows traders to anticipate potential reversals by visually identifying these order blocks
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.