RelStrength
|
Referencing other symbol data |
SYNTAX | RelStrength( "tickername", fixup = 1) |
RETURNS | ARRAY |
FUNCTION | Calculates relative strength of currently selected security
compared to "tickername" security. When you give an empty string
as argument, a standard relative strength base security taken from Stock->Categories
will be used. The last parameter - fixup - with the default value of 1 - causes filling the holes in the data with previous values (behaviour introduced in 3.90.3), if fixup is 0 - the holes are not fixed (the old, pre-3.90.3 behaviour) Note: you can still use Foreign/RelStrength in the old way: Foreign( "ticker", "field" ), RelStrength( "ticker" ) - then the holes will be fixed. |
EXAMPLE | relstrength( "^DJI" ) |
SEE ALSO |
jayson 2003-06-23 09:20:02 | Interpretation Comparative Relative Strength compares a security's price change with that of a "base" security. When the Comparative Relative Strength indicator is moving up, it shows that the security is performing better than the base security. When the indicator is moving sideways, it shows that both securities are performing the same (i.e., rising and falling by the same percentages). When the indicator is moving down, it shows that the security is performing worse than the base security (i.e., not rising as fast or falling faster). Comparative Relative Strength is often used to compare a security's performance with a market index. It is also useful in developing spreads (i.e., buy the best performer and short the weaker issue). |
The RelStrength function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.