OPEN-SOURCE SCRIPT

Volume-Weighted RSI [wbburgin]

Atualizado
The Volume-Weighted RSI takes a new approach to the traditional calculation of the RSI in using a price::volume calculation. As some traders consider volume to be a leading indicator for price, the volume-weighted RSI can come in handy if you want to visualize volume easier.

Usage
This indicator builds the RSI from the square of the volume change and the price. If the volume decreases rapidly with the price, the volume-weighted RSI will fall; if the volume increases rapidly with the price, the volume-weighted RSI will rise.

You may notice crosses and circles appearing above and below the indicator. These indicate abnormal volume or price:

  • A green cross indicates abnormal upward price
  • A red cross indicates abnormal downward price
  • A green circle indicates abnormal positive volume
  • A red circle indicates abnormal negative volume


A green bar indicates both abnormal price and volume (positive), while a red bar indicates both abnormal price and volume (negative).

The thresholds of what are considered "normal" and "abnormal" are controlled by the "SD Multiple" in your settings (standard deviation). A higher multiple will make less of these signals occur, and you can turn them and the bars off at any time.

I have a built-in Light Style and Dark Style so that your preference of background won't affect seeing the indicator. You can also change the colors and the overbought/oversold lines in your settings.
Notas de Lançamento
Added 'plot volume-weighted RSI' option to the settings to turn the RSI on/off (use this instead of going into 'style').
Notas de Lançamento
Previous code included an unnecessary argument which would cause a bug under specific circumstances.
Notas de Lançamento
Added alerts for abnormal volume, abnormal price, and RSI crossovers
Relative Strength Index (RSI)rsi_divergenceVOLUMEBREAKOUTVolumevolumeweighted

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


FAQ: I am gradually phasing out my Patreon because of the time it takes to maintain.

BTC: 35PdMMMXFCvPjXKwn8wsRFNwMEPgStaKUJ

Test my strategies on CryptoRobotics: cryptorobotics.co/?trade=f23b09

Aviso legal