Variable ShortSL not defined

In SQX 126, code for MultiCharts, the variable ShortSL is sometimes put in the code, but causes a compile error because it is undefined.



I have tried importing both the MC .pla and the TS .eld into MC, but the error remains.

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

g
#1

Gregorian

16.03.2020 00:00

Task created

TB
#2

Tomas Brynda

19.03.2020 16:39
Hi Gregorian,

please attach a problematic strategy and we will take a look at it.


Best regards,

Tomas

g
#3

Gregorian

19.03.2020 20:29

Attachment ShortSL.txt added

Tomas:


Attached is a strategy that won't compile in MC because of the undefined ShortSL variable. This variable only appears to be used in the Move SL to BE code.

TB
#4

Tomas Brynda

20.03.2020 08:40

Status changed from New to Fixed

Hi Gregorian,

thank you for the code. 


I have made a fix in EasyLanguage template, it will be working fine in the upcoming release.


If you want a quick fix, just replace "ShortSL" with "IntShortSL" and recompile.


Best regards,

Tomas


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please