NY Open Breakout EA
- Experts
-
Abdullah Al-murad
I build Expert Advisors and utilities for MetaTrader 5, mainly for gold (XAUUSD), forex and crypto.
How I build my products:
- Every robot sends each order with a stop loss. No martingale, no grid averaging, no hidden rules.
- Signals are calculated on closed bars, so they are not redrawn. - Versione: 1.0
- Attivazioni: 5
NY Open Breakout EA is an opening-range breakout robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It takes at most one trade a day and never holds a position overnight.
HOW IT WORKS
- At the New York cash open (16:30 broker server time on most brokers) the EA records the high and low of the first 30 minutes: the opening range.
- After the range is complete it waits for an M15 candle to close above the range high (buy) or below the range low (sell).
- Stop loss: the middle of the range (or the opposite side, selectable). Take profit: 2 x the stop distance.
- Days when the opening range is wider than 0.4 x the daily ATR are skipped.
- No new trade after 21:00 server time; an open trade is closed at 22:45, before the session ends.
The EA reads its own M1/M15 data, so it can be attached to a chart of any timeframe.
INPUT PARAMETERS
Session (broker server time) New York open: hour / minute 16 / 30 Opening range length, minutes 30 No new trade after: hour 21 Close open trade at: hour / minute 22 / 45 Signal Breakout confirmed on timeframe M15 Skip day if range > x daily ATR 0.4 Allow buy / sell breakouts true / true Exit Stop loss placed at Middle of the range Take profit = stop distance x 2.0
If your broker's server clock is not GMT+2 / GMT+3, set the open hour to the server time of 09:30 New York.
HISTORICAL SIMULATION (US100 and US30, M15, 2024-10 to 2026-12, fixed 0.10 lot)
The default settings were chosen on the first two thirds of the history only. The last third (from 2026-03) was not used for tuning. Spread is included, swap is not.
US100 built: 240 trades, -0 USD | unseen: 120 trades, +83 USD US30 built: 224 trades, +382 USD | unseen: 102 trades, -237 USD TOTAL built: 464 trades, +382 USD | unseen: 222 trades, -154 USD
Honest reading: the result was positive in the first period and negative in the unseen period (US100 slightly positive, US30 negative). This simulation does not prove an edge. Treat the EA as a tool for traders who want to automate this classic method with strict risk control, and test your own settings first.
RISK MANAGEMENT (same on every order)
- A stop loss and a take profit are attached to every trade.
- Fixed lot (default 0.01) or risk as a % of equity per trade.
- Max loss at the stop: if the lot would lose more than the set % of equity at the stop, the stop (and the target, same ratio) is moved closer.
- Margin check: no trade if it needs more than half of the free margin.
- Volume is checked against the symbol's minimum, maximum, step and limit.
- Broker stop level and freeze level are respected when opening, trailing and closing.
- Works on hedging and netting accounts; one position per symbol, identified by its magic number.
- No martingale, no grid, no averaging. No DLL and no external connections.
Money management inputs Fixed lot 0.01 Risk per trade, % of equity 0.0 (0 = fixed lot) Max loss at the stop, % of equity 5.0 Max spread in points 0 (0 = no limit) Magic number 26120601
IMPORTANT
This Expert Advisor does not guarantee profit. The figures above come from the developer's own bar-by-bar simulation on historical prices, not from live trading; past results do not guarantee future results. Trading leveraged products involves a high risk of loss. Test on a demo account first and use only money you can afford to lose.
