johntradingwick

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







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.

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

✅ Telegram: t.me/johntradingwick
✅ Blog: tradingwick.in/
✅ Rounding Top pattern: tradingwick.in/chart-patterns/rounding-top
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与johntradingwick联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

Free Trial Access: forms.gle/j14scR8EQE41rx636 Contact: t.me/johntradingwick/3182

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。