Skyte

Relative Strength (IBD Style)

Skyte 已更新   
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精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?