OPEN-SOURCE SCRIPT

Relative Strength

Por Capeya
Atualizado
Relative Strength show the quotient (ratio) between a numerator (Your Security) and a common denominator (SPX, BTC, ...).
I inspired myself from already established indicators. But I've made my own because I had some issues with others.

Sometimes the moving average weren't fixed but where floating through the window.
Sometimes the colors (Up, Down) were inaccurate because the compiler didn't notice infinitesimal changes (0.0001 > 0.0002)

Thanks.

(The Relative Strength indicator is at the top of the chart.)
Notas de Lançamento
Added colors on SMA: If RS > SMA then green, else Red.
Fixed some other stuffs: Symbol template for ticker input...
Notas de Lançamento
The moving average is colored based on its own slope.
Can be displayed or not.
Notas de Lançamento
Added color customization,
Added color for Relative Strength All Time High.
Notas de Lançamento
Possible to color based on X previous highs instead of all time high only.
If the lookback value is set to 0 then it looks for ATH;
Else it will look for the input, previous highs.

Modified for Tronsom
Notas de Lançamento
NA
Oscillators

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal