PROTECTED SOURCE SCRIPT
SMC Swing Lines • Core v0.2.6

SMC Swing Lines • Core v0.2.6
Purpose
SMC Swing Lines • Core plots objective swing‐based levels used in Smart Money Concepts. The script identifies recent swing highs/lows and projects them as horizontal “liquidity lines” that persist until invalidation (break) or mitigation (touch/retest). It is designed to give a clean structural map for EQH/EQL clusters, sweeps, and level-to-level delivery, without signals or forecasting.
What it plots
Swing High / Swing Low lines – drawn from confirmed pivots.
Status-aware styling – fresh (active) vs mitigated levels can use different line styles/widths/colors.
Optional zones – lines may be displayed as narrow boxes (wick or full range) to reflect the chosen swing area.
Lookback control – limit historical levels by days/bars to keep charts readable.
Notes
• Pivots confirm only after the selected lookback completes; lines are created on confirmation.
• Lines extend to the right until a mitigation/invalidating close, according to your settings.
How it detects swings
Pivot length (L/R): a symmetric left/right bar count forms a pivot.
Area mode:
Wick Extremity – uses absolute high/low (best for liquidity sweeps).
Full Range – uses the candle’s full range/body (stricter structure).
Inputs (key settings)
Pivot Lookback – bars left/right to confirm a swing.
Swing Area – Wick Extremity or Full Range.
Extend Until Fill – keep a level alive until price trades through/taps it (mitigation).
Hide Filled – remove lines once mitigated to reduce clutter.
Line Style & Width – separate styles for highs/lows and for fresh vs mitigated.
Colors – independent high/low/zone colors.
Labels (optional) – minimal markers for visual anchoring.
Lookback Window – limit by bars or days (performance & clarity).
(Exact control names in the panel may use concise variants of the labels above.)
Alerts (optional)
Mitigation / Touch – alert when price interacts with an active line.
Confirmation timing – alerts are designed to evaluate on bar close for reliability.
TradingView Alerts → “Create Alert” → condition: SMC Swing Lines • Core → choose the relevant event and your timeframe.
Recommended use
Timeframes: works from intraday to HTF. Typical ranges:
Intraday (3–15m): Pivot 3–7
Swing (30m–4h): Pivot 5–15
HTF (6h–1D+): Pivot 10–25
Area choice:
Wick Extremity to highlight liquidity grabs/sweeps.
Full Range when you want stricter structure mapping.
Chart hygiene: enable “Hide Filled” or reduce lookback to manage density.
Limitations & behavior
Pivot confirmation: swings appear only after the right-side lookback completes; this is not a “leading” signal.
No strategy component: the script does not generate entries/exits or claims of edge—use it as a structural map alongside your own trade plan (e.g., FVG/OB filters, session timing, volume context).
MTF: if you project higher-TF context via separate layouts, remember that lower-TF price can interact with HTF lines intrabar before the HTF bar closes.
Changelog (Core 0.2.6)
Stability & styling refinements for active vs mitigated levels.
Consistent alerting on bar close.
Minor UI text and default presets cleanup.
Purpose
SMC Swing Lines • Core plots objective swing‐based levels used in Smart Money Concepts. The script identifies recent swing highs/lows and projects them as horizontal “liquidity lines” that persist until invalidation (break) or mitigation (touch/retest). It is designed to give a clean structural map for EQH/EQL clusters, sweeps, and level-to-level delivery, without signals or forecasting.
What it plots
Swing High / Swing Low lines – drawn from confirmed pivots.
Status-aware styling – fresh (active) vs mitigated levels can use different line styles/widths/colors.
Optional zones – lines may be displayed as narrow boxes (wick or full range) to reflect the chosen swing area.
Lookback control – limit historical levels by days/bars to keep charts readable.
Notes
• Pivots confirm only after the selected lookback completes; lines are created on confirmation.
• Lines extend to the right until a mitigation/invalidating close, according to your settings.
How it detects swings
Pivot length (L/R): a symmetric left/right bar count forms a pivot.
Area mode:
Wick Extremity – uses absolute high/low (best for liquidity sweeps).
Full Range – uses the candle’s full range/body (stricter structure).
Inputs (key settings)
Pivot Lookback – bars left/right to confirm a swing.
Swing Area – Wick Extremity or Full Range.
Extend Until Fill – keep a level alive until price trades through/taps it (mitigation).
Hide Filled – remove lines once mitigated to reduce clutter.
Line Style & Width – separate styles for highs/lows and for fresh vs mitigated.
Colors – independent high/low/zone colors.
Labels (optional) – minimal markers for visual anchoring.
Lookback Window – limit by bars or days (performance & clarity).
(Exact control names in the panel may use concise variants of the labels above.)
Alerts (optional)
Mitigation / Touch – alert when price interacts with an active line.
Confirmation timing – alerts are designed to evaluate on bar close for reliability.
TradingView Alerts → “Create Alert” → condition: SMC Swing Lines • Core → choose the relevant event and your timeframe.
Recommended use
Timeframes: works from intraday to HTF. Typical ranges:
Intraday (3–15m): Pivot 3–7
Swing (30m–4h): Pivot 5–15
HTF (6h–1D+): Pivot 10–25
Area choice:
Wick Extremity to highlight liquidity grabs/sweeps.
Full Range when you want stricter structure mapping.
Chart hygiene: enable “Hide Filled” or reduce lookback to manage density.
Limitations & behavior
Pivot confirmation: swings appear only after the right-side lookback completes; this is not a “leading” signal.
No strategy component: the script does not generate entries/exits or claims of edge—use it as a structural map alongside your own trade plan (e.g., FVG/OB filters, session timing, volume context).
MTF: if you project higher-TF context via separate layouts, remember that lower-TF price can interact with HTF lines intrabar before the HTF bar closes.
Changelog (Core 0.2.6)
Stability & styling refinements for active vs mitigated levels.
Consistent alerting on bar close.
Minor UI text and default presets cleanup.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.