支持中心 帮助文档 联系我们
📱 微信: 18391752892 | 💬 QQ: 3313198376 | ✈️ Telegram | 📧 fishfx123@gmail.com
EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34% EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34%

News Blocker

👤 作者: Marco Solzi

4.5 分

¥350.00

📌 版本: v2
📥 下载: 0
⭐ 评分: 4.5

📝 产品详情

News Blocker

作者Marco Solzi
版本v2
激活数10
原价$50 USD

This Expert Advisor is designed to help you manage trading around high-impact news events, fetched from

the Forex Factory economic calendar in XML format.

It includes real-time monitoring of upcoming news and can automate trading operations before and after

important economic releases.

------------------------------

? 1. XML News Source

------------------------------

- The EA fetches news from:

https://nfs.faireconomy.media/ff_calendar_thisweek.xml

- The XML is saved locally as "ff_calendar_thisweek.xml".

- The file is refreshed every Sunday automatically.

- The calendar is based on London time (UK).

------------------------------

? 2. Core Features

------------------------------

Filter news by:

- Impact: HIGH, MEDIUM, LOW, HOLIDAY

- Currency: USD, EUR, JPY, GBP, AUD, NZD, or Others

Real-time countdown:

- Shows the next filtered news and time remaining (on-chart via Comment)

Pre-news automated actions (each with its own timer):

- Auto-close all positions

- ? Force a BreakEven SL attempt on all open trades


Safety:

- News events are parsed and stored in memory once.

- Each function executes only once per news item.

- EA has an expiration date for usage control.

------------------------------

3. Input Parameters

------------------------------

? News Source

- `UK_to_UTC_offset_hours`: Offset of Broker time to UTC (usually 0 or 1)

? News Filtering

- `Show_High`, `Show_Medium`, `Show_Low`, `Show_Holiday`: Filter by impact

- `Show_USD`, `Show_EUR`, ..., `Show_Other`: Filter by currency

? Auto Close Positions

- `EnableAutoClose`: Enable or disable auto-close

- `MinutesBeforeClose`: How many minutes before news to close positions


? BreakEven by News

- `EnableBreakEvenPerNews`: Enable forced SL-to-break-even logic

- `MinutesBeforeBreakEven`: Minutes before news to attempt SL adjustment

- `BreakEvenOffsetPoints`: Offset from entry price in points (e.g., 2 points)------------------------------

? 4. How It Works

------------------------------

Every tick (`OnTick`):

- The EA checks the time against upcoming news in memory

- For each news item, it checks if any timer thresholds are reached:

→ If yes, the corresponding action is executed (once)

- Shows the next event and countdown on-screen via `Comment`

------------------------------

? 5. Usage Tips

------------------------------

- Attach the EA to a chart (e.g., H1, M15)

- Allow WebRequest for: `https://nfs.faireconomy.media`

- Adjust time offsets if your broker is not aligned with Broker time



安全须知

本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。

EA 配置

交易品种XAUUSD
时间框架H1 (推荐)
推荐经纪商IC Markets, IC Trading
最低存款$300 / 0.01手

📸 截图预览