AlgoWizard (SQX Pro 135.868) - Editing large strategies can cause rule corruption

Here's how to reproduce the issue:



Using AlgoWizard Build 135, load file "Bricks Test - Copy.sqx"
Select "NewBar" rule tab -> 'Add another action' to add a second action line -> 'Assign Variable:'
Select variable -> MACDFastEMA = 
Select Values -> Funtcions -> Plus(+)
Select #Right# -> Other -> dvar -> MACDFastEMA
Slect #Left" -> Functions -> Multiplication(*)
Select #Left# -> Other -> dvar -> BrickStart
Select #Right# -> Other -> dvar -> MACDFastEMA
Now this entry appears duplicated as 2 action lines
Now select the "Initialize" rule tab
Now when you go back to "NewBar" rule tab, the 2 action lines are different
The second action line now reads as a duplicate of one from the "Initialize" rule tab, assigning to variable BrickStart
and the third action line appears to be the one we originally added, assigning to variable MACDFastEMA
Going to the Source code and viewing the MT4 source code, we see only the 1st and 3rd lines, which is what we entered.
The duplicated "Initialize" action line does not show up in the source code, although it is still there if we go 'Back to editor' 
If you Save the strategy (.sqx) and re-load from file, the "NewBar" rule appears correct, as it did in source code
If you had tried to Delete the extra action line, things just seem to get even more corrupted.
Adding a 3rd action, Assign variable, MACDSlowEMA, follow similar input and the duplicate line appears even sooner.

Attachments
No attachments
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Moved
  • Priority Normal
  • Assignee Vojta Kordac
  • Milestone Build 136
  • Category UI

History

h
#1

HEJ

09.06.2022 20:05

Task created

Cc
#2

Cyber

27.06.2022 02:39
Voted for this task.
E
#3

Emmanuel

06.08.2022 15:38
Voted for this task.
TT
#4

Tamas

15.08.2022 10:27

Assignee changed from Vojta Kordac to Vojta Kordac

Milestone changed from None to Build 136

Category changed from None to UI

TT
#5

Tamas

31.08.2022 13:36
Task moved to project AlgoWizard, new link to task: https://sq.projectpanel.com/tasks/algw_0592

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