Category
General-Purpose Functions
Description
Find the number of a given strategy, and/or allow dynamic external symbol usage
Syntax
StratRef(strategy)
Parameters
strategy - any formula returning a string or a number
Return Value
The StratNum of the specified strategy, or 0 if not found
Notes
If the current strategy is "mr_long", then @mr_long, StratNum, StratRef(StratNum), StratRef(?Strategy), and StratRef("mr_long") will each return the same number.
StratRef can also be used as the first argument to Extern, for cases where you need to dynamically refer to other strategies.
|