Comparative Relative Strength - HongQuanTraderThis script is designed to enhance your trading strategy by comparing the current symbol with another comparative symbol. The goal is to trade a symbol only when its Relative Strength (RS) value surpasses the long moving average of the RS value, ensuring more informed and strategic trading decisions.
Default Mode
In the default mode, the RS value is calculated by simply dividing the base symbol by the comparative symbol:
RS_SIMPLE = baseSymbol / comparativeSymbol
Period Mode
When you enable the “use period” option, the script uses the RS_PERIOD equation. This mode is particularly useful for comparing multiple symbols against the same comparative symbol, with the output normalized around 1.0 for easier comparison:
RS_PERIOD = baseSymbol / baseSymbol / (comparativeSymbol / comparativeSymbol )
By leveraging these calculations, you can gain deeper insights into the relative performance of different symbols, allowing you to make more precise and confident trading decisions. Whether you’re comparing stocks, currencies, or any other assets, this script provides a robust framework for enhancing your trading strategy.
Comparativestrength
Comparative Strength [FT]This indicator calculates the comparative strength between 2 variables by subtracting them instead of division/ratio.
Example:
A is stronger than B, then if A-B, it would be positive because value A is bigger than B.
A is weaker than B, then when A-B, this would be negative because A is lower than B.
What it does:
It takes the difference of averages of variable A (ie: stock), and the same for variable B (ie: index), and then the result of those is substracted to get a value.
Why is this indicator useful ?
To visualise comparative values between 2 related variables. IE: stock-index, stock-commodities, forex-interest rates, forex-bond, forex-inflation.
DISCLAIMER: Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security, investment, currencies or assets.