OPEN-SOURCE SCRIPT

Relative Strength

Oleh Capeya
Telah dikemas kini
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.)
Nota Keluaran
Added colors on SMA: If RS > SMA then green, else Red.
Fixed some other stuffs: Symbol template for ticker input...
Nota Keluaran
The moving average is colored based on its own slope.
Can be displayed or not.
Nota Keluaran
Added color customization,
Added color for Relative Strength All Time High.
Nota Keluaran
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
Nota Keluaran
NA
Oscillators

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian