PROTECTED SOURCE SCRIPT

Swing ID by Mehroz Khan

49
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。