Skyte

Relative Strength (IBD Style)

Skyte Atualizado   
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.
Notas de Lançamento:
Fix typo and update chart.
Notas de Lançamento:
Update chart.
Notas de Lançamento:
Update chart.
Notas de Lançamento:
Improve performance value display.
Notas de Lançamento:
Streamline performance calculation.
Notas de Lançamento:
Update chart.
Notas de Lançamento:
Fixed a bug where the display would jump around during open market when you opened the reference ticker.
Notas de Lançamento:
Update chart.
Notas de Lançamento:
Fix chart flickering when viewing the reference.
Notas de Lançamento:
Fix broken graph.
Notas de Lançamento:
Fix broken graph. (Followup)
Notas de Lançamento:
Go back to quarterly calculation instead of monthly.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?