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. Подробнее читайте в Условиях использования.