In MQL, bar = historical.
In the example I show, Oanda MT4 is 14:19 at 19:19 UTC, so it is off by five hours. The script output is in the log at the bottom.
I can hop to a UTC enforced MT4 server and the numbers will match.
MT5: You’re asking if historical spread is available? Very likely implemented in MT5 and not difficult to implement in the MT5 plugin. Ask nicely, and they might implement it.