wbburgin

RSI Trend Transform [wbburgin]

wbburgin تم تحديثه   
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.
ملاحظات الأخبار:
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.
ملاحظات الأخبار:
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
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟