OBV StochasticsThis 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~
Obvoscillator
OBV Z-ScoresThis study calculates the On-Balance Volume (OBV) and displays it in terms of its Z-Score.
OBV is a great momentum indicator . As the name suggests, OBV predicts changes in price based on the security's volume flow.
Formula:
if (Current Price > Previous Price)
then Current OBV = Previous OBV + Current Volume
if (Current Price < Previous Price)
then Current OBV = Previous OBV - Current Volume
if (Current Price == Previous Price)
then Current OBV = Previous OBV
As the formula shows, the OBV goes a step beyond just looking at the pure volume of a security. Instead, it factors in relative price action from period to period to reflect investor sentiment. As a result, we often look to the OBV to spot bullish or bearish trends while they are in the early stages of development or simply predict impending uptrends or downtrends.
To make the OBV easier to visualize, we converted the value to a Z-Score. The Z-Score is a simple statistical measurement and represents the current OBV value's distance from the mean OBV value in terms of # of standard deviations.
Users can adjust the values for the 2 upper bounds for Z Scores and 2 lower bounds. Additionally, the n value for z score calculation can be adjusted in the input menu. A higher n value means the z score will be based on a longer lookback period. A lower value will result in more sensitive readings.
Overall, I think this is an interesting way to represent OBV values and will be a valuable leading indicator.
~Happy Trading~
On Balance Volume Oscillator + Bollinger Bands [SigmaDraconis]On Balance Volume (OBV) Oscillator with Bollinger Bands (BB).
Inspired by @LazyBear OBV Oscillator (link below)
Added BB to the oscillator and colored the OBV line yellow when it's outside the bands' limits, useful for finding over-extended zones where price reversals have higher probability of happening.
BB bands can be deactivated and the oscillator can be used as originally built by LazyBear if the BB bands are disabled and the OBV area activated.
Finding divergences helps increasing price behavior predictability too.
BB area is colored green when OBV is above the 20-period moving average and colored red when below it. This can be deactivated on the options to use regular BB colors or no BB at all.
If you like it and use it to profit, please tip me below :)
Tip jars:
BTC: 15nMBiEGVrdGcu9C1h6QRcTNRvugHkqrMQ
ETH: 0xC33845946c48B61fBCbEA0367ec2238CaF2b73bc
BTS: sigma-draconis
OBV Oscillator from LazyBear -