OPEN-SOURCE SCRIPT

Comparative Relative Strength - HongQuanTrader

Actualizado
This 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:



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:



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.
Notas de prensa
fix: Do not plot the horizontal line if not using RS_PERIOD method
Notas de prensa
refactor: remove unnecessary code
Notas de prensa
feat: add track line of RS line
Notas de prensa
chore: add title for long and short moving average lines
Notas de prensa
chore: add title for line 1.0 in RS Period mode
Notas de prensa
Update to fix chart rules
Candlestick analysischartanalysiscomparativecomparativestrengthRelative Strength Comparison

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad