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. קרא עוד ב־תנאי השימוש.