MT4 exported FXT data issue for CFD (DEUIDXEUR -> GER30)

I couldn't backtest DEUIDXEUR (GER30) strategy on MT4 through the SQX's "Export to MT4 (FXT & HST) function. The data was exported and available in MT4, but during the backtest, it always end with error
"tester cannot calculate prices". The export / backtest for other currencies are working, eg, EURUSD, GBPJPY, XAUUSD


During the export from SQX I'm already using the mt4.properties generated by the ExportProperties script, so it's matching my broker spec.


If I export from a diff program (eg, tickstory to MT4, the strategy I have can backtest without any issue, so it should be issue related to the FXT export settings itself. 
This is also happening on the new version build 123


Please let me know if you require any further info.

Attachments
GER30_MT4_error.jpg
(204.45 KiB)
GER30_SQX_export_before_using_mt4_properties.jpg
(69.72 KiB)
GER30_SQX_export_after_using_mt4_properties.jpg
(70.26 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

t
#1

Simon

02.09.2019 12:35

Task created

TB
#2

Tomas Brynda

02.09.2019 13:45

Description changed:

I couldn't backtest DEUIDXEUR (GER30) strategy on MT4 through the SQX's "Export to MT4 (FXT & HST) function. The data was exported and available in MT4, but during the backtest, it always end with error
"tester cannot calculate prices". The export / backtest for other currencies are working, eg, EURUSD, GBPJPY, XAUUSD


During the export from SQX I'm already using the mt4.properties generated by the ExportProperties script, so it's matching my broker spec.


If I export from a diff program (eg, tickstory to MT4, the strategy I have can backtest without any issue, so it should be issue related to the FXT export settings itself. 
This is also happening on the new version build 123


Please let me know if you require any further info.

Status changed from New to Waiting for information

Hi Simon,

please try to set the EA settings as written here https://www.mql5.com/en/forum/154449 and let me know if it helped.


Best regards,

Tomas

t
#3

Simon

02.09.2019 14:23

Hi Tomas,


Thanks for your quick reply.

I have tried changing the tester currency to AUD, USD, EUR, GBP, and they all return the same error.


Regards,


Simon

t
#4

Simon

05.09.2019 01:15

Attachment GER30_SQX_using_GER_as_currency.jpg added

Attachment GER30_SQX_buy_example_using_GER_as_currency.jpg added

Hi Tomas/Mark,


I managed to get it running by changing the currency to GER (which doesn't exist i believe).

However, the buy/sell order profit/loss are all in the decimals (very tiny, compared to large lot size). I know the strategy works on the demo/real account as i have used it, so i suspect it's an issue with the FXT exported with incorrect Base currency?

Is there some settings that we can change to make the FXT export with specific base currency, eg EUR?


Have attached the settings used, and the resultant small TP against large lot size.

TB
#5

Tomas Brynda

01.11.2019 16:09

Status changed from Waiting for information to In progress

PS
#6

Petr Šomek

29.07.2020 21:44

Status changed from In progress to Refused

can't reproduce

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please