INVITE-ONLY SCRIPT

RSI Ribbon

The Relative Strength Index (RSI) is a popular indicator used to assess the momentum of an asset. It measures the speed and magnitude of price changes to determine whether an asset is overbought or oversold.

Description
— The RSI Ribbon script is based on the traditional RSI indicator and can be used to assess the momentum of any asset.
— Traditional RSI is very prone to noises due to smaller price spikes. Additionally, the traditional RSI line has a constant width and does not provide any visual edge. This is where this script comes into the picture.
— The sole purpose of this script is to smoothen the data various times in order to reduce the noise in the source data as well as other calculated data and then plot RSI as a ribbon.
— The Ribbon RSI is presented using a colour-filled ribbon representation, which provides better visualization of the RSI. This feature makes it easier to assess the real signal, even with a good amount of noise left in the data.
— The width of the ribbon is indicative of the strength of the momentum. This means that the width of the trend is directly proportional to the strength of the momentum. Stronger the momentum, the more the width of the ribbon (and vice-versa).

Calculations
— The underlying source data for all the different RSI periods is smoothened using EMA or SMA.
— The smoothening method for the source data can either be EMA or SMA, depending on the trading style of the user.
— An EMA smoothening for the source data provides faster signals with more noise whereas the SMA smoothening will provide slower signals with less noise.
— This smoothened data is then used for the calculation of different RSIs.
— The derived RSI values are again smoothened using the EMA or SMA.
— The zone between RSI 45-55 is colour filled by default and acts as an important reference for the trend.
— A volume-weighted moving average and an additional EMA (which can also be smoothened) are used to determine the trend based on specific ratio value.
— Once we combine and plot all the RSI of different periods, along with trend conditions, we are able to plot a coloured ribbon which is less prone to noise and more visually appealing as compared to the traditional line plot.

Settings
— The RSI periods can be adjusted as per the preference of the user. The default values are set to 9, 14, and 20.
— By default, the source data smoothening length is set to 3 and the smoothening method is set to EMA. These values can be changed as per the preference of the user.
— The default smoothening length for RSI is set to 2 and the smoothening method is set to EMA.
— The value of the RSI-based EMA is set to 50.
— Users can toggle on/off the RSI lines, EMA, and all the levels as well as all the smoothening options based on their preference.
— The script also allows users to customize all values and colours to match their preferences.

How to use the script?
— This indicator can be used just like the traditional RSI indicator.
— It can also be used to spot divergences.
— The width of the RSI Ribbon is a great tool to assess the strength of the momentum.
— If the momentum is strong, the ribbon width will be more.
— If the momentum is weak, the ribbon width will be less.
— The increasing or decreasing widths of the ribbon can also be used to assess how the momentum is shifting with the trend.

Examples

syot kilat

syot kilat

syot kilat

syot kilat

syot kilat

syot kilat

Special Thanks
I would like to extend my special thanks to all the experts whose lectures and blogs I have studied to gain a limited yet significant knowledge of the Pine language.

Best regards,
Rajat Kumar Singh (johntradingwick)
Community Manager (India), TradingView.
OscillatorsRelative Strength Index (RSI)

Skrip jemputan sahaja

Akses ke skrip ini adalah terhad kepada pengguna yang diberikan akses oleh penulis dan kebiasaannya memerlukan pembayaran. Anda boleh menambahkannya kepada senarai kegemaran anda, tetapi anda hanya dapat menggunakannya setelah meminta izin dan mendapatkannya dari penulis. Sila hubungi johntradingwick untuk lebih maklumat atau rujuk arahan penulis seperti di bawah.

TradingView tidak mencadangkan anda membayar untuk skrip dan menggunakannya kecuali anda mempercayai penulisnya 100% dan memahami bagaimana skrip itu berfungsi. Juga, anda boleh mencari alternatif sumber terbuka yang bagus secara percuma dalam Skrip Komuniti kami.

Arahan penulis

Ingin menggunakan skrip ini pada carta?

Amaran: sila baca sebelum memohon akses.

Rajat Kumar Singh,
B.Tech (Delhi Technological University)
Global Community Manager, TradingView

✅ Blog: tradingwick.in/
✅ Amorella: amorella.in/
Juga pada:

Penafian