My question is in regards to calculating relative strength of security compared 
to S&P500.

First, how does the AFL function RelStrength work?  If I enter 
RelStrength(MSFT), what exactly is calculated.  I understand there are an 
infinite number ways to calculate relative strength.

For this example, assume I have two arrays (S&P500 and other security).  S&P500 
data goes back to 09/01/1988 and other security goes back to certain date later 
than 1988.  If I want to calculate relative strength based on the date of the 
last quote for the 'other security' as follows:

Relative Strength = (Pt/Mt) / (P0/M0)

where Pt is the security's price, Mt is the S&P500's value and P0 and M0 are 
the initial values (very 1st quote for security).

How do I determine P0, and then look the same number of bars back for S&P500.

I would like to do this for a number securities, so the date of the 1st quote 
will always be different.

Thanks

Levi

Reply via email to