Determine Broker’s Daylight (DST) schedule – script MetaTrader 5

Determine Broker's Daylight (DST) schedule - script for MetaTrader 5
Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule. The script scans the H1 chart bars at the expected dates for the daylight changes, and by comparing the changes in server (bar) times at these bars, the DST schedule of your broker can be determined. DST_AU schedule: server dst