I would like to ensure that all of the correct characteristics for a script are used each time, and the best way might be to set them from inside the script (especially when it is run by others).
How can I do that?
Vince
Size:
Color:
You can't.
What you can do is
get them (using
GetDataRange and similar parameters in
Community Components) and then compare it with some preset values, for example. As an alternative, save a properly configured Workspace and tell the
others to load it.
Size:
Color:
Thanks Eugene!
Is there an equivalent to tell the appropriate Scale (Daily, Weekly, etc.)? I did not see it in Community Components.
Vince
Size:
Color:
Vince, it's built-in. Check out Scale in the QuickRef.
Size:
Color:
But is that only when a Position has been established? How about before the script has generated any positions?
Vince
Size:
Color:
Bars.Scale doesn't require a Position to be created. It's a property of the Bars object the strategy is being executed on.
Size:
Color:
Thanks for the clarification.
Vince
Size:
Color: