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~