e-News-Lucky
This EA is designed to trade around scheduled news events by placing pending orders on both sides of the current price before a news release, capturing breakout moves triggered by volatility spikes. It uses a time-based filter to open straddle orders shortly before the news event and manages them with stop-loss and take-profit levels. The strategy relies on the volatility expansion that typically accompanies high-impact economic news announcements.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
Why this EA never traded: no entry rule survived the conversion.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: No blow-up pattern found
None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
The strategy concept is based on news-event-driven volatility breakout, placing both a buy stop and a sell stop pending order simultaneously before a scheduled news release, forming a straddle layout. Entry conditions: when the current time approaches the configured news release time within a specified time window, the EA automatically places a BuyStop order above the current price and a SellStop order below it. Exit conditions include: triggered orders are closed at the configured take-profit or stop-loss levels, and untriggered pending orders are automatically deleted after a specified period following the news event. Position sizing is handled either through fixed lot sizes or through a percentage-based calculation relative to available margin. Money management features include maximum open position limits and daily maximum loss limits to prevent excessive losses from consecutive news events. The core assumption of the strategy is that major news releases cause sufficient price movement for one side of the straddle to be triggered and profit enough to cover the loss on the other side.
Strengths
- Capitalizes on high volatility around news events for significant profit potential
- Straddle order strategy eliminates the need to predict direction — profits if volatility is sufficient
- Daily maximum loss limit provides a degree of capital protection
- Automatic deletion of untriggered pending orders avoids unnecessary position risk after the news event passes
Weaknesses
- Slippage and spread widening are extremely common during news releases, potentially causing enlarged stop-losses or entry prices far worse than expected
- In low-volatility news events, both sides of the straddle may be triggered, resulting in a double loss
- Relies on precise time configuration — if the news release is delayed or early, the strategy may fail
- Lacks dynamic filtering of news importance, treating all news events uniformly may generate false signals
Possible improvements
- Integrate an economic calendar API to automatically fetch news release times and impact levels, replacing manual time configuration
- Add a volatility filter mechanism such as ATR-based dynamic adjustment of pending order distance and stop-loss/take-profit ratios
- Add a spread filter that suspends order placement when spreads widen excessively before news releases
Risk assessment
Overall risk: High risk
- Spreads and slippage expand dramatically during news releases, and stop-losses may not execute at expected prices
- Both sides of the straddle may be triggered during violent whipsaw movements, causing double losses
- Lacks dynamic assessment of news event impact, potentially risking trades on insignificant news events
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
NewsTime | 0 | News release time setting |
MinutesBefore | 5 | Minutes before news to place pending orders |
MinutesAfter | 15 | Minutes after news to delete untriggered pending orders |
DistancePips | 20 | Pending order distance from current price in points |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Take profit in points |
Lots | 0.1 | Trading lot size |
MaxSlippage | 10 | Maximum slippage tolerance |
MaxDailyLoss | 500 | Maximum daily loss amount limit |
MagicNumber | 123456 | EA magic number to identify its orders |
Similar News Trading EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.