Disclosure: I am an MQL5.com vendor.

Here's a possible explanation: If you program in MQL language and request the time, MT4 only gives you the latest timestamp of the latest tick in the market for a given asset. This means that after-hours and weekends will mess with the value. There's not much a plugin writer can do about it, other than complain to MetaQuotes.