OPEN-SOURCE SCRIPT

Comparative Relative Strength - HongQuanTrader

quanhua92의
업데이트됨
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.
릴리즈 노트
fix: Do not plot the horizontal line if not using RS_PERIOD method
릴리즈 노트
refactor: remove unnecessary code
릴리즈 노트
feat: add track line of RS line
릴리즈 노트
chore: add title for long and short moving average lines
릴리즈 노트
chore: add title for line 1.0 in RS Period mode
릴리즈 노트
Update to fix chart rules
Candlestick analysischartanalysiscomparativecomparativestrengthRelative Strength Comparison

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항