Not necessarily.
|SetForeign("$SPX");
//Get RSI value for the S&P500
RSISPX = LastValue(Ref(RSI(14),-1));
ticker = Name(); // will be $SPX
StaticVarSet("RSI-SPX-"+ticker,RSISPX);
RestorePriceArrays();
_TRACE(ticker);
RSISPX = StaticVarGet("RSI-SPX-"+ticker);|
On 2/1/2010 12:03 AM, el_pato_ut wrote:
I need to assign the value of "Name()" to a variable before I perform the SetForeign.
