VWAP And EMA9 Pro
- Experts
- Versione: 1.0
- Attivazioni: 5
TP Trading — Institutional RTH Session VWAP (OHLC4) & EMA 9 Momentum Engine [PRO] is an automated intraday trading system engineered to capture high-momentum trends during the Wall Street Cash Open (Regular Trading Hours).
Unlike standard lagging indicators, this engine anchors a Session VWAP (OHLC4) directly at the New York open and triggers entries when the fast EMA 9 crosses the anchored VWAP with confirmed trend strength (ADX Anti-Chop Filter). Every position is protected by dynamic ATR risk sizing, a daily loss circuit breaker, and a mandatory intraday close before the session ends.
📦 INCLUDED CALIBRATED SETUPS (NAS100 & DJ30): This PRO edition comes with full parameter access and has been specifically calibrated and tested for NAS100 (Nasdaq) and DJ30 (Dow Jones) on the M3 timeframe (and can be freely optimized for any other index, gold, or forex pair). 👉 After purchasing, send me a private message on MQL5 and I will send you the official .set files for both NAS100 and DJ30!
⚙️ COMPLETE INPUT PARAMETERS GUIDE:
1. Cash Session (RTH) — Server Time
-
NY Session Open Hour / Minute ( 16:35 ): Exact broker server time when the US cash session opens and the Session VWAP anchors/resets daily.
-
Entry Window Duration ( 90 mins): Time window after the open during which new trades are permitted.
-
Intraday Force Close Hour / Minute ( 22:45 ): Mandatory time when all open positions are closed before the NY close (zero overnight gap or swap risk).
2. Core Indicators (EMA 9 + Session VWAP OHLC4)
-
EMA Period ( 9 ): Period of the fast Exponential Moving Average used to detect momentum crossovers against the Session VWAP.
-
Enable Anti-Chop Filter ( true ): Activates the ADX trend filter to block signals during flat, sideways opens.
-
ADX Period ( 14 ) & Minimum ADX Threshold ( 30.0 ): Minimum trend strength required to authorize an entry.
3. Exit Rules & Protection
-
Position Exit Mode ( EXIT_ATR_RR / EXIT_EMA9_BREACH ): Choose between a fixed ATR Stop Loss + Risk/Reward Take Profit (EXIT_ATR_RR ) or a dynamic momentum exit when an M3 candle closes against the EMA 9 (EXIT_EMA9_BREACH ).
-
ATR Period ( 14 ): Lookback period for volatility measurement.
-
ATR Multiplier for Stop Loss ( 2.5 ): Sets the initial Stop Loss distance based on current market volatility (2.5 × ATR ).
-
Risk/Reward Ratio ( 3.0 ): Sets the Take Profit multiple relative to the Stop Loss distance (used in EXIT_ATR_RR mode).
4. Risk Management & Daily Circuit Breaker
-
Position Sizing Mode ( VOL_PERCENT_BALANCE / VOL_FIXED ): Calculate lot size dynamically by % of account balance or use a fixed lot size.
-
Risk Per Trade ( 2.0% ): Percentage of account balance risked per trade when using dynamic sizing.
-
Max Risk Cap for Min Lot ( 8.0% ): Account protection rule that skips a trade if the broker's minimum lot size exceeds this risk percentage on smaller balances (0 = disabled).
-
Fixed Lot Size ( 0.01 ): Lot volume used when VOL_FIXED mode is selected.
-
Max Trades Per Session ( 1 ): Limits daily executions to prevent overtrading.
-
Max Daily Loss Circuit Breaker ( 2.5% ): Automatically pauses trading for the rest of the day if daily drawdown hits this threshold.
5. Visuals, Optimization & Execution
-
Show Telemetry HUD Box ( true ): Displays the top-left on-chart dashboard with live VWAP, EMA 9, ADX status, and session state.
-
Show Chart Overlays ( true ): Draws the shaded RTH entry window, Session VWAP line, EMA 9 line, and active Entry/SL/TP levels directly on the chart.
-
RTH Entry Window Fill Color: Customizes the background shading color of the active trading window.
-
Order Comment ( TP_VWAP_EMA9 ): Custom label attached to every order executed by the EA.
-
Minimum Trades Threshold in OnTester ( 100 ): Custom optimization fitness filter requiring at least 100 trades during MT5 Strategy Tester optimizations.
-
Unique Magic Number ( 555909 ): Isolates this EA's positions from other EAs or manual trades.
-
Max Slippage ( 30 points): Maximum allowed price deviation during market execution.
