OPEN-SOURCE SCRIPT

RSI Levels, Multi-Timeframe

Mis à jour
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
Notes de version
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.
Notes de version
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
Notes de version
Code cleanup: removing unnecessary lines, reducing variables. Removed 'appx' labels for lower timeframes because they are so accurate now.
Notes de version
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).
Notes de version
Upgrade to Pine v6
Fixes a bug that causes the labels to appear inconsistently on different timeframes. Now they will all appear at the same spot on the right-side of price.
Notes de version
Fixed a bug that caused labels to appear on the zero line when unchecked.
Notes de version
Fixed another edge case for labels to appear at the zero line.
multi-timeframerelative-strength-indexRelative Strength Index (RSI)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


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

Clause de non-responsabilité