Strategy name becomes template name in code when building from template-strategy name lost

When building from template, the name of the strategy is lost in the pseudocode and also the mql  code:
extern string CustomComment = "SQ4StrategyTemplateExample.sq4";

-Now all my strategies have the same custom comment.
-I cannot identify the specific sqx strategy when looking at the MQL code or EA, I can only see the template.
-I cannot copy and paste the strategy name from anywhere to put in my notes.

EDIT:
Maybe something like this would be best:
extern string CustomComment = "Strategy 8.8.11<SQ4StrategyTem";

or this
extern string CustomComment = "Strategy 8.8.11";


Attachments
No attachments
  • Votes +4
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

bentra

25.11.2020 00:36

Task created

h
#2

hankeys

25.11.2020 07:33
Voted for this task.
h
#3

hankeys

25.11.2020 07:34
sure, but comment can have only max 30 characters, so by my opinion the comment should be only the "name" of the strategy


the same for merged portfolio - comment field is the comment from the first strategy

b
#4

bentra

25.11.2020 17:07

Subject changed from Strategy name becomes template name in code when building from template to Strategy name becomes template name in code when building from template-strategy name lost

Description changed:

When building from template, the name of the strategy is lost in the pseudocode and also the mql  code:
extern string CustomComment = "SQ4StrategyTemplateExample.sq4";

-Now all my strategies have the same custom comment.
-I cannot identify the specific sqx strategy when looking at the MQL code or EA, I can only see the template.
-I cannot copy and paste the strategy name from anywhere to put in my notes.

EDIT:
Maybe something like this would be best:
extern string CustomComment = "Strategy 8.8.11<SQ4StrategyTem";

or this
extern string CustomComment = "Strategy 8.8.11";


Ah right! Edited. 


k
#5

Karish

25.11.2020 18:40
Voted for this task.
MF
#6

Mark Fric

02.12.2020 12:42

Status changed from New to Fixed

fixed, there will be strategy name as seen in databank

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