OPEN-SOURCE SCRIPT
Stage 2 Pullback Swing indicator

This scanner is built for swing traders who want high-probability pullbacks inside strong, established uptrends. It targets names in a confirmed Stage 2 bull phase (Weinstein model) that have pulled back 10–30% from a recent swing high on light selling volume, while still respecting fast EMAs.
Goal: find powerful uptrending stocks during controlled dips before the next leg higher.
What it looks for
Why this matters
This setup hints at institutions defending positions during a temporary dip. Strong stocks pull back cleanly with declining volume, then resume the primary trend. This script alerts you when those conditions align.
Best way to use
Intended for
Goal: find powerful uptrending stocks during controlled dips before the next leg higher.
What it looks for
- Strong prior uptrend: price above the 50 and 200 SMAs, momentum positive over multiple timeframes
- Confirmed Stage 2: price above a rising 30-week MA on the weekly chart
- Pullback depth: 10–30% off recent swing highs—not too shallow, not broken
- Pullback quality: range contained, no panic selling, trend structure intact
- EMA behavior: price near EMA10 or EMA20 at signal time
- Volume contraction: sellers fading throughout the pullback
- Bullish shift: green candle back in trend direction
Why this matters
This setup hints at institutions defending positions during a temporary dip. Strong stocks pull back cleanly with declining volume, then resume the primary trend. This script alerts you when those conditions align.
Best way to use
- Filter a strong universe before applying—quality tickers only
- Pair with clear trade plans: risk defined by prior swing low or ATR
- Trigger alerts instead of hunting charts manually
Intended for
- Swing traders who want momentum continuation setups
- Traders who prefer entering on controlled retracements
- Anyone tired of chasing extended breakouts
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。