Easylanguage source code error

1.Except for the last time I reported that there was a bug in AlogWizard that generated the EL source code.

Today I found a similar problem in SQ Builder. As you can see in the attachment, I only used two types of blocks.Of the 1000 strategies generated, quite a few of strategies EL source code generated similar errors, but some were normal. I analyzed the reason and it seems that two Arron tpl files are missing.


2.When using a custom money management method(such as ATRVolatillitySizing method that download from Blog), The generated code will also report an error. As you can see in attachment.

Attachments
easylanguage code error.jpg
(1.37 MiB)
blocks.jpg
(1.42 MiB)
builder.jpg
(1.41 MiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Feature
  • Status New
  • Priority Normal

History

b
#1

binhsir

06.02.2023 12:37

Task created

TT
#2

Tamas

06.02.2023 12:47

Status changed from New to Waiting for information

Can you please attach some of the problematic strategies ? 
b
#3

binhsir

06.02.2023 13:02
Voted for this task.
b
#4

binhsir

06.02.2023 13:07

Description changed:

1.Except for the last time I reported that there was a bug in AlogWizard that generated the EL source code.

Today I found a similar problem in SQ Builder. As you can see in the attachment, I only used two types of blocks.Of the 1000 strategies generated, quite a few of strategies EL source code generated similar errors, but some were normal. I analyzed the reason and it seems that two Arron tpl files are missing.


2.When using a custom money management method(such as ATRVolatillitySizing method that download from Blog), The generated code will also report an error. As you can see in attachment.

Attachment code error with ATRVolatilitySizing.jpg added

Attachment Aroon tpl.jpg added

code error with ATRVolatilitySizing.jpg
(1.30 MiB)
Aroon tpl.jpg
(565.16 KiB)
b
#5

binhsir

06.02.2023 13:10
To tomas:

      Don't need upload any strategies, because it is easy to reproduce just use Aroon blocks. It seems that there are two Aroon tpl files missing in  the 136 Final version.

      But I don't understand why the custom money management method also lacks templates, which I can't find the corresponding file path.

TT
#6

Tamas

06.02.2023 13:28

Status changed from Waiting for information to New

I think this was already fixed by Guan here https://roadmap.strategyquant.com/tasks/sq4_9838


But he will double-check it, thanks for additional information


b
#7

binhsir

06.02.2023 13:46
To Tomas:

        OK, The first problem was indeed fixed. Please pay attention to the second bug.

E
#8

Emmanuel

07.02.2023 07:56
Voted for this task.
TT
#9

Tamas

08.02.2023 09:44

Type changed from Bug to Feature

I have attached the task to Ivan, author of the snippet. He will add the missing templates during the next month
b
#10

binhsir

08.02.2023 14:21
To Ivan:

        Could you update codebase to tell us how to make a TPL file. https://strategyquant.com/codebase/atr-volatility-money-mannagement-sizing/

        Beacause i code a new custom money management method, position sizing was calculated correctly, but the same error was reported when the easy language source code was generated.


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