Experts: MQL5 Programming for Traders – Source Codes from the Book. Part 4

 

MQL5 Programming for Traders – Source Codes from the Book. Part 4:

In the fourth part of the book, we will focus on mastering built-in functions (MQL5 API) and will gradually delve into specialized subsystems. Any MQL5 program can utilize a plethora of technologies and functionalities. Therefore, it makes sense to begin with the most simple and useful functions that can be utilized in most programs.

MQL5 Programming for Traders – Source Codes from the Book. Part 4

Author: MetaQuotes

 

Hello,

The algorithm used to calculate the broker's GMT offset and daylight savings in the script "TimeSummer.mq5" is totally wrong.

https://www.mql5.com/en/book/common/timing/timing_daylight_saving

The correct algorithm can be found here: https://www.mql5.com/en/code/48650

Determine Broker's Daylight (DST) schedule
Determine Broker's Daylight (DST) schedule
  • www.mql5.com
Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.