ProfitProgrammers

OBV Stochastics

This indicator uses both a standard Stochastic Oscillator based on security prices and stochastically oscillated OBV values.

Explanation:
Stochastics measure momentum by comparing the current closing price to its lowest and highest price over a user-defined window of n periods. Without going too in depth, traders can view the K value as the current value for the stochastic indicator and the D value as a Simple Moving Average of K values. Users can adjust the length of that Simple Moving Average through modifying the smooth D parameter in the input option menu.

Traders can also define the upper and lower bounds for both sets of K and D values. These are plotted on the graph as the horizontal red (upper) line and horizontal green (lower) line. Generally, the upper line is viewed as the threshold at which a security can be considered overBought. Conversely, the lower green line is the threshold at which they can be viewed as overSold.

OBV, or On-Balance Volume, is a versatile momentum indicator that we discussed in our OBV Z-Scores open-source script. That is a good place to look if you're looking to gain a better understanding of the OBV indicator. By applying the stochastic formula to the OBV, it allows us to gain a better understanding of the current OBV value relative to its historical data and display the OBV in a {0.100} bounded range of values.

Plotting the standard price-based Stoch. K and D in combination with the Stoch. OBV K and D can help identify divergences and track the progression and direction of trends. For example, you can see that when the two move in opposite directions or when one significantly outpaces the other, it often hints towards an impending reversal.

The Graph:
As mentioned the upper and lower overbought and oversold thresholds can be adjusted by the trader and are plotted on the graph in red and green.

The green oscillating line represents the Stoch. K of OBV values, while the red line symbolizes the OBV D values.

The teal line is the standard Stoch. K and the orange line is the standard Stoch. D.

Users have two options for background highlights. The first option is to use green highlights to show entry signals and red highlights to show exit signals. These signals are based on the criteria we have set for identifying optimal entry and exit points. This is shown in the second pane.

The second option is to plot red highlights whenever Stoch. OBV K crosses the upper bound and green highlights whenever it crosses the lower bound. This is shown in the bottom pane. NOTE: Choosing this option means that signals will not be displayed in sequential entry-exit order (instead this is a good option if traders only want to identify when the security is overbought or oversold).

Input Options:
Traders can adjust the respective smooth K and smooth D values for both the standard stoch. and OBV stoch. Additionally, the lookback window length can be adjusted as well as the upper and lower bounds(in addition to the display options shown above).

Alerts:
Indicator sends alerts when entry and exit conditions are met, as well as alerts to inform traders when overbought/oversold conditions are met. Alerts can be tailored for GunBot / other automated trading platforms upon request.

~Happy Trading~


-Profit Programmers
www.profitprogrammer.com
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与ProfitProgrammers联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。