Meaning of "Group 1"
Author: jtgraham
Creation Date: 1/22/2009 2:04 PM
profile picture

jtgraham

#1
To help in learning WealthScript, I developed a simple strategy using rules, then used View Strategy Code to generate this code:

CODE:
Please log in to see this code.


I would appreciate help in understanding "Group1" and "Group1|".

Thanks in advance.
profile picture

Cone

#2
It's just a string used to match up entries with exits. In a case like the one above, it's superfluous and serves no real purpose.
profile picture

Eugene

#3
A suggestion for meaningful signal names was submitted to Fidelity.
profile picture

jtgraham

#4
Thanks, Cone and Eugene. Can you show me what the code would look like without the superfluous "Group1"?
profile picture

Cone

#5
Just remove this statement
CODE:
Please log in to see this code.

Signal names are optional strings. They can be any value you like, or none at all. Like I said, the Wizard uses them to match entries and exits, which is based on how you stack them. In this case, since there's only 1 entry and exit, obviously it's not required.