wbburgin

Volume-Weighted RSI [wbburgin]

wbburgin Uppdaterad   
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.
Versionsinformation:
Added 'plot volume-weighted RSI' option to the settings to turn the RSI on/off (use this instead of going into 'style').
Versionsinformation:
Previous code included an unnecessary argument which would cause a bug under specific circumstances.
Versionsinformation:
Added alerts for abnormal volume, abnormal price, and RSI crossovers

PM me to test any of my strategies free for 7 days.

Invite-only indicators: www.patreon.com/wbburgin/membership
Test my strategies on CryptoRobotics: cryptorobotics.co/?trade=f23b09
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?