MT5 engine differences

I am now using proper MT5 tick data exported from TDS which works for myself and others to match strategies but this strategy is acting very different in MT5 vs SQX. There is also a compilation warning: 

declaration of 'ATRPeriod' hides global variable test.mq5 6623 58

Attachments
2022-02-14 2.png
(96.59 KiB)
2022-02-14 1.png
(227.15 KiB)
bug_Strategy 116387.sqx
(140.69 KiB)
  • Votes +3
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

bentra

14.02.2022 17:00

Task created

g
#2

geektrader

14.02.2022 20:14
Voted for this task.
b
#3

bentra

15.02.2022 02:20
Voted for this task.
E
#4

Emmanuel

21.02.2022 09:20
Voted for this task.
TB
#5

Tomas Brynda

06.04.2022 09:56

Status changed from New to Fixed

Attachment SqHullMovingAverage.mq5 added

SqHullMovingAverage.mq5
(7.06 KiB)
Hi Bentra,

I've found out the indicator for MT5 was giving a little different values.

After updating the indicator, the backtest matches.


It will be included in build 136.

I attach the indicator also here so you can use it.


Best regards,

Tomas


Votes: +3

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please