OPEN-SOURCE SCRIPT
Micro Pullback Entry System

Micro Pullback Entry System - Quick Reference
The Pattern
▲ ENTRY (first green to break high)
│
┌──┴───┐
│ 1-3 │ ← PULLBACK (red candles)
│ red │ Stop = Low of this zone
└──────┘
│
┌──┴───┐
│ 3+ │ ← THE MOVE (green candles)
│green │ Strong momentum
└──────┘
Pattern Checklist
Requirement: Why It Matters
3+ green candlesConfirms momentum
1-3 red pullback Brief = momentum intact< 50% retracementShallow = buyers in controlVolume on entryConfirms breakout Above EMA Trend support
Status Flow
Scanning... → 📈 TRENDING → 👀 WATCHING → ⏳ FORMING → 🎯 ENTRY!
StatusMeaningActionScanningLooking for setupWait📈 TRENDINGGreen streak buildingMonitor👀 WATCHINGPullback startedPrepare⏳ FORMINGValid pullback readyGet ready!🎯 ENTRY!Signal triggeredExecute
Entry/Stop/Target
LevelLine ColorHow to SetEntryLime solidClose of signal candleStopRed dashedLow of pullbackTarget 1Aqua dottedEntry + (2 × Risk)Target 2Yellow dottedEntry + (3 × Risk)
Example
Entry: $5.00
Stop: $4.80
Risk: $0.20
Target 1 (2R): $5.00 + $0.40 = $5.40
Target 2 (3R): $5.00 + $0.60 = $5.60
Quality Grades
GradeScoreActionA+5/5 ✓Best setup - full sizeA4/5 ✓Good setup - standard sizeB3/5 ✓Average - reduced sizeC2/5 ✓Weak - skip or tiny size
Scoring Factors
✓ Green streak met minimum
✓ Pullback length valid (1-3)
✓ Retracement shallow (<50%)
✓ Volume confirmed
✓ Above EMA
Trade Execution
Entry
Wait for "⏳ FORMING" status
Watch for green candle forming
Entry triggers when green candle closes above pullback high
Enter at market or small limit above current price
Stop Loss
Set at pullback low (red dashed line)
Non-negotiable - this is your max risk
Trade Management
If no immediate follow-through → exit early
Take 50% off at Target 1 (aqua line)
Move stop to breakeven
Let remainder run to Target 2
Settings Guide
Default (Recommended)
Min Green Candles: 3
Min Pullback: 1
Max Pullback: 3
Max Retracement: 50%
Volume Multiplier: 1.2x
EMA Filter: ON (20)
Conservative (Fewer, Better)
Min Green Candles: 4
Min Pullback: 2
Max Pullback: 3
Max Retracement: 40%
Volume Multiplier: 1.5x
EMA Filter: ON (20)
Aggressive (More Signals)
Min Green Candles: 2
Min Pullback: 1
Max Pullback: 4
Max Retracement: 60%
Volume Multiplier: 1.0x
EMA Filter: OFF
Common Mistakes
❌ Entering before signal
Wait for green triangle
"FORMING" ≠ "ENTRY"
❌ Wide stop
Stop must be at pullback low
If too wide, skip the trade
❌ Ignoring volume
Low volume entries fail more often
Look for ✓ in volume row
❌ Fighting trend
Check EMA status
Should show "Above ✓"
❌ Chasing after entry
If you miss entry by 3+ candles, wait for next setup
Don't chase extended moves
Best Setups
A+ Quality Setup ✓
4-5 green candles (strong move)
2 candle pullback (brief)
25-35% retracement (shallow)
2x+ volume on entry
Well above EMA
Stock already up 5%+ on day
Avoid These ✗
Only 2 green candles
4+ candle pullback (losing momentum)
50%+ retracement (too deep)
Below average volume
Below or at EMA
Against market direction
Timeframe Guide
TFSignalsQualityBest For1mMostLowerScalping5mBalancedGoodDay trading15mFewestHigherSwing entries
Quick Decision Tree
1. Status showing "FORMING"?
NO → Wait
YES → Continue
2. Quality grade A or better?
NO → Skip or small size
YES → Continue
3. Volume confirmed (✓)?
NO → Caution, reduce size
YES → Continue
4. Above EMA (✓)?
NO → Skip
YES → Continue
5. Risk acceptable? (Stop not too wide)
NO → Skip
YES → TAKE THE TRADE
Alert Setup
Essential Alert
"Micro Pullback Entry" - Main signal
How to Set
Right-click chart → Add Alert
Condition: Micro Pullback Entry System
Select "Micro Pullback Entry"
Set notification preferences
Combining with Other Indicators
IndicatorHow to Use5 PillarsFind stocks meeting criteria firstGap & GoLook for micro pullbacks after gap breakoutsR2G TrackerConfirm stock is green before enteringFloat RotationHigh rotation + micro pullback = best setupsBull FlagMicro pullback is a "mini" bull flag
Example Trade
Stock: XYZ
Pre-market: Gapped up 15%
9:35 - 9:38: 4 green candles (move from $4.50 to $5.00)
9:39 - 9:40: 2 red candles (pullback to $4.85)
9:41: Green candle breaks $4.90 (pullback high)
ENTRY: $4.92
STOP: $4.82 (pullback low)
RISK: $0.10
TARGET 1: $5.12 (+$0.20 = 2R)
TARGET 2: $5.22 (+$0.30 = 3R)
Result: Hit Target 2 by 9:55 → +$0.30 per share
Key Takeaways
Micro = 1-3 candles - Brief pullback
Entry = First green to break high - Specific trigger
Stop = Pullback low - Tight risk
Quality matters - Focus on A/A+ setups
Breakout or bailout - Exit if no follow-through
The Pattern
▲ ENTRY (first green to break high)
│
┌──┴───┐
│ 1-3 │ ← PULLBACK (red candles)
│ red │ Stop = Low of this zone
└──────┘
│
┌──┴───┐
│ 3+ │ ← THE MOVE (green candles)
│green │ Strong momentum
└──────┘
Pattern Checklist
Requirement: Why It Matters
3+ green candlesConfirms momentum
1-3 red pullback Brief = momentum intact< 50% retracementShallow = buyers in controlVolume on entryConfirms breakout Above EMA Trend support
Status Flow
Scanning... → 📈 TRENDING → 👀 WATCHING → ⏳ FORMING → 🎯 ENTRY!
StatusMeaningActionScanningLooking for setupWait📈 TRENDINGGreen streak buildingMonitor👀 WATCHINGPullback startedPrepare⏳ FORMINGValid pullback readyGet ready!🎯 ENTRY!Signal triggeredExecute
Entry/Stop/Target
LevelLine ColorHow to SetEntryLime solidClose of signal candleStopRed dashedLow of pullbackTarget 1Aqua dottedEntry + (2 × Risk)Target 2Yellow dottedEntry + (3 × Risk)
Example
Entry: $5.00
Stop: $4.80
Risk: $0.20
Target 1 (2R): $5.00 + $0.40 = $5.40
Target 2 (3R): $5.00 + $0.60 = $5.60
Quality Grades
GradeScoreActionA+5/5 ✓Best setup - full sizeA4/5 ✓Good setup - standard sizeB3/5 ✓Average - reduced sizeC2/5 ✓Weak - skip or tiny size
Scoring Factors
✓ Green streak met minimum
✓ Pullback length valid (1-3)
✓ Retracement shallow (<50%)
✓ Volume confirmed
✓ Above EMA
Trade Execution
Entry
Wait for "⏳ FORMING" status
Watch for green candle forming
Entry triggers when green candle closes above pullback high
Enter at market or small limit above current price
Stop Loss
Set at pullback low (red dashed line)
Non-negotiable - this is your max risk
Trade Management
If no immediate follow-through → exit early
Take 50% off at Target 1 (aqua line)
Move stop to breakeven
Let remainder run to Target 2
Settings Guide
Default (Recommended)
Min Green Candles: 3
Min Pullback: 1
Max Pullback: 3
Max Retracement: 50%
Volume Multiplier: 1.2x
EMA Filter: ON (20)
Conservative (Fewer, Better)
Min Green Candles: 4
Min Pullback: 2
Max Pullback: 3
Max Retracement: 40%
Volume Multiplier: 1.5x
EMA Filter: ON (20)
Aggressive (More Signals)
Min Green Candles: 2
Min Pullback: 1
Max Pullback: 4
Max Retracement: 60%
Volume Multiplier: 1.0x
EMA Filter: OFF
Common Mistakes
❌ Entering before signal
Wait for green triangle
"FORMING" ≠ "ENTRY"
❌ Wide stop
Stop must be at pullback low
If too wide, skip the trade
❌ Ignoring volume
Low volume entries fail more often
Look for ✓ in volume row
❌ Fighting trend
Check EMA status
Should show "Above ✓"
❌ Chasing after entry
If you miss entry by 3+ candles, wait for next setup
Don't chase extended moves
Best Setups
A+ Quality Setup ✓
4-5 green candles (strong move)
2 candle pullback (brief)
25-35% retracement (shallow)
2x+ volume on entry
Well above EMA
Stock already up 5%+ on day
Avoid These ✗
Only 2 green candles
4+ candle pullback (losing momentum)
50%+ retracement (too deep)
Below average volume
Below or at EMA
Against market direction
Timeframe Guide
TFSignalsQualityBest For1mMostLowerScalping5mBalancedGoodDay trading15mFewestHigherSwing entries
Quick Decision Tree
1. Status showing "FORMING"?
NO → Wait
YES → Continue
2. Quality grade A or better?
NO → Skip or small size
YES → Continue
3. Volume confirmed (✓)?
NO → Caution, reduce size
YES → Continue
4. Above EMA (✓)?
NO → Skip
YES → Continue
5. Risk acceptable? (Stop not too wide)
NO → Skip
YES → TAKE THE TRADE
Alert Setup
Essential Alert
"Micro Pullback Entry" - Main signal
How to Set
Right-click chart → Add Alert
Condition: Micro Pullback Entry System
Select "Micro Pullback Entry"
Set notification preferences
Combining with Other Indicators
IndicatorHow to Use5 PillarsFind stocks meeting criteria firstGap & GoLook for micro pullbacks after gap breakoutsR2G TrackerConfirm stock is green before enteringFloat RotationHigh rotation + micro pullback = best setupsBull FlagMicro pullback is a "mini" bull flag
Example Trade
Stock: XYZ
Pre-market: Gapped up 15%
9:35 - 9:38: 4 green candles (move from $4.50 to $5.00)
9:39 - 9:40: 2 red candles (pullback to $4.85)
9:41: Green candle breaks $4.90 (pullback high)
ENTRY: $4.92
STOP: $4.82 (pullback low)
RISK: $0.10
TARGET 1: $5.12 (+$0.20 = 2R)
TARGET 2: $5.22 (+$0.30 = 3R)
Result: Hit Target 2 by 9:55 → +$0.30 per share
Key Takeaways
Micro = 1-3 candles - Brief pullback
Entry = First green to break high - Specific trigger
Stop = Pullback low - Tight risk
Quality matters - Focus on A/A+ setups
Breakout or bailout - Exit if no follow-through
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Dr. Trader MD PhD
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Dr. Trader MD PhD
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.