[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Relative Sttrength



PureBytes Links

Trading Reference Links

In a message dated 9/18/01 12:01:08 PM Eastern Daylight Time, amibroker@xxxx writes:


Hello,

Comparative Relative Strength is calculated in AmiBroker as follows:

RS = 1000 * close / foreign( "base ticker", "C" );

So the RS is a price of selected security divided by the price of base security.

What you want to achieve is something different. You might consider using
ROC (percentage rate of change) from RS. If you want to find out 
which stock outperforms index during last week you may use
5-bar ROC from RS:

outperforms = roc( relstrength("^SPC"), 5 ) > 0;

Best regards,
Tomasz Janeczko




John Pyle