Title: Is it possible to retrieve historical swap rates for a symbol in MetaTrader 5?

Title: Is it possible to retrieve historical swap rates for a symbol in MetaTrader 5?

Hello MetaQuotes Team and MQL5 Community,

I am conducting a historical trading strategy research project using MetaTrader 5 and need to retrieve historical swap rates for a specific broker symbol.

My trading environment:

  • Platform: MetaTrader 5

  • Broker: Orbex Global

  • Server: OrbexGlobal-Server

  • Symbol: EURUSD#

  • Historical period required: January 1, 2019 to June 1, 2026

  • Current MT5 build: 6361

I need historical records of the following symbol properties:

Specifically, I would like to know:

  1. Does MetaTrader 5 store historical changes to these symbol properties anywhere in the terminal, server data, local cache, or database?

  2. Is there any MQL5 function, API, or other supported method to retrieve the swap rates that were applicable on a specific historical date?

  3. Does the MT5 Strategy Tester use historical swap rates for each date, or does it apply the symbol's current swap specifications throughout the entire historical test?

  4. Can historical swap-rate changes be retrieved from the broker's trade server or through any undocumented or officially supported MetaTrader data service?

  5. If the terminal does not store this information, is there any recommended method to reconstruct or export historical swap-rate changes accurately?

I have already contacted my broker, Orbex. They confirmed that they cannot provide historical swap-rate databases or archived rate-change records for this symbol.

I do not have previous trading positions on this account from which historical swap charges could be recovered.

I am specifically looking for the historical symbol swap specifications, not merely the swap amounts recorded on previously executed trades.

Any technical guidance, API reference, documentation, or recommended solution would be greatly appreciated.

Thank you.