Skip to content

Economic Calendar

Economic calendar functions

This section describes the functions for working with the economic calendar available directly in the MetaTrader platform. The economic calendar is a ready-made encyclopedia featuring descriptions of macroeconomic indicators, their release dates and degrees of importance. Relevant values of macroeconomic indicators are sent to the MetaTrader platform right at the moment of publication and are displayed on a chart as tags allowing you to visually track the required indicators by countries, currencies and importance.

Economic calendar functions allow conducting the auto analysis of incoming events according to custom importance criteria from a perspective of necessary countries/currencies.

FunctionAction
CalendarCountryByIdGet a country description by its ID
CalendarEventByIdGet an event description by its ID
CalendarValueByIdGet an event value description by its ID
CalendarCountriesGet the array of country names available in the calendar
CalendarEventByCountryGet the array of descriptions of all events available in the calendar by a specified country code
CalendarEventByCurrencyGet the array of descriptions of all events available in the calendar by a specified currency
CalendarValueHistoryByEventGet the array of values for all events in a specified time range by an event ID
CalendarValueHistoryGet the array of values for all events in a specified time range with the ability to sort by country and/or currency
CalendarValueLastByEventGet the array of event values by its ID since the calendar database status with a specified change_id
CalendarValueLastGet the array of values for all events with the ability to sort by country and/or currency since the calendar database status with a specified change_id
Last updated on