News / Event-based
News EAs trade the volatility spike around scheduled economic releases — a straddle before the event, or a blackout filter that suppresses entries around it. High variance and brutally spread-sensitive; a Raw/ECN account is mandatory for the straddle variant.
Mechanism
Pre-news straddle: two pending orders (one buy stop, one sell stop) are placed a fixed number of pips above and below spot before a high-impact release. The first order to trigger is filled and the other is cancelled once the spike commits to a direction. News blackout: the EA reads an economic calendar and suppresses new entries for a configurable window (e.g. 2 hours before and after a red-folder event). The blackout variant is purely defensive — it improves another strategy's expectancy by keeping it out of erratic post-release price action rather than trading the news itself.
Suitability
Straddle variants require extremely tight spreads and fast execution to clear the cost-of-entry before the release-time spread blowout. Best on USD/JPY, EUR/USD and GBP/USD around NFP, FOMC and CPI. Blackout variants are near-universally beneficial and impose minimal cost. A Raw/ECN account is mandatory for straddle approaches; Market or Standard accounts produce negative expectancy after the widened spread and slippage. Many brokers' terms of service also restrict or void news-scalping profits — read the account agreement first.
Notes
News trading abandons the chart signal and trades the clock. Instead of waiting for an indicator, a news expert advisor acts around a scheduled high-impact release — the one moment the market is near-certain to move sharply. There are two opposite designs that share almost nothing but the calendar. A pre-news straddle brackets price with a buy stop and a sell stop and tries to catch whichever way the spike runs. A news blackout does the reverse: it suppresses entries around releases so that a trend or scalping EA is not whipsawed by erratic post-release prices.
This page explains how each behaves inside MetaTrader 5 — the inputs that decide survival, the execution realities that quietly kill the straddle, the broker clauses that can void it, and how to build and stress-test either variant on the EA Builder before real capital is exposed.
How it works: the two news mechanisms
The two variants are mirror images. Understanding both is the difference between buying an EA that trades the news and one that merely avoids it.
The pre-news straddle places two pending orders a fixed pip distance above and below spot moments before a red-folder release. Say EUR/USD sits at 1.1000 with a 12-pip buffer: the EA seeds a buy stop at 1.1012 and a sell stop at 1.0988. When the release hits and price lurches, one stop fills, the EA cancels the other, and it rides the continuation with a stop-loss and take-profit or a trailing exit. The bet is purely that the move is bigger than the cost of entering it — the direction is left to the market.
The news blackout never trades the event at all. It reads an economic calendar, and for a configurable window around each high-impact release — say two hours before and after — it blocks its host strategy from opening new positions and optionally flattens open ones. It is insurance, not a trade. It costs a handful of skipped setups and, in return, keeps a directional EA out of the exact conditions where its edge inverts.
- Straddle — offensive, variance-heavy, spread- and latency-critical, needs a permissive broker and a Raw/ECN account.
- Blackout — defensive, near-free, universally applicable, improves another strategy’s expectancy rather than generating its own.
The profit engine of the straddle is the size of the spike; its loss engine is execution friction and the whipsaw — a release that spikes one way, fills your stop, then violently reverses through both your entry and your protective stop before you can react. The blackout has no profit engine of its own; its entire value is the losses it prevents.
Market conditions: when a news EA wins and when it breaks
A straddle needs a specific, rare combination to be net positive. Get any one of these wrong and the release-time cost swamps the move.
| Condition | Favourable for a straddle | Hostile for a straddle |
|---|---|---|
| Release surprise | Actual far from consensus → large directional move | In-line print → small move, whipsaw |
| Account type | Raw/ECN, tight commissioned spread | Standard/Market, spread blows out at release |
| Execution | Low-latency VPS, fast fills, no requotes | Retail latency, slippage, requote rejections |
| Broker terms | News scalping explicitly permitted | Clause restricts or voids news-window profit |
| Instrument | Deep, liquid major (USD/JPY, EUR/USD, GBP/USD) | Thin cross where the spread never normalises |
The single most misunderstood point: an in-line release is worse than a surprise, not safer. When the number matches consensus, price often spikes, fills one of your stops, then snaps back — you are left holding a losing directional position that the “news” never justified. The straddle wants a genuine surprise that commits to a direction and keeps going; a nervous, two-sided reaction is its worst case.
The blackout, by contrast, has no hostile regime — it simply does nothing while the storm passes. That asymmetry is why, for most retail traders, the calendar is more useful as a filter than as an entry.
Parameters and settings in MT5
Inside MetaTrader 5 a news EA exposes its edge — and its fragility — through a handful of inputs. Set them from the pair’s release-time behaviour, not from defaults.
| Input | Typical starting point | What it controls |
|---|---|---|
EntryBufferPips | 8–15 on liquid majors; wider than the pre-release spread | Distance of each pending order from spot; too tight = premature fills on pre-release drift |
MaxSpreadPips | Hard-capped just above the ECN norm | Aborts entry when the spread blows out — the input that stops the worst fills |
SlippagePips (deviation) | A few pips, measured not guessed | Maximum tolerated fill deviation before the order is rejected rather than slipped |
EventImpactFilter | High / red-folder only | Which calendar events the EA acts on |
CurrencyFilter | The pair’s own two currencies | Ignores releases from unrelated currencies |
BlackoutMinutesBefore/After | 60–120 (blackout variant) | The suppression window around each event |
CancelUnfilledAfterSec | Short, event-scoped | Pulls the un-triggered pending order so it cannot fire on later, unrelated movement |
The two inputs people skip are the two that keep the straddle solvent. MaxSpreadPips is the abort switch: without it, the EA enters into the exact spread blowout it should be avoiding. SlippagePips (the order deviation) decides whether a bad fill is rejected or silently accepted several pips worse than your trigger — and on a fast release, silent acceptance is how a “profitable” backtest loses money live.
Two MT5-specific traps deserve flagging:
- Hardcoded event times are fragile. Many news EAs bake in a release timestamp. That drifts with daylight-saving transitions, differs from your broker’s server-time offset, and breaks when a central bank reschedules. A live calendar feed with a tolerance window is far sturdier than a hardcoded clock — and any hardcoded time must be re-validated across a daylight-saving boundary.
- The tester cannot model release-time execution. MT5’s Strategy Tester applies a modelled spread and assumes fills at your pending price. Real release seconds bring spread spikes, requotes and slippage that the tester does not reproduce. Treat straddle backtests as a lower bound on cost, and validate on a demo account across several live releases before trusting the number.
- Open the EA’s properties in MT5 (
F7on the chart) and setEntryBufferPipswider than the pre-release spread, not from a round number. - Hard-cap
MaxSpreadPipsand set a realisticSlippagePips(deviation) so bad fills are rejected, not silently accepted. - Restrict
EventImpactFilterto red-folder events and setCurrencyFilterto the pair’s own two currencies. - Confirm the EA reads a live calendar feed, or re-validate any hardcoded time across a daylight-saving change.
- Forward-test on demo across at least three live high-impact releases and log the real spread and slippage at each fill before going live.
Failure modes: how a news EA loses money
Almost every straddle loss traces back to execution cost or to trading an event the EA should have skipped. The specific paths:
- Spread blowout at release. In the seconds around the print, the spread widens far past its resting value. Both pending orders are now more expensive to enter, and the move has to be larger just to break even. Without a
MaxSpreadPipsabort, the EA enters into the worst possible cost. - Slippage and requotes. The pending order fills several pips beyond its trigger, or is rejected and re-offered at a worse price. On a slow retail feed this alone can flip a positive-expectancy design negative, which is why measured slippage — not assumed slippage — is the make-or-break variable.
- Whipsaw on an in-line print. The number matches consensus, price spikes, fills one stop, then reverses through your entry and stop-loss. You are left with a directional loss the news never justified. This is the dominant loss on quiet releases.
- Broker clause enforcement. The account agreement restricts or voids news-window profit. The EA “wins” on the chart but the profit is clawed back, or the account is flagged — a loss that never appears in the backtest.
- Calendar / clock error. A hardcoded time drifts after a daylight-saving change, or the impact filter is too loose, so the EA fires on the wrong event or at the wrong second and enters into flat conditions.
How to build and stress-test a news EA in mt5depot
You do not need to write MQL5 to build either variant. In the no-code builder you assemble the same machine — pending-order brackets with a spread abort and a deviation cap for the straddle, or a calendar-driven entry-suppression window for the blackout — and, crucially, you can stress-test the execution assumptions before risking capital.
- Decide up front which variant you are building: an offensive straddle or a defensive blackout — they have opposite risk shapes.
- For a straddle, set the entry buffer wider than the pre-release spread and hard-cap both
MaxSpreadPipsand the slippage deviation. - Restrict the event filter to red-folder releases and the currency filter to the pair’s own currencies.
- Backtest against real release-day ticks, then forward-test on demo across several live NFP/FOMC/CPI events and log the actual spread and slippage.
- Confirm your broker’s terms permit news scalping, and use a Raw/ECN account, before funding a straddle.
The value of building it yourself is that you can see the execution cost a purchased news EA hides. A vendor curve modelled with clean fills looks superb; when you run the same logic across real release ticks and record the spread and slippage at each fill, you learn whether the move actually clears the cost — before a live account finds out the hard way.
News trading versus a trend strategy
A straddle and a trend-following EA both want a large directional move, but they differ in how they earn it and where they fail — which is exactly why a blackout filter pairs so well with a trend system.
| News straddle | Trend-following | |
|---|---|---|
| Trigger | Scheduled release (the clock) | Chart signal (the price) |
| Best case | Genuine surprise that keeps running | Sustained directional move |
| Worst case | In-line print → whipsaw + spread cost | Choppy range → many small losses |
| Decisive variable | Release-time spread & slippage | Entry timing & trend persistence |
| Account need | Raw/ECN mandatory; permissive broker | Standard tolerable |
Neither variant is “better”; they answer different questions. The straddle asks the market to move now and pays a heavy toll at the door to be there for it. The blackout asks nothing of the news except to be told when to stand aside — and for most retail accounts, standing aside is where the calendar earns its keep.
Related articles
Frequently asked questions
- What is a news trading EA?
- A news trading EA is an expert advisor built around scheduled economic releases rather than a chart signal. There are two opposite designs. A straddle EA places a buy stop above and a sell stop below price seconds before a high-impact release, aiming to catch whichever way the spike runs. A blackout EA does the reverse — it reads an economic calendar and suppresses another strategy's entries around the event so it is not whipsawed by erratic post-release prices. They share almost nothing except the calendar as a clock.
- Is news trading with an EA profitable?
- A straddle news EA can profit only when execution cost stays below the size of the move it catches, and that condition fails often: at release time the spread widens, the fill slips, and requotes reject orders at the exact moment they matter. On a Market or Standard account the widened spread usually makes expectancy negative regardless of how well the direction is called. A blackout EA does not chase this edge at all — it just removes losing trades another strategy would have taken during the event, which is a smaller but far more reliable improvement.
- What is a pre-news straddle and why is it so spread-sensitive?
- A pre-news straddle brackets price with two pending orders a fixed pip distance apart, so one fires on the release spike. It is spread-sensitive because both the entry buffer and the widened release-time spread are subtracted from the move you capture. If the spread balloons past your buffer before the order clears, or the fill slips several pips beyond the trigger, the move has to be much larger than usual just to break even. This is why straddle EAs demand a Raw or ECN account and colocated low-latency execution, and still fail on slow fills.
- Do brokers allow news trading EAs?
- Not always. Many broker account agreements contain a clause restricting or voiding profits from trading in a short window around high-impact news, sometimes called latency, arbitrage or gap-trading provisions. Enforcement ranges from widened spreads and slippage at release time to profit clawbacks or account closure. Before running a straddle EA, read the terms of service for the exact wording and confirm in writing whether news scalping is permitted. A blackout EA avoids this problem entirely because it trades away from the news, not into it.
- How do I stop a news EA from being caught by the wrong event?
- The EA is only as accurate as the calendar feed and the event filter it reads. Filter by impact so it acts only on red-folder events, and filter by currency so a EUR/USD EA reacts to USD and EUR releases, not to an unrelated currency's data. The fragile part is time: many EAs hardcode a release timestamp, which drifts with daylight-saving changes, broker server-time offsets and last-minute reschedules. Prefer a live calendar feed with a tolerance window over a hardcoded clock, and backtest the filter against a period that contains a daylight-saving boundary.
- Straddle or blackout — which news EA should I run?
- For most retail accounts the blackout variant is the sounder choice. It needs no special account, imposes minimal cost, and reliably lifts the expectancy of a trend or scalping strategy by keeping it out of the one environment where its edge inverts. The straddle is a specialist tool that only survives on a Raw/ECN account with fast execution and a broker that permits news scalping — and even then it lives or dies on measured slippage. Know which one a purchased EA actually is before you fund it; they have opposite risk shapes.
Glossary