HALDRO

RSI Reborn [New Formula]

HALDRO 已更新   
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.
版本注释:
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).
版本注释:
Indicator name changed.
版本注释:
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.
版本注释:
Small HotFix for the variable name :)
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

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

想在图表上使用此脚本?