PROTECTED SOURCE SCRIPT
BGSwing Strategy

This Pine Script® strategy detects bullish and bearish liquidity levels (SSL/BSL) based on swing points and executes trades based on breakout-failure logic.
✨ Features:
• Automatically identifies Swing Highs (BSL) and Swing Lows (SSL)
• Configurable strategy execution on Break & Fail (Break and Close Back)
• Optional buy/sell direction filtering
• Customizable Take Profit & Stop Loss (in points)
• Visual liquidity levels drawn as horizontal lines
• Optional signal labels displayed directly on the chart
⚙️ Parameters:
• Liquidity Strength: defines the number of bars for valid highs/lows
• Direction Filter: Buy only / Sell only / Both
• Line style, width, and color customization
• Option to auto-delete old liquidity levels
Ideal for traders using price action and smart money concepts who want clean entry logic and visual confirmation.
Enjoy and use responsibly. 📈
✨ Features:
• Automatically identifies Swing Highs (BSL) and Swing Lows (SSL)
• Configurable strategy execution on Break & Fail (Break and Close Back)
• Optional buy/sell direction filtering
• Customizable Take Profit & Stop Loss (in points)
• Visual liquidity levels drawn as horizontal lines
• Optional signal labels displayed directly on the chart
⚙️ Parameters:
• Liquidity Strength: defines the number of bars for valid highs/lows
• Direction Filter: Buy only / Sell only / Both
• Line style, width, and color customization
• Option to auto-delete old liquidity levels
Ideal for traders using price action and smart money concepts who want clean entry logic and visual confirmation.
Enjoy and use responsibly. 📈
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。