OPEN-SOURCE SCRIPT

RSI Levels, Multi-Timeframe

已更新
The relative strength index (RSI) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions. RSI is normally displayed as an oscillator separately from price and can have a reading from 0 to 100. This indicator takes the RSI and plots the 30 & 70 levels onto the price chart so you can see when price is going to meet the 30 or 70 levels. The reason the 30 & 70 levels are important is because many traders (and bots) use those as signals to buy (at 30 RSI) or sell (at 70 RSI). Additionally, this indicator allows you to display not just the RSI levels of your currently viewed timeframe on the chart, but also shows the RSI levels of up to 6 different timeframes on the same chart. This allows you to quickly see if multiple RSI levels are aligning across different timelines, which is an even stronger indication that price is going to change direction when it meets those levels on the chart. There are a lot of nice configuration options, like:

  • Style customization (color, thickness, size)
  • Labels on the chart so you can tell which plots are the RSI levels
  • Optionally display the plot as a horizontal line if all you care about is the RSI level right now
  • Toggle overbought (RSI 70) or oversold (RSI 30) on/off completely
版本注释
TradingView doesn't calculate lower timeframe values correctly when you are on a higher timeframe, which resulted in a bug where RSI lines on lower timeframes could be inaccurate. This release fixes that issue by simply removing the lower timeframe plots when you are on higher timeframes.
版本注释
Major overhaul of the indicator with the following changes & improvements:

  • Correctly shows RSI price levels on lower timeframes when browsing higher timeframes.
  • Performance improvements
  • Addition of "percent from price" to labels
  • Removal of redundant horizontal lines
版本注释
Code cleanup: removing unnecessary lines, reducing variables. Removed 'appx' labels for lower timeframes because they are so accurate now.
版本注释
Added a new option (on by default, which is a change over prior versions) to wait for higher timeframe candle closes before determining the RSI level for higher timeframes. This change will result in higher timeframe price levels being more consistent (less extreme fluctuations) and will make the chart a bit more readable. It will also result in plots "jumping" when those candles close, which may be undesirable (which is why this is an option).
multi-timeframerelative-strength-indexRelative Strength Index (RSI)

开源脚本

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

想在图表上使用此脚本?


I release TradingView indicators and libraries designed to make you a better trader. For detailed info about them, head over to improve.trading
更多:

免责声明