Ballast News Shield
- Yardımcı programlar
- Sürüm: 1.0
- Etkinleştirmeler: 10
Closes positions and blocks trading around important news, using MT5's built-in economic calendar. Protects manual trades and other EAs.
Big news (interest rates, jobs reports, inflation) can move price more in one minute than in the whole day before it, with wide spreads and slippage. Many prop firms forbid holding trades through it. Ballast News Shield handles it for you.
- Reads the built-in MT5 economic calendar — no DLL, no web requests, no settings to allow URLs.
- A set number of minutes before the news (default 30) it closes positions and deletes pending orders on every symbol that uses the news currency (EUR news → EURUSD, EURJPY, EURGBP …).
- During the pause it closes any new position at once, so other EAs and manual clicks cannot trade through the news.
- After the pause (default 15 minutes after the news) trading is allowed again.
- Draws the upcoming news as vertical lines on the chart and lists the next five in the corner.
- Optional alert and push notification when a pause starts.
- Other EAs can read the pause: terminal global variable NewsPause_USD = 1 during a USD pause.
Tested
- 8 symbol/timeframe/deposit combinations without errors.
- 1,030 test trades: 100% closed at the start of the pause, 100% of trades opened during a pause closed immediately. One trade on the US30 index was closed on the next trading day because the market itself was closed for Good Friday.
- Calendar times checked against the US jobs report (12:30 GMT summer, 13:30 GMT winter) on a live account.
Inputs
- Minutes before the news — 30 — Pause start
- Minutes after the news — 15 — Pause end
- Which news — High only — or Medium and high
- Currencies — empty — Empty = the chart's two currencies; or e.g. "USD,EUR,GBP"
- Close positions — true
- Delete pending orders — true
- Keep closing new positions — true
- Only this magic number — -1 — -1 all, 0 manual only, or one EA's magic
- Alert / push notification — false
- Draw news lines — true
Notes
- The MT5 calendar is not available in the Strategy Tester. In the tester Ballast News Shield uses a demo schedule (one "news" every weekday at 14:30 server time) so you can see it work.
- Calendar times follow the broker's server time.
