Sweep Reclaim Retest [Horizontal Levels v2]

The script is a TradingView Pine indicator called Sweep Reclaim Retest [Horizontal Levels v2].
It is designed to find liquidity sweep + reclaim + retest setups around important horizontal levels, especially:
PDH: Previous Day High
PDL: Previous Day Low
PMH: Premarket High
PML: Premarket Low
Swing High
Swing Low
The main improvement is that these levels are drawn using real Pine line objects, so PDH/PDL stay truly horizontal instead of connecting from one value to the next with angled plot lines.
How it works:
It calculates important levels:
Previous day high/low from the daily timeframe.
Premarket high/low from the premarket session.
Swing highs/lows using pivot detection.
It watches for sweeps:
A bullish sweep happens when price dips below a level, then closes back above it.
A bearish sweep happens when price pushes above a level, then closes back below it.
It waits for a retest:
After a sweep/reclaim, the script waits for price to come back to the level.
If price retests and confirms, it gives a signal.
It filters signals:
Optional HTF bias filter using EMA.
Optional candle body confirmation.
Optional break of prior candle high/low.
Optional mid-range filter to avoid trades near the middle of the previous day’s range.
It displays:
Horizontal level lines.
Sweep markers.
CALL / PUT signal markers.
A small info table showing ticker, bias, session status, pending setups, PDH/PDL, PMH/PML, and HTF EMA.
It is designed to find liquidity sweep + reclaim + retest setups around important horizontal levels, especially:
PDH: Previous Day High
PDL: Previous Day Low
PMH: Premarket High
PML: Premarket Low
Swing High
Swing Low
The main improvement is that these levels are drawn using real Pine line objects, so PDH/PDL stay truly horizontal instead of connecting from one value to the next with angled plot lines.
How it works:
It calculates important levels:
Previous day high/low from the daily timeframe.
Premarket high/low from the premarket session.
Swing highs/lows using pivot detection.
It watches for sweeps:
A bullish sweep happens when price dips below a level, then closes back above it.
A bearish sweep happens when price pushes above a level, then closes back below it.
It waits for a retest:
After a sweep/reclaim, the script waits for price to come back to the level.
If price retests and confirms, it gives a signal.
It filters signals:
Optional HTF bias filter using EMA.
Optional candle body confirmation.
Optional break of prior candle high/low.
Optional mid-range filter to avoid trades near the middle of the previous day’s range.
It displays:
Horizontal level lines.
Sweep markers.
CALL / PUT signal markers.
A small info table showing ticker, bias, session status, pending setups, PDH/PDL, PMH/PML, and HTF EMA.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.