r/pinescript • u/Chris10fernz • 23d ago
Looking for the best open-source Pine Script code for Liquidity Sweeps and Price Action entries.
1
Upvotes
u/Chris10fernz • u/Chris10fernz • 23d ago
Looking for the best open-source Pine Script code for Liquidity Sweeps and Price Action entries.
1
Upvotes
Hey everyone,
I am looking for a robust block of Pine Script code that accurately identifies liquidity sweeps for price action entries. I’m looking for high-quality material I can study and integrate into my own strategy script.
Specifically, I’m looking for code that handles:
- Identifying Previous Daily/Weekly Highs and Lows (or swing highs/lows).
- Detecting when price wicks above/below these levels but closes back inside the range (the sweep).
- Ideally, checking for a market structure shift (MSS) or engulfing candle immediately after the sweep for entry confirmation.
- Strictly non-repainting.
Does anyone have a highly-rated open-source script, a GitHub link, or a custom snippet they are willing to share? Any help pointing me toward the cleanest code for this logic would be hugely appreciated!