[136 dev 1] Strategy missing all it's short trades in MT5 terminal

This strategy is missing well over half of it's trades (all of it's short trades but 1) when run in MT5 terminal every tick accuracy, real spread.


Attachments
Strategy 18571.sqx
(94.93 KiB)
  • Votes +3
  • Project StrategyQuant X
  • Type Bug
  • Status New
  • Priority Normal

History

b
#1

bentra

11.04.2022 02:59

Task created

b
#2

bentra

11.04.2022 04:19
Voted for this task.
o
#3

Enric

11.04.2022 19:13
Voted for this task.
E
#4

Emmanuel

14.04.2022 15:34
Voted for this task.
TM
#5

tmatejka.

12.09.2022 22:00

Status changed from New to Waiting for information

Attachment image-0.png added

image-0.png
(149.46 KiB)

bentra, have you created this in AlgoWizard manually or was this strategy generated by the builder?


there is a logic problem with TP price level for short trades. see the image. it is the same formula as for long trades

also the similar problem seems to be with Trailing SL

b
#6

bentra

12.09.2022 22:19
It's from the builder. I have already a different bug report opened for this unusual builder behavior so I suppose you can close this one. 

It was still placing trades in SQX even with the erroneous price levels and NOT in mt5. You could consider adding error checking to sqx so that it wouldn't place those trades. And then it would match and also be more obvious the problem.

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