작업 종료됨
명시
Project Summary
I’m seeking a professional MQL5 developer to create a modern, stylish news event indicator and a supporting class API for integration into Expert Advisors. The indicator will pull high-impact news events (e.g., from Forex Factory) and display them visually on the chart, with colour-coded severity and time proximity. It must work across all relevant currencies or assets, based on a JSON config file, aggregating across multiple symbols news as per config file.
🧩 What You’ll Build
🧾 1. News Indicator (MQL5)
A chart indicator that:
- Appears in Chart Window 1 (subwindow at bottom)
- Displays a horizontal traffic-light line:
- 🟢 Green = No news in ±30 minutes
- 🟠 Orange = Upcoming or just past red news event (±30 minutes)
- 🔴 Red = High-impact news right now
- Uses JSON config to define the list of currencies/symbols of interest
- Annotates the timeline visually with:
- Event name, time, currency
- Impact level (must show "Red" ones at a minimum)
- Optional: clicking annotation opens the related news URL (if supported by MT5)
🧑💻 2. Supporting News Class API (MQL5)
This class (e.g. Class_NewsManager.mqh) must allow EA code to easily query:
// Called in EA code
bool IsHighImpactNewsNow();
bool IsWithinNewsBufferWindow();
datetime TimeOfNextHighImpactNews();
CArrayObj *GetUpcomingNews(string symbol); // Returns event objects
It should parse the same JSON file as the indicator and share a unified logic.
⚙️ Config File (news_config.json)
Example:
json
{
"symbols": ["USD", "EUR", "GBP", "AUD", "CAD", "JPY"],
"impact": ["high"],
"buffer_minutes": 30,
"news_source": "forexfactory"
}
Used for filtering symbols/currencies
Used for deciding blackout window timing
May include URLs if the news source supports them
🔗 News Source Integration
You may use:
- ForexFactory (preferred)
- Investing.com
- JBlanked.com
- Polygon.io
Requirements:
- Use WebRequest to retrieve and parse JSON or HTML
- Auto-refresh data periodically (e.g., every 30–60 minutes)
- Include fallback/default offline cache if news is temporarily unavailable
✨ Visual Requirements
- Modern look, clean fonts
- Subwindow chart element like a timeline bar with news markers
- Hover/click to display more info
- Optional: click-through to browser URL if possible
🔐 Requirements
- Must be MQL5-native with full source code provided
- Must be EA-compatible (allowing cross-calls to the class from an EA)
- Must be efficient (minimal CPU/memory)
- Clean, well-documented code
📦 Deliverables
- NewsDashboardIndicator.mq5
- Class_NewsManager.mqh
- news_config.json (with sample file)
- Example .mq5 EA or script showing API class usage
- All source code in plain MQL5
📆 Timeline & Budget
- Timeline: ~1–5 days ideal
- Budget: Flexible depending on complexity (news parsing & click support)
📝 To Apply
Please provide:
- Your approach to parsing Forex Factory or equivalent
- Example MQL5 indicators using WebRequest or subwindow visualisations
- Confirmation you’ll deliver both the indicator and class, with full MQL5 source code