Skyte

Relative Strength (IBD Style)

Skyte Mis à jour   
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.
Notes de version:
Fix typo and update chart.
Notes de version:
Update chart.
Notes de version:
Update chart.
Notes de version:
Improve performance value display.
Notes de version:
Streamline performance calculation.
Notes de version:
Update chart.
Notes de version:
Fixed a bug where the display would jump around during open market when you opened the reference ticker.
Notes de version:
Update chart.
Notes de version:
Fix chart flickering when viewing the reference.
Notes de version:
Fix broken graph.
Notes de version:
Fix broken graph. (Followup)
Notes de version:
Go back to quarterly calculation instead of monthly.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?