This is one way to do it,
Barry

_SECTION_BEGIN("Foreign RSI");  

Filename = StrLeft(_DEFAULT_NAME(),StrLen(_DEFAULT_NAME())-2);
_N(Title = filename + StrFormat(" - {{DATE}} {{VALUES}} "));

// you can use a list like this or import them from a watch list
fName = paramlist("Symbols", "IBM,BA,DD,DDM");
perRsi = param("RSI period", 12, 2, 50, 1);
myC = foreign(fName, "C");
myRSI = RSIa( myC, perRsi );

plot(myRSI, "\n" + fName + " - RSI", colorblue); 

_SECTION_END();


-- In amibroker@yahoogroups.com, "Louis Préfontaine" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> 
> Easy question here: how to write the RSI of a foreign ticker?
> 
> Thanks,
> 
> Louis
>


Reply via email to