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.
Size:
Color:
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.
Size:
Color:
A suggestion for meaningful signal names was submitted to Fidelity.
Size:
Color:
Thanks, Cone and Eugene. Can you show me what the code would look like without the superfluous "Group1"?
Size:
Color:
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.
Size:
Color: