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
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.