OPEN-SOURCE SCRIPT
Stock Expansion Pullback Signal

Stock Expansion Pullback Signal
This indicator highlights pullback opportunities that occur after strong expansion candles confirmed by volatility and momentum.
Concept:
1. Expansion Detection:
Candle range exceeds ATR × multiplier
Strong body structure (momentum candle)
RSI confirms directional momentum
2. Pullback Phase:
Price retraces into:
EMA fast/slow zone
OR a defined VWAP proximity band
3. Signal:
A signal prints when pullback conditions occur within a configurable number of bars after the expansion.
Features:
• ATR-based expansion filter
• RSI momentum confirmation
• EMA structure context
• VWAP proximity detection
• Adjustable expansion validity window
• Alert-ready conditions
Notes:
Designed for intraday and swing environments.
Works across stocks, indices, crypto, and forex.
Signals are informational and do not guarantee outcomes.
Always forward test before live application.
This indicator highlights pullback opportunities that occur after strong expansion candles confirmed by volatility and momentum.
Concept:
1. Expansion Detection:
Candle range exceeds ATR × multiplier
Strong body structure (momentum candle)
RSI confirms directional momentum
2. Pullback Phase:
Price retraces into:
EMA fast/slow zone
OR a defined VWAP proximity band
3. Signal:
A signal prints when pullback conditions occur within a configurable number of bars after the expansion.
Features:
• ATR-based expansion filter
• RSI momentum confirmation
• EMA structure context
• VWAP proximity detection
• Adjustable expansion validity window
• Alert-ready conditions
Notes:
Designed for intraday and swing environments.
Works across stocks, indices, crypto, and forex.
Signals are informational and do not guarantee outcomes.
Always forward test before live application.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน