SL Price Level formula giving different results in TS and MT4

In a simple strategy which I've attached:



LongEntrySignal: Highest (22)(1) > Highest (22)(0) 
SL: Lowest Low (22)(1)


It behaves correctly on TS: https://i.imgur.com/sQlU226.png
But it doesn't behave the same way on MT4: https://i.imgur.com/5jB2snI.png






Attachments
Highest Lowest Test.sqx
(169.24 KiB)
  • Votes +3
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

CG
#1

Chris G

01.06.2021 16:05

Task created

CG
#2

Chris G

01.06.2021 16:05
Voted for this task.
NS
#3

nicksim80

04.06.2021 01:29
Voted for this task.
g
#4

Lee Guan Chuan

14.09.2022 09:25

Status changed from New to Fixed

Hi Chris,


SQX was designed to be platform specific. When selecting MultiCharts as the engine, it should behave similarly to MultiCharts. So it does the same for other engines. Among the engines, they can behave differently from each other.


Thank you.

E
#5

Emmanuel

14.09.2022 13:14
Voted for this task.

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