JB-News-Scheduler
A MetaTrader indicator for visualizing economic news events on charts.
JB-News-Scheduler is an indicator that displays scheduled news events directly on your MetaTrader charts. It can be used for visualization or integrated into expert advisors.
- Copy the indicator file to your MetaTrader indicators folder:
- For MQL5:
MQL5/Indicators/
- For MQL4:
MQL4/Indicators/
- For MQL5:
- Restart MetaTrader or refresh the indicators list.
- Attach the indicator to your chart.
- Enter your API key in the indicator settings.
- Configure other settings as needed (news source, colors, offset).
- Valid API key from the news provider
- MetaTrader 4 or 5
Download: GitHub Repository
PyCalendar
A Python Tkinter application that fetches and displays economic news events in a user-friendly calendar format.
PyCalendar organizes data from financial news APIs into a sortable table, making it easy to track upcoming economic indicators, their forecasts, and historical values.
- Fetches economic news from MQL5 or Forex Factory APIs
- Displays events in a sortable table with columns for Date, Currency, Event, Actual, Forecast, and Previous values
- Sorts events by date for chronological viewing
- Includes currency flags/emojis for visual identification
- Supports time zone adjustments via offset configuration
- Clean, modern GUI built with Tkinter
- Python 3.6+
- Valid API key from https://www.jblanked.com/api/key/
- Create a virtual environment:
python -m venv venv
- Install dependencies:
pip install -r requirements.txt
- Activate the virtual environment:
source venv/bin/activate
- Run the application:
python main.py
Before running the application, configure the following settings in main.py
:
API Key
Set your API key from the news source:
API_KEY = "YOUR_API_KEY_HERE"
Obtain an API key from https://www.jblanked.com/api/key/
Time Zone Offset
Adjust the time zone offset (in hours) to display dates in your local time:
OFFSET = 7 # GMT-3 = 0, GMT = 3, EST = 7, PST = 10
Common offsets:
- GMT-3: 0
- GMT: 3
- EST (Eastern Standard Time): 7
- PST (Pacific Standard Time): 10
News Source
Choose the news source:
SOURCE = "mql5" # Options: "mql5", "forex-factory"
"mql5"
: Fetches data from MQL5 economic calendar"forex-factory"
: Fetches data from Forex Factory
- Configure the settings in
main.py
as described above - Run the application:
python main.py
- The GUI will display a table of economic events for the current week
- Events are automatically sorted by date
- Scroll through the list to view all events
- Close the window to exit the application
The table columns show:
- Date: When the event occurs
- Currency: The affected currency with flag emoji
- Event: The economic indicator name
- Actual: The actual value (if released)
- Forecast: The expected value
- Previous: The previous period's value