OPEN-SOURCE SCRIPT

RSI Reborn [New Formula]

Güncellendi
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.
Sürüm Notları
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).
Sürüm Notları
Indicator name changed.
Sürüm Notları
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.
Sürüm Notları
Small HotFix for the variable name :)
formulamovingmoving_averageMoving AveragesNEWOscillatorsRelative Strength Index (RSI)

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname