[Bug?] When exporting SQX historical data in order to Backtesti in MT4, "Currency" is set as BaseCurrency rather than QuoteCurrency for Forex Pairs, Which is wrong if thats why it is used for
[Bug?] When exporting SQX historical data in order to Backtest in MT4, "Currency" is set as BaseCurrency rather than QuoteCurrency for Forex Pairs, Which is wrong if thats why it is used for, However for CFDs and Fututres the BaseCurrency gives the same value as the MarginCurrency so it is ok.
My question is for what that "Currency" value needed?, Because for this example bellow in the screenshot, the "Currency" value is GBP however the Tick value and overall P/L and Margin P/L are calculated in AUD and must be calculated by the value of the Quote currency for any Forex pair.
We also believe it should be rather set to the QuoteCurrency as it is with indices and commodities. It is not quite clear though even from the official docs https://docs.mql4.com/constants/environment_state/marketinfoconstants as there are multiple params SYMBOL_CURRENCY_BASE, SYMBOL_CURRENCY_PROFIT, SYMBOL_CURRENCY_MARGIN etc. We will be looking into this more
"Because for this example bellow in the screenshot, the "Currency" value is GBP however the Tick value and overall P/L and Margin P/L are calculated in AUD and must be calculated by the value of the Quote currency for any Forex pair."