Skip to content
All library documents

Swing Pivot Liquidity Sweeps with Close-Back Confirmation

Article ProRealCode

Summary

This indicator concept looks for a liquidity sweep around the latest confirmed swing high or low. It identifies pivots using a lookback period, then flags a bullish setup when price trades below a pivot low but closes and opens back above it; the bearish condition mirrors this around a pivot high. The signal is confirmed after subsequent closes remain on the reclaimed side of the level, with a cooldown between signals. The indicator draws pivot markers and sweep levels on the chart.

The code describes signal construction, not a complete trading system: it gives no position sizing, stop placement, profit target, or exit rules. The accompanying claims about anticipating major moves are not backed by examples, backtests, or performance statistics. Because pivot confirmation and the delayed signal depend on later bars, users should verify how the platform plots historical signals and assess the rules with suitable out-of-sample testing before relying on them.

Key ideas

  • The indicator marks swing pivots using a fixed lookback period.
  • A bullish sweep requires a move below a pivot low followed by a close back above it.
  • A bearish sweep uses the mirrored condition around a pivot high.
  • Additional closes and a cooldown period filter when sweep signals are drawn.
  • The document supplies no risk rules or evidence of strategy performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.