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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。