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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?