Build strategies error with template when generate randomly variable or use radom value in action of assign variable

When a stretegy template contain "same as" random variable or reference the same random variable in two places, an error will be happend in building strategies. As you can see in the attachment.

The same problem occurs with the SQX136Dev5 version.


update in 3/21/2023:
I just retest in 137Dev4, Describe the problem again, And re-upload that strategy template.

1. As you can see, once use same as MAPeriod in standard deviation,can not build new random strategies.

2. if i use "generate randomly" option in action assign variable to make strategy template,  then build stategy happened error with template

if i use random values   as you can see in attchment, there is no " use normal value" option, mean that i can't fallback selection.

3. when ramdomly generate stratgies, Multilpe variable alway is 2, MAPeriod variable alway is 20 in all of strategies if use radmon value. 


It looks like that all error is generated only when a random variable or value is used in the action of "assign variable" , There are really a lot of problems with this feature, please fix it as soon as possible.

Attachments
same as.jpg
(296.28 KiB)
Aberration.jpg
(303.77 KiB)
test.sqx
(5.48 KiB)
  • Votes +3
  • Project AlgoWizard
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

binhsir

01.02.2023 12:52

Task created

KB
#2

kbtech

01.02.2023 12:52
Voted for this task.
E
#3

Emmanuel

01.02.2023 12:52
Voted for this task.
GA
#4

GaryAitcheson

01.02.2023 12:52
Voted for this task.
E
#5

Emmanuel

03.02.2023 10:48
Voted for this task.
b
#6

binhsir

07.02.2023 00:47
Voted for this task.
b
#7

binhsir

28.02.2023 03:31
is it fixed
TM
#8

tmatejka.

01.03.2023 21:22
Voted for this task.
b
#9

binhsir

21.03.2023 13:27

Attachment Template_Aberration.sqx deleted

b
#10

binhsir

21.03.2023 13:38

Attachment random generate code.jpg added

Attachment ramdom values.jpg added

Attachment same as error.jpg added

Attachment AberrationFilter.sqx added

Attachment build error.jpg added

Attachment AberrationFilter2.sqx added

build error.jpg
(86.92 KiB)
AberrationFilter2.sqx
(49.66 KiB)
random generate code.jpg
(142.24 KiB)
ramdom values.jpg
(130.37 KiB)
AberrationFilter.sqx
(49.68 KiB)
same as error.jpg
(133.27 KiB)
I just retest in 137Dev4, Describe the problem again, And re-upload that strategy template.

1. As you can see, once use same as MAPeriod in standard deviation,can not build new random strategies.

2. if i use "generate randomly" option in action assign variable to make strategy template,  then build stategy happened error with template

if i use random values   as you can see in attchment, there is no " use normal value" option, mean that i can't fallback selection.

3. when ramdomly generate stratgies, Multilpe variable alway is 2, MAPeriod variable alway is 20 in all of strategies if use radmon value. 


It looks like that all error is generated only when a random variable or value is used in the action of "assign variable" , There are really a lot of problems with this feature, please fix it as soon as possible.

     


b
#11

binhsir

21.03.2023 13:39

Description changed:

When a stretegy template contain "same as" random variable or reference the same random variable in two places, an error will be happend in building strategies. As you can see in the attachment.

The same problem occurs with the SQX136Dev5 version.


update in 3/21/2023:

I just retest in 137Dev4, Describe the problem again, And re-upload that strategy template.

1. As you can see, once use same as MAPeriod in standard deviation,can not build new random strategies.

2. if i use "generate randomly" option in action assign variable to make strategy template,  then build stategy happened error with template

if i use random values   as you can see in attchment, there is no " use normal value" option, mean that i can't fallback selection.

3. when ramdomly generate stratgies, Multilpe variable alway is 2, MAPeriod variable alway is 20 in all of strategies if use radmon value. 


It looks like that all error is generated only when a random variable or value is used in the action of "assign variable" , There are really a lot of problems with this feature, please fix it as soon as possible.

b
#12

binhsir

21.03.2023 13:51

Subject changed from 【SQX136Final】Build strategies error with template contained same as random variable to Build strategies error with template when generate randomly variable or use radom value in action of assign variable

MF
#13

Mark Fric

03.04.2023 10:58

Status changed from New to Fixed

Attachment test_fix.sqx added

Attachment AberrationFilter_fix.sqx added

test_fix.sqx
(5.66 KiB)
AberrationFilter_fix.sqx
(6.81 KiB)
both cases will be fixed in 137 Release Candidate.


The problem with Aberration is that when you want to generate number randomly you shouldn't use RandomValue block, but Number with randomly generated value.


I'm attaching fixed strategies that will work in 137 RC.


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