PROTECTED SOURCE SCRIPT
Swing ID by Mehroz Khan

Identifies trading opportunities within a Dealing Range by detecting Swing Highs and Swing Lows and generating precise buy/sell signals.
Buy Signal: Triggered when a Swing Low forms in the discount zone (lower 50% of the Dealing Range) and the fourth candle closes above the third candle’s high, indicating a potential bullish reversal.
Sell Signal: Triggered when a Swing High forms in the premium zone (upper 50% of the Dealing Range) and the fourth candle closes below the third candle’s low, signaling a potential bearish reversal.
Dealing Range: Defined by the highest high and lowest low over a user-defined lookback period (default: 20 bars), with a midpoint separating discount and premium zones.
Visuals: Plots Swing Highs (red triangles), Swing Lows (green triangles), range boundaries (blue dashed lines), midpoint (gray dashed line), and signals (green/red triangles with “BUY”/“SELL” labels).
Table: Displays range high, low, and midpoint in a top-right table for quick reference.
Alerts: Supports alerts for buy/sell signals, ideal for real-time trading.
Usage: Best on 1H, 4H, or daily charts. Combine with ICT concepts like Order Blocks or kill zones (e.g., London open) for high-probability setups.
Adjust lookback periods for sensitivity and use stop-losses below Swing Lows (buys) or above Swing Highs (sells)
Buy Signal: Triggered when a Swing Low forms in the discount zone (lower 50% of the Dealing Range) and the fourth candle closes above the third candle’s high, indicating a potential bullish reversal.
Sell Signal: Triggered when a Swing High forms in the premium zone (upper 50% of the Dealing Range) and the fourth candle closes below the third candle’s low, signaling a potential bearish reversal.
Dealing Range: Defined by the highest high and lowest low over a user-defined lookback period (default: 20 bars), with a midpoint separating discount and premium zones.
Visuals: Plots Swing Highs (red triangles), Swing Lows (green triangles), range boundaries (blue dashed lines), midpoint (gray dashed line), and signals (green/red triangles with “BUY”/“SELL” labels).
Table: Displays range high, low, and midpoint in a top-right table for quick reference.
Alerts: Supports alerts for buy/sell signals, ideal for real-time trading.
Usage: Best on 1H, 4H, or daily charts. Combine with ICT concepts like Order Blocks or kill zones (e.g., London open) for high-probability setups.
Adjust lookback periods for sensitivity and use stop-losses below Swing Lows (buys) or above Swing Highs (sells)
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.