[137 Final] SQX Doesn't Respect Brackets on Custom Blocks

See the video: https://youtu.be/9yPWadvnPJM



To reproduce the bug and then avoid it as I explain in the video, I had to:


1. Run the strategy first, where I see doesn't respect brackets.
2. Go to Custom Blocks, then erasing the brackets.
3. Run the strategy again, where nothing should change.
4. Go to Custom Blocks, now I can see the brackets appear changed on a different location.
5. So, I delete them and add them again.
6. Run the strategy again, and now it's working.


I've attached the custom blocks below.

Attachments
customBlocksExport.xml
(158.21 KiB)
  • Votes +4
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Urgent

History

CG
#1

Chris G

18.07.2023 21:20

Task created

CG
#2

Chris G

18.07.2023 21:20
Voted for this task.
Wv
#3

eNeRGy Burns

18.07.2023 21:42
Voted for this task.
Wv
#4

eNeRGy Burns

18.07.2023 21:43
This is excellent! Thanks for that. I have the same problems. Also when those brackets fail, it doesn't generate source-code and no pseudo code for me, it gives output error. Not sure if you also encountered and tested this?
CG
#5

Chris G

18.07.2023 21:51
It generates pseudo code in my case, I had no issue with that. My issue here is when sqx doesn't respect the brackets, and as the video shows, once I delete the brackets and run the strategy again, I check on the custom blocks, and it appears the brackets changed. Then I change the backets, and then it works. I haven't checked this thing on AlgoWizard though. Have you had this issues on AW or inside custom blocks?
E
#6

Emmanuel

19.07.2023 01:06
Voted for this task.
CG
#7

Chris G

19.07.2023 01:47
I've seen that open 'Trades on Chart' is crucial to reproduce this bug.
HF
#8

Vence_Jo

19.07.2023 08:36
Voted for this task.
TH
#9

Tomas Hruby

19.07.2023 12:05

Priority changed from Normal to Urgent

Wv
#10

eNeRGy Burns

19.07.2023 20:02
I have the same problems of brackets not working in AlgoWizard as in Custom Blocks and when using them in Builder.. not always generating pseudo code, depending on how complex the brackets are.. I guess.
CG
#11

Chris G

19.07.2023 20:06
Worth noting it doesn't work on Algowizard, have you tried this on this Final v137?
TT
#12

Tamas

19.07.2023 20:20
Hello Chris, 


sorry for the inconvenience, we will look into it ASAP.


Tamas

CG
#13

Chris G

20.07.2023 23:34
I was looking again, and you I detected the following pattern:


1. Go to Custom Blocks

2. Erase the Brackets

3. Go to Editor

4. Go Back to Custom Blocks

5. Then you'll see the brackets changed (no need to backtest)

6. Then you can change the brackets

7. Then go to editor and it will be changed for the good.


The thing is, you don't need to backtest to see the bug, just going back and forth between custom blocks and editor.

CG
#14

Chris G

21.07.2023 00:48
It also works going back and forth between every custom block.
VK
#15

Vojta Kordac

21.07.2023 12:31

Status changed from New to Fixed


Votes: +4

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please