Glimtrader News Filter EA
- Experts
-
Precious Urudinachi Anusiem
AI Engineer & MQL5 Expert | Custom Trading Systems
I'm Precious Anusiem — AI Software Engineer with 7+ years in Forex/Crypto algorithmic trading and published MQL5 author (Propwiser, Glimtrader). - Version: 1.16
- Activations: 5
News Filter EA is a fully automated Expert Advisor for MetaTrader 5 that detects economic calendar events and trades breakout strategies around them. It uses the native MQL5 Economic Calendar API — no external services, no web requests, no DLLs required.
Between news events, it can optionally use an EMA + RSI trend strategy to keep working through quiet market periods.
How It Works
1. News Detection The EA reads the MQL5 Calendar feed and automatically identifies upcoming events filtered by:
- Country (US, EU, GB, JP, CA, AU, NZ, etc.)
- Impact level (High / Medium / Low)
2. Pre-News Window X minutes before a high-impact event, the EA:
- Measures the recent price range (configurable bars)
- Watches for a breakout above the range high or below the range low
3. Breakout Entry When price breaks through the range + a configurable buffer (in pips), the EA:
- Opens a market order in the breakout direction
- Applies Stop Loss and Take Profit automatically
- Sizes the position based on your risk % (or fixed lot)
4. Post-News Window After the event, the EA continues managing open positions and resumes scanning for the next event.
5. Between Events (optional) With TradeTrend = true , the EA uses dual EMA + RSI confirmation to trade trend continuations during quiet periods.
Key Features
✅ Native MQL5 Calendar — No external API, no DLLs, no subscriptions needed ✅ Automatic country & impact filtering — Trade only the events that matter ✅ Breakout + Trend dual strategy — Works in news AND non-news conditions ✅ Auto lot sizing — Risk a fixed % of balance per trade ✅ Daily loss protection — Stops trading if daily drawdown limit is hit ✅ Trailing stop — Locks in profits as trades move in your favor ✅ Session & day-of-week filters — Trade only when you want ✅ Visual dashboard — Live panel shows next event, countdown, and account status ✅ Compatible with Hedging & Netting accounts ✅ Push notifications — Get alerted on your phone (optional)
Input Parameters
| Parameter | Default | Description |
|---|---|---|
| NewsMinutesBefore | 30 | Minutes before news to start watching |
| NewsMinutesAfter | 30 | Minutes after news to remain active |
| TradeOnHigh | true | Trade on HIGH impact events |
| TradeOnMedium | false | Trade on MEDIUM impact events |
| NewsCountries | US,EU,GB... | Comma-separated currency codes |
| BreakoutPips | 15 | Pips above/below range for entry |
| StopLossPips | 30 | Stop Loss in pips |
| TakeProfitPips | 60 | Take Profit in pips (2:1 RR default) |
| AutoLot | true | Calculate lot size by risk % |
| RiskPercent | 1.0 | % of balance risked per trade |
| MaxOpenTrades | 2 | Max simultaneous positions |
| MaxDailyLossPercent | 3.0 | Daily drawdown limit % |
| UseTrailingStop | true | Enable trailing stop |
| UseSessionFilter | true | Limit to trading hours |
Recommended Settings
Pairs: EURUSD, GBPUSD, XAUUSD, USDJPY Timeframe: M5 (default) Session: London/NY overlap (12:00–17:00 UTC) Risk: 1% per trade for conservative accounts
Installation
- Copy NewsFilterEA.ex5 to: [MT5 Data Folder]\MQL5\Experts\
- Restart MetaTrader 5 or right-click Expert Advisors → Refresh
- Drag the EA onto any chart
- Enable AutoTrading (Ctrl+E)
- Allow live trading in EA settings
⚠️ IMPORTANT
- Test on demo first (1+ week recommended)
- Only trade capital you can afford to lose
- Past performance doesn't guarantee future results
- Read full terms before purchasing
📧 SUPPORT visit my profile. Response time: 24–48 hours
Risk Warning: Trading forex and CFDs involves significant risk. Past performance is not indicative of future results. Only trade with capital you can afford to lose.
