OPEN-SOURCE SCRIPT
Aktualisiert [CLH] Simple Sweep Reversal

OVERVIEW
Works on a 1 Hour chart ONLY. Attempts to detect high-probability reversal setups after liquidity sweeps of prior day (PD) highs/lows or overnight (18:00–04:59) highs/lows. Designed to help catch morning session reversals (1:00–10:59 AM chart time) on futures/indices like ES and NQ. It combines swing rejection candles (with customizable wick % filter), moving average trend alignment, and multi-timeframe extreme filters to avoid trading into major weekly/daily highs/lows.
CONCEPT
Many reversals occur when price "sweeps" resting liquidity (stops above PD high or below PD low / overnight extremes), then rejects with a strong wick. This script identifies those failed breakouts and only signals when:
• A swing high/low candle forms with significant wick rejection
• Price is on the "wrong" side of the fast MA (bearish MA for shorts, bullish for longs)
• The move is NOT too close to multi-day or weekly extremes (anti-whipsaw protection)
Signals are restricted to the 01:00–10:59 window to catch post-overnight / early NY reversals.
KEY FEATURES
• Prior Day (PD) High/Low breakout sweeps
• Overnight Range (18:00–04:59) High/Low sweeps
• Wick rejection filter (min % of candle range – default 20%)
• Fast/Slow MA filter (default SMA 20 / 200) + minimum separation (points)
• Daily lookback extreme filter (default 7 days, 100 points buffer)
• Weekly lookback extreme filter (default 2 weeks, 200 points buffer) – blocks shorts near weekly highs, longs near weekly lows
• Optional 4H candle panel (last 3 candles) in lower-right for higher-timeframe context
INPUTS OVERVIEW
• Fast MA Length (default 20) / Slow MA Length (default 200) – SMA/EMA/WMA selectable
• Min separation between MAs (points) – avoids flat-market signals
• Min Wick % of range (default 20%) – 0 = disabled
• Lookback days for daily extremes (default 7) + max distance (default 100 pts)
• Lookback weeks for weekly extremes (default 2) + max distance (default 200 pts)
• Show MAs and Show 4H panel toggles
• Colors for MAs, signals, 4H bodies/wicks
DISCLAIMER
This is NOT financial advice. No guarantee of profitability – past performance ≠ future results. Use at your own risk. Backtest thoroughly and combine with your trading plan. Designed as a confluence tool, not a standalone system.
Feedback welcome! If you find bugs, want tweaks (e.g., session times, volume filter, fib extensions), or have ideas to improve, drop a comment or message. Happy trading!
Works on a 1 Hour chart ONLY. Attempts to detect high-probability reversal setups after liquidity sweeps of prior day (PD) highs/lows or overnight (18:00–04:59) highs/lows. Designed to help catch morning session reversals (1:00–10:59 AM chart time) on futures/indices like ES and NQ. It combines swing rejection candles (with customizable wick % filter), moving average trend alignment, and multi-timeframe extreme filters to avoid trading into major weekly/daily highs/lows.
CONCEPT
Many reversals occur when price "sweeps" resting liquidity (stops above PD high or below PD low / overnight extremes), then rejects with a strong wick. This script identifies those failed breakouts and only signals when:
• A swing high/low candle forms with significant wick rejection
• Price is on the "wrong" side of the fast MA (bearish MA for shorts, bullish for longs)
• The move is NOT too close to multi-day or weekly extremes (anti-whipsaw protection)
Signals are restricted to the 01:00–10:59 window to catch post-overnight / early NY reversals.
KEY FEATURES
• Prior Day (PD) High/Low breakout sweeps
• Overnight Range (18:00–04:59) High/Low sweeps
• Wick rejection filter (min % of candle range – default 20%)
• Fast/Slow MA filter (default SMA 20 / 200) + minimum separation (points)
• Daily lookback extreme filter (default 7 days, 100 points buffer)
• Weekly lookback extreme filter (default 2 weeks, 200 points buffer) – blocks shorts near weekly highs, longs near weekly lows
• Optional 4H candle panel (last 3 candles) in lower-right for higher-timeframe context
INPUTS OVERVIEW
• Fast MA Length (default 20) / Slow MA Length (default 200) – SMA/EMA/WMA selectable
• Min separation between MAs (points) – avoids flat-market signals
• Min Wick % of range (default 20%) – 0 = disabled
• Lookback days for daily extremes (default 7) + max distance (default 100 pts)
• Lookback weeks for weekly extremes (default 2) + max distance (default 200 pts)
• Show MAs and Show 4H panel toggles
• Colors for MAs, signals, 4H bodies/wicks
DISCLAIMER
This is NOT financial advice. No guarantee of profitability – past performance ≠ future results. Use at your own risk. Backtest thoroughly and combine with your trading plan. Designed as a confluence tool, not a standalone system.
Feedback welcome! If you find bugs, want tweaks (e.g., session times, volume filter, fib extensions), or have ideas to improve, drop a comment or message. Happy trading!
Versionshinweise
Improved placement of label under 4 Hour chart. It should now land consistently on the vertical axis regardless of middle bar height.Versionshinweise
Now detects failure swings. If price reverses from a swing point that fails to take out the High or Low of the day between 1:00 AM and 10:59 AM (New York time), we want to know about it.Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.