OPEN-SOURCE SCRIPT

RSI Overbought/Oversold [Overlay Highlighter]

已更新
Indicator to show when the RSI is in oversold(Below 30) or overbought (Above 70) conditions. The background color of the chart changes colors in the areas where the above conditions are met.

Price can often reverse in these areas. However, this depends on the strength of the trend and price may continue higher or lower in the direction of the overall trend.

Divergence has been added to aid the user in timing reversals. Divergences are plotted by circles above or below the candles. Divergence is confirmed so there is a delay of one candle before the signal is given on the previous candle. Again, everything depends on the strength of the trend so use proper risk management.

Once the RSI has entered into oversold/overbought conditions, it is recommended to wait for divergence before entering into the trade near areas of support or resistance. It is recommended to utilize this strategy on the H4 timeframe, however, this particular strategy works on all timeframes.

This indicator is a modified version of seoco's RSI Overbought/Oversold + Divergence Indicator. The user interface has been refined, is now overlayed on the chart, and my own divergence code has been inserted.

快照

快照

快照
版本注释
Refined table

  • adjusted table locations
  • adjusted color to change based on oversold/overbought conditions


Added lines

  • lines will be plotted where rsi divergence signals
  • alert condition for deviation of lines


Cleaned up UI
版本注释
  • added William's Fractals to allow user to see support/resistance once divergence is triggered
  • support/resistance dashed line will show at previous fractal; allows user see target to confirm divergence.
  • support broken = bearish div confirmed; resistance broken = bullish div confirmed
  • added rsi momentum in table
  • up triangle = bullish mom; down triangle = bearish mom
  • added alert functions; ensure you delete alert message when setting them
版本注释

  • Updated alert functions
overboughtoversoldrelativerelativestrengthrelative-strength-indexRelative Strength Index (RSI)rsi-divergence

开源脚本

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

想在图表上使用此脚本?

免责声明