Forum

MQL4 How to determine brokers Timezone

How can I find the timezone that my broker resides in? I can get the time of the last tick using something like: SymbolInfoTick ( Symbol (), last_tick) That tells me the time of the tick, but not the time zone. I've looked at various AccountInfo, MarketInfo and SymbolInfo functions , but I can't

MetaTrader 4 Time is off by -5 hours in EA but only when using epoc time

I wrote a super detailed post about this problem on stackoverflow .com. Rather than re-create the entire thing here I'll just post the link: https://stackoverflow.com/questions/59841733/metatrader-4-mql4-time-is-off-by-5-hours-but-only-when-using-epoc-time Basically, I'm having a very specific