khosscrypto

[Hoss] OBV RSI

The OBV ( On Balance Volume ) RSI ( Relative Strength Index ) indicator is an innovative tool that combines the power of OBV and RSI to provide traders with a comprehensive view of the market's momentum and volume dynamics. This combination enables users to make better-informed trading decisions by analyzing the relationship between price, volume , and relative strength .

The script starts by calculating the On Balance Volume , which is a cumulative volume-based indicator that measures buying and selling pressure. The OBV increases when the closing price is higher than the previous closing price and decreases when the closing price is lower than the previous closing price. This helps traders identify potential price trend reversals based on volume accumulation or distribution.

Next, the script computes the Relative Strength Index ( RSI ) based on the OBV values, offering a unique perspective on the market's momentum through the lens of volume . The RSI is a popular momentum indicator that ranges from 0 to 100 and helps traders identify overbought and oversold conditions. In this script, the user can define the RSI length and the higher and lower levels (default values are 70 and 30, respectively).

A distinctive feature of this OBV RSI indicator is the addition of a monitor that counts the number of times the RSI crosses above the higher level and below the lower level within a user-defined lookback period. This monitor is displayed as a table in the bottom right corner of the chart and can be enabled or disabled through an input option.

The cross count monitor provides valuable insights into the historical frequency of RSI crossings, helping traders to identify potential trading opportunities based on historical price behavior around these levels.

macro maximalist
Script open-source

Dans le véritable esprit de 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 le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?