Skyte

Relative Strength (IBD Style)

Skyte Güncellendi   
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.
Sürüm Notları:
Fix typo and update chart.
Sürüm Notları:
Update chart.
Sürüm Notları:
Update chart.
Sürüm Notları:
Improve performance value display.
Sürüm Notları:
Streamline performance calculation.
Sürüm Notları:
Update chart.
Sürüm Notları:
Fixed a bug where the display would jump around during open market when you opened the reference ticker.
Sürüm Notları:
Update chart.
Sürüm Notları:
Fix chart flickering when viewing the reference.
Sürüm Notları:
Fix broken graph.
Sürüm Notları:
Fix broken graph. (Followup)
Sürüm Notları:
Go back to quarterly calculation instead of monthly.
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?