OPEN-SOURCE SCRIPT

Guppy of SMA of RSI

86
In this script:

The rsiLengths input allows you to input a comma-separated list of RSI lengths for which you want to calculate the SMAs. For example, "30,60,90" will calculate SMAs for RSI with variable lengths .

The smaLength input determines the length of the EMA that will be applied to the RSI values.

The rsiValues variable calculates the RSI values for the selected lengths using the daily timeframe data.

The script then iterates through each RSI length, calculates the SMA of the RSI, and plots the EMA values on the chart with the specified color.

This script will help you visualize and analyze the SMAs of the RSI for different lengths on the price chart. You can customize the RSI lengths and EMA length according to your preferences.

Exención de responsabilidad

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.