OPEN-SOURCE SCRIPT
VWAP Retest + EMA9 Cross + Candle Pattern V2

📈 VWAP Retest + EMA9 Cross + Candle Pattern Strategy_V2
Setup: This intraday momentum strategy combines 3 core elements:
• VWAP Retest: Price retests VWAP within a small buffer zone
• EMA9 Crossover: EMA9 crosses above VWAP within the last 3 bars
• Bullish Candle Pattern: At least one bullish signal — Hammer, Engulfing, or Momentum candle
A trade is triggered only during the US morning session (9:30–12:30 EST) and only if price is above yesterday’s high, suggesting strong momentum.
⚙️ Strategy Settings
• Initial Capital: $100,000
• Position Sizing: 10% of equity per trade
• Commission: 0.03% per trade
• Slippage: 1 tick
• Take Profit: +3% from entry
• Stop Loss: 0.5% below VWAP at entry
• Forced Exit: 1:00 PM EST
📊 Strategy Logic
• VWAP Retest Filter ensures entry is near a value zone.
• EMA9 Cross Confirmation aligns short-term momentum with volume-weighted price.
• Bullish Candle Patterns provide price action confirmation:
○ ✅ Hammer
○ ✅ Bullish Engulfing
○ ✅ Large momentum body
• Above Yesterday’s High (YH) acts as a bullish bias filter.
🧪 Backtest Results (Jan 2023 – Oct 2025)
• Total Trades: 120
• Win Rate: 52.5%
• Profit Factor: 1.18
• Max Drawdown: 1.22%
• Net P&L: +$1,064 (+1.06%)
Due to chart data limits, only part of the period may be visible on publication charts.
🔍 Chart Visuals
This strategy plots:
• VWAP (white) and EMA9 (orange)
• Candle pattern markers:
○ “H” = Hammer
○ “BE” = Bullish Engulfing
○ “M” = Momentum Candle
• “SETUP” label when all conditions are met
• YH/YL labels for context — previous day’s high/low
💡 Use Case
This setup is designed for intraday momentum scalping, ideal for traders who:
• Trade morning breakouts
• Use VWAP as a dynamic support/resistance
• Want clear, rule-based entries based on both trend and price action
Educational and research use - not financial advice.
Setup: This intraday momentum strategy combines 3 core elements:
• VWAP Retest: Price retests VWAP within a small buffer zone
• EMA9 Crossover: EMA9 crosses above VWAP within the last 3 bars
• Bullish Candle Pattern: At least one bullish signal — Hammer, Engulfing, or Momentum candle
A trade is triggered only during the US morning session (9:30–12:30 EST) and only if price is above yesterday’s high, suggesting strong momentum.
⚙️ Strategy Settings
• Initial Capital: $100,000
• Position Sizing: 10% of equity per trade
• Commission: 0.03% per trade
• Slippage: 1 tick
• Take Profit: +3% from entry
• Stop Loss: 0.5% below VWAP at entry
• Forced Exit: 1:00 PM EST
📊 Strategy Logic
• VWAP Retest Filter ensures entry is near a value zone.
• EMA9 Cross Confirmation aligns short-term momentum with volume-weighted price.
• Bullish Candle Patterns provide price action confirmation:
○ ✅ Hammer
○ ✅ Bullish Engulfing
○ ✅ Large momentum body
• Above Yesterday’s High (YH) acts as a bullish bias filter.
🧪 Backtest Results (Jan 2023 – Oct 2025)
• Total Trades: 120
• Win Rate: 52.5%
• Profit Factor: 1.18
• Max Drawdown: 1.22%
• Net P&L: +$1,064 (+1.06%)
Due to chart data limits, only part of the period may be visible on publication charts.
🔍 Chart Visuals
This strategy plots:
• VWAP (white) and EMA9 (orange)
• Candle pattern markers:
○ “H” = Hammer
○ “BE” = Bullish Engulfing
○ “M” = Momentum Candle
• “SETUP” label when all conditions are met
• YH/YL labels for context — previous day’s high/low
💡 Use Case
This setup is designed for intraday momentum scalping, ideal for traders who:
• Trade morning breakouts
• Use VWAP as a dynamic support/resistance
• Want clear, rule-based entries based on both trend and price action
Educational and research use - not financial advice.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。