PureBytes Links
Trading Reference Links
|
> Is it possible to know, within a Signal, what is the physical
>path of a workspace running the signal?
>
>-Fabio Santos
Hello Fabio
AFAIK, there is no built in method of determining the filename of the current workspace.
The best you could do would be to hardcode it in as an input.
Or, you could code up different values for different symbols using a switch-like set of if statements.
You can get the current symbol with GetSymbolName for this.
if symbol = "IBM" then myPath = "..."
else if symbol = "MSFT" then myPath = "..."
...;
HTH,
Mike Gossland
|