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, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?