TradingView
Skyte
16 paź 2021 09:49

Relative Strength (IBD Style) 

Palantir Technologies Inc.NYSE

Opis

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.

Informacje o Wersji

Fix typo and update chart.

Informacje o Wersji

Update chart.

Informacje o Wersji

Update chart.

Informacje o Wersji

Improve performance value display.

Informacje o Wersji

Streamline performance calculation.

Informacje o Wersji

Update chart.

Informacje o Wersji

Fixed a bug where the display would jump around during open market when you opened the reference ticker.

Informacje o Wersji

Update chart.

Informacje o Wersji

Fix chart flickering when viewing the reference.

Informacje o Wersji

Fix broken graph.

Informacje o Wersji

Fix broken graph. (Followup)

Informacje o Wersji

Go back to quarterly calculation instead of monthly.
Komentarze
Jelicattens
thank you so much! great work! now that its been around for a while, have you gotten a feel for "above what level" you think a stock would meet for instance Minervini-criteria? Generally speaking, so to say, because the numbers are not the same as IBDs
sguthivari
Excellent indicator!! Thanks, Skyte.
jits1234
Hi, Why are we not able to see the source code ? How do I view it ?
Skyte
@jits1234, the indicator is open source like any other open source one. If you can't see the source code please contact TradingView.
jits1234
@Skyte, Thanks Skyte, will do that.
victorrw
Thanks Skyte. Brilliant Script!
vishwarajfinance
Hi Skyte
Thank you for this amazing script. Just wanted to know, if you can allow other stock exchanges benchmark indices ( like say for me from India- CNX 500). Would love if you could make this slight modification.
Thanks again
Skyte
@vishwarajfinance, The reference ticker is already adjustable in the settings: i.imgur.com/PG6sHsN.png
caihuangq
hi how can i get this into stock screener
Jm808David
Am I doing something wrong? I just get a heart beat looking line.
Więcej