SignalX News Window Guard
- Utilitários
- Ahmed Ismail Muhammad Ismail Al Talhat
- Versão: 1.0
- Ativações: 5
What this is
Most news filters make you maintain a list of events, and a list goes stale the week you stop updating it. MetaTrader 5 ships the economic calendar inside the terminal, so this one reads the real events for the currencies on your chart, with nothing to maintain. It marks each high-impact window forward on the chart before it arrives, withdraws pending orders while a window is open, and can tighten or close what is already running.
What it does
Reads the terminal's own economic calendar for the currencies on the chart, marks each high-impact window forward on the chart, withdraws pending orders while a window is open, and can optionally protect or close open positions.
- Uses the native MQL5 calendar API instead of a scraped news site or a hand-maintained list, so there is nothing to update. It is explicit about its limit: a utility cannot intercept a manual click, so it removes resting orders and warns rather than pretending to block the trader.
- Runs on a single chart; it does not need to be the chart you trade from.
- No DLL calls. No external services. No network requests.
- No account, terminal, symbol or time limitation is embedded.
Inputs
| Input | Type | Default |
|---|---|---|
| InpAction | ENUM_SX_NEWS_ACTION | SX_NEWS_BLOCK_ONLY |
| InpMinutesBefore | int | 15 |
| InpMinutesAfter | int | 15 |
| InpHighOnly | bool | true |
| InpCancelPending | bool | true |
| InpMagicFilter | int | 0 |
| InpDeepSearch | bool | true |
| InpDrawWindows | bool | true |
| InpDaysAhead | int | 7 |
| InpAlertOnEntry | bool | true |
How to use it
- Attach the EA to a chart of the symbol you trade.
- Set the inputs to match your own risk approach. Defaults are deliberately conservative.
- Allow live trading in the Expert Advisors settings for this EA.
- Test on a demo account first. That is not a formality; the defaults are not tuned to your broker.
Notes
- Written for MetaTrader 5, any broker, any account currency. Sizing maths uses the symbol's own tick value.
- Coexists with other tools on the same account; it only touches what you point it at.
- It performs management and measurement only; it does not generate trading signals.
Honest limits
- This is a tool, not a strategy. It does not predict anything and it cannot make a losing method profitable.
- No performance figures are published for it because tools of this kind do not have a meaningful backtest curve of their own.
- If your broker quotes oddly (very wide spreads, non-standard tick values) verify the sizing on a demo account before using real funds.
Trading involves risk of loss. Nothing here is financial advice.
