Different backtest results in Metatrader vs. SQX

Backtest results on tick data from Dukascopy in SQ X are partially different compared to backtest results in MT4 Oanda on the same tick data from Dukascopy
Attachments
StrategyTester 118 MT4 Oanda.htm
(1.20 MiB)
Strategy 118 SQX.sqx
(17.07 KiB)
StrategyTester 118.gif
(7.64 KiB)
Strategy 136 SQX.sqx
(19.14 KiB)
StrategyTester 136.gif
(7.83 KiB)
StrategyTester 136 MT4 Oanda.htm
(383.70 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

l
#1

Lucca

12.04.2023 13:19

Task created

E
#2

Emmanuel

13.04.2023 23:36
Voted for this task.
g
#3

Lee Guan Chuan

11.05.2023 04:09

Status changed from New to Fixed

Attachment capture.jpg added

capture.jpg
(270.25 KiB)

Hi there,


I have investigated the issue and here's what I've discovered:


To begin with, I compared the results from both SQX and MT4. After doing so, I found that the majority of trades have the correct open and close prices. However, I noticed that trades that exited on Friday or through a signal had slightly different prices. This is usually caused by either spread or slippage.


Next, I compared the spread between SQX and MT4. It turns out that SQX uses the real spread, whereas MT4 uses the current spread (19, which is equivalent to 1.9 pips). Please note that MT4 does not support the use of real spread.


I hope this information helps. Thank you.

CS
#4

SchranzTrading

09.01.2024 23:19
Voted for this task.

Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please