OPEN-SOURCE SCRIPT
Liquidity Sweep Rider Institutional HFT Grabber

Liquidity Sweep Rider Strategy (Swing Pivot + Volume Filter)
Publication Description:
This is an open-source Pine Script v6 strategy that identifies potential liquidity sweep patterns around confirmed swing highs and lows.
It uses:
Entry rules:
Features include:
Important notes:
Feel free to fork/modify the code. Feedback and improvements are welcome!
(≈ 3–4 paragraphs, clear, educational, includes risk disclaimer, explains logic + usage without hype.)
Publication Description:
This is an open-source Pine Script v6 strategy that identifies potential liquidity sweep patterns around confirmed swing highs and lows.
It uses:
- Pivot points (ta.pivothigh / ta.pivotlow) to mark historical swing levels where orders (such as stops or pending entries) often cluster.
- A volume filter requiring above-average volume (SMA-based with multiplier) on the sweep candle to highlight stronger moves.
- Classic sweep logic: price wicks beyond the level but closes back inside, suggesting a possible reversal after liquidity is taken.
Entry rules:
- Long: after a downside sweep below a recent swing low (with volume condition).
- Short: after an upside sweep above a recent swing high (with volume condition).
Features include:
- Optional toggles to enable/disable long/short directions.
- ATR-based stop-loss and take-profit (configurable multipliers and risk-reward ratio).
- Visual plots for liquidity levels, entry signals, background highlights, and an info table.
- Alert conditions for long/short triggers.
Important notes:
- This is an educational/example script for backtesting and learning.
- Past performance does not indicate future results. Trading involves significant risk of loss — use proper risk management and never risk more than you can afford to lose.
- No guarantees of profitability are made. Always test thoroughly on demo accounts before live use.
- Customize parameters (pivot lengths, volume multiplier, ATR settings) based on the instrument and timeframe you trade. Works on various markets/timeframes but performs differently depending on liquidity and volatility.
Feel free to fork/modify the code. Feedback and improvements are welcome!
(≈ 3–4 paragraphs, clear, educational, includes risk disclaimer, explains logic + usage without hype.)
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.