Strategy doesn't close for months when it should only hold for 1 day!

Should exit after 29 hours but one trade is actually held for months!

dukas m1 data. mt5 terminal with the same data doesn't do that, mt5 terminal holds for 5 days which is also weird.....

EDIT: On second thought, maybe just close this ticket. It's most certainly because of a data problem and I had realistic gaps turned on in SQX so that would explain why mt5 terminal m1 mode acted differently to the bad data I think.
Attachments
Strategy 41113 - bugged.sqx
(477.40 KiB)
Screenshot_142.png
(342.05 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

bentra

15.09.2022 09:48

Task created

E
#2

Emmanuel

16.09.2022 07:09
Voted for this task.
g
#3

Lee Guan Chuan

27.09.2022 04:36

Status changed from New to Fixed

I have tested this in SQX and MT5 and compared the result. All the trades are matched.


For some of the trades that Exit After X Bars, I tested in the H4 timeframe. 29 bars which are 116 hours or 4.83 days. In SQX, it shows 6 days above. It shows 6 days above because it includes the weekend days as well.


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please