RelStrength Function

I read the description for this function and understand that it is comparing the current symbol to the specified symbol, but I don't see a description of exactly what is being compared. Is it price to price, ROC to ROC (seems like it would need period parameter for this), or something else? Just need a brief description of what is being compared.

Thanks

Added link to function https://www.amibroker.com/guide/afl/relstrength.html

The Price of two securities, more precisely it is the ratio of the current security to the base or specified
security.
Some platforms just plot the ratio, in AB it seems to be

Price_of_A / Price_of_B * 1000
I think the 1k is for not loosing accuracy due to formatting of generally 2-3 decimal places.

1 Like