Economic NewsMT5 Indicator
Economic News Marker
Key news release times, marked on your chart as vertical lines.
Draws vertical lines on your chart at the exact time of economic news releases. Events like Non-Farm Payrolls and FOMC meetings — moments when the market can move sharply — become instantly visible, helping you avoid entering during high-risk windows.
What it does
- ✓Plots vertical lines on the chart at news release times
- ✓Filters and color-codes events by importance (High / Medium / Low)
- ✓Target currencies can be specified as a CSV list
- ✓Pulls data automatically from MT5's economic calendar
Key Parameters
| Parameter | Default | Description |
|---|---|---|
| InpDaysBack | 2 | How many past days to display |
| InpDaysForward | 3 | How many future days to display |
| InpImportance | 2 | Minimum importance level (1=Low 2=Medium 3=High) |
| InpCurrencies | USD,EUR,JPY | Target currencies (CSV; leave blank for all currencies) |
| InpHighColor | Red | Color for high-importance events |
Installation
- 1Copy the .mq5 file to MT5's Data Folder > MQL5 > Indicators
- 2Compile in MetaEditor, or restart MT5
- 3Drag and drop the indicator from the Navigator onto your chart
Important Note
This indicator relies on MT5's built-in economic calendar. It will not display on brokers that do not support the calendar, or inside the Strategy Tester. For more on setting up news filters, see the knowledge base article "Economic News Filter Settings."
Other Indicators