BTW, is it possible to do this with other indicators, considering I think
only RSI has RSIa... I'd like to do the same with MFI and other indicators,
but not sure how to do it.
Thanks,
Louis
2008/7/16 Louis Préfontaine <[EMAIL PROTECTED]>:
> Thanks!
>
> It works well.
>
> Louis
>
> 2008/7/14 Barry Scarborough <[EMAIL PROTECTED]>:
>
> 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 [email protected] <amibroker%40yahoogroups.com>, "Louis
>> Préfontaine" <[EMAIL PROTECTED]>
>> wrote:
>>
>> >
>> > Hi,
>> >
>> > Easy question here: how to write the RSI of a foreign ticker?
>> >
>> > Thanks,
>> >
>> > Louis
>> >
>>
>>
>>
>
>