OPEN-SOURCE SCRIPT

RSI Reborn [New Formula]

Aggiornato
A unique non-standard RSI formula with my extensions.
The indicator is displayed without delays and repaints, immediately after the close of the candle.

This formula allows me to correctly include the moving average in the calculation. The calculation allows me to display RSI with any type of MA.
By default I use EMA, with this type of MA my RSI is not visually different from a regular RSI.

I have 11 types of RSI to choose from:
  • 'EMA'
  • 'ALMA'
  • 'RMF'
  • 'TilsonT3'
  • 'ARSI'
  • 'RMA'
  • 'SMA'
  • 'VWMA'
  • 'WMA'
  • 'WWMA'
  • 'ZEMA'

You also have a choice of RSI display:
As candlesticks and as a simple line.
You can adjust the colors in the Style tab.
When you select 'Candles' type, you can make the wicks transparent if they bother you.

I also added a source selection. By default, any RSI uses the Close source.
But you can choose any of 15:
VWAP, Close, Open, HL2, HLC3, OHLC4, Volume, High, Low, vwap(Close), vwap(Open), vwap(High), vwap(Low), AVG(vwap(H,L)), AVG(vwap(O,C)).

Additional extensions:
  • Additional RSI added.
    By default, the extra RSI is twice as long as the regular RSI. Despite the value of 14. The "Multiple of Current TF" function allows calling RSI from a timeframe twice as long as the current one, if it is equal to 2. If it is equal to 3, then it will be 3 times longer than the current timeframe. And so on.
  • An additional moving average has been added.
    You can use it as an ordinary additional line. Or leave it as Cloud by default.
  • A unique oversold/oversold formula in the form of small red/green dots has been added.
  • Bolinger Bands feature has also been added.
Note di rilascio
Big update.
Update to Pine Script v5.
Added function of normalization (changing the scale and height of the indicator).
Changed most of the code visually.
Removed RSI call function from HTF (not really needed in my opinion).
Note di rilascio
Indicator name changed.
Note di rilascio
I refactored all the code using my new knowledge, improving the quality of the code.
  • - The code became simpler and more readable.
  • - The settings are simpler and more responsive.
  • - Added tooltips to almost every setting to make your work easier.
  • - Fixed minor bugs related to the visual layout.
  • - Fixed the ability to change Source.
  • - Changed the normalization method for greater accuracy.
  • - Added more customization options to the Style option.
  • - Added alerts for VWAP and BB signals.
    *Remember that when you change the RSI settings, the BB signals change. since it takes the source from the RSI.
Note di rilascio
Small HotFix for the variable name :)
formulamovingmoving_averageMoving AveragesNEWOscillatorsRelative Strength Index (RSI)

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità