CalendarRecordById.mq5 - Errors

 

@MetaQuotes Support, the above referenced calendar indicator published in the MQL5 Book content appears to contain deprecated code. 

The file is referenced at Reading event records by ID - Advanced language tools - MQL5 Programming for Traders.

The file, itself, is at: https://www.mql5.com/en/code/download/45596/CalendarRecordById.mq5.

Of course, you'll need to download the included library files to reproduce the issues.

errors

Personally, I've used a workaround to get what I need in my code. My purpose here is to ensure that the documentation is kept current.