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
If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.
Simply send a request for refund or exchange with your order number by email: support@fx-market.pro.
Refund requests received more than 30 days after purchase will be rejected.