OPEN-SOURCE SCRIPT
업데이트됨

Relative Strength (IBD Style)

This script is meant to give you a Relative Strength indication of the stock. The goal is to use a similar calculation as used by IBD.
It calculates the performance of the current stock for the last year (most recent quarter is weighted double) and compares it to the performance of a reference index or ticker (default is "SPY").

IBD would give you a value between 0 and 100 because this value is the percentile within all stocks. This is not possible with Pine Script at the moment.
So here you get a Relative Strength value that is >0 if the stock is stronger than the index and <0 if it is weaker than the index.

You can still compare the Relative Strength values between stocks (bigger is better) but you won't know which percentile it is right off the bat.
릴리즈 노트
Fix typo and update chart.
릴리즈 노트
Update chart.
릴리즈 노트
Update chart.
릴리즈 노트
Improve performance value display.
릴리즈 노트
Streamline performance calculation.
릴리즈 노트
Update chart.
릴리즈 노트
Fixed a bug where the display would jump around during open market when you opened the reference ticker.
릴리즈 노트
Update chart.
릴리즈 노트
Fix chart flickering when viewing the reference.
릴리즈 노트
Fix broken graph.
릴리즈 노트
Fix broken graph. (Followup)
릴리즈 노트
Go back to quarterly calculation instead of monthly.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.