wbburgin

RSI Trend Transform [wbburgin]

wbburgin Atualizado   
The RSI Trend Transform indicator is a dual-concept indicator that transforms volume data and price data into two different RSI values, which can then be used together to determine trend strength and momentum. The volume RSI does not use any price data in its calculation - it is purely a transform from nondirectional volume into a directional indicator.

The RSI for all three RSI values (price, volume,combined average) can be plotted as either stochastic or normal. The RSI calculation is adapted for use on volume, which is why the normal ta.rsi() function is not used for the price RSI calculation; both use the same formula for indicator consistency.

How to Use the Indicator
In the examples below, the Price RSI is plotted in yellow and the Volume RSI is plotted in red (length = 200, which is why the indicator is large in these examples). The indicator can be used on any timeframe and any asset, provided volume data is provided by the vendor to TradingView.

Identifying Bullish Trends
A rising volume RSI with a rising price RSI signifies a bullish trend. Example 1:

Example 2:

You can use the combined RSI (the average of the volume RSI and the price RSI) to help with the identification of these trends:
Identifying Bearish Trends
A falling volume RSI with a falling price RSI signifies a bearish trend:

Example 2:

Settings
Source is the source of the price RSI, the volume RSI will by default use volume in its calculations. If you have other indicators on-chart, you could even use the ATR, a volatility indicator, or any nondirectional or directional indicator and transform it into the "price" RSI.

Length is both the length of the RSI and the stochastic.

The next three rows are for each RSI you can plot on the indicator: price RSI, volume RSI, and combined RSI (average of price and volume). The first checkbox plots/removes them from the chart, you can subsequently choose the type of RSI (regular or stochastic), the color of the plot, and the length of the EMA smoothing applied afterward to the plot.

Upper Band and Lower Band refer to the overbought and oversold lines, respectively.

A note about the combined RSI- you will be unable to spot divergences if the combined RSI is the only plot on the indicator, so I encourage you to use the combined RSI as a way to confirm the overall trend if you notice the price RSI and the volume RSI and trending similarly.
Notas de Lançamento:
Because combined was originally the square of price * volume, use in the stochastic meant that the value would fluctuate when one of the two sources was at 0. This was unideal so I changed it to the average, which will have a similar effect.
Notas de Lançamento:
The source was not directly inputted into the function, now the source is changeable as intended.

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
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?