[Build 137.1639 RC3] MQ5 code error when using Custom Blocks with "is rising"/"is falling"

When I use some custom blocks with operators "is rising" or "is falling", and I try to generate MQ5 code, some error appears and code is not generated. Surprisingly MQ4 code and pseudocode is ok.



Please find attached the custom blocks I use, and two example strategies, one with "is rising" and one with "is falling".


I have attached too two screenshots of the same strategy, one with the MQ4 code, and one with the error when MQ5 is selected.







Attachments
MQ5.jpg
(225.81 KiB)
Rising.sqx
(119.67 KiB)
Falling.sqx
(116.70 KiB)
MQ4.jpg
(247.65 KiB)
customBlocksExport.xml
(19.29 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

HF
#1

Vence_Jo

12.06.2023 08:17

Task created

HF
#2

Vence_Jo

12.06.2023 08:17
Voted for this task.
E
#3

Emmanuel

12.06.2023 12:53
Voted for this task.
TT
#4

Tamas

23.01.2024 08:22

Status changed from New to Fixed

Attachment image-0.png added

image-0.png
(190.08 KiB)
It is already fixed in sqx138, printscreen attached

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