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

快照

快照

快照

快照

快照

快照

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)

僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請聯繫johntradingwick以了解更多信息,或按照下面作者的說明進行操作。

TradingView 不建議購買並使用此腳本,除非您 100% 信任其作者並了解腳本的工作原理。在許多情況下,您可以在我們的社群腳本中免費找到良好的開源替代方案。

作者的說明

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。

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

✅ Telegram: t.me/johntradingwick
✅ Blog: tradingwick.in/
✅ Amorella: amorella.in/
更多:

免責聲明