PROTECTED SOURCE SCRIPT

Swing ID by Mehroz Khan

45
It 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.

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.