TradingView
alexgrover
7. Sept. 2020 14:36

Patreon Bull Bear Oscillator 

Advanced Micro Devices, Inc.NASDAQ

Beschreibung

The Patreon bull-bear oscillator (PBBO) was carefully designed to give as much information as possible to the user without sacrificing readability. With it, you can detect the direction of trends, detect whether the market is ranging or trending, tell if a given signal is false, and easily spot divergences, in fact, the PBBO is the only indicator of the trend trading tier that was designed to spot potential reversals.

The indicator comes with alerts.

Settings

  • Length: Control the sensitivity to price variations, with a higher value aiming to detect longer-term trends.
  • Control Line Divisor: Divisor of the control line
  • Src: Source input of the indicator
  • Pre-Smoothing: If true, smooth "Src" before calculating the PBBO
  • Smooth: Period of the moving average used for pre-smoothing
  • Pre-Smoothing Method: Determine the type of moving average to be used during the pre-smoothing step. Available options are: EMA, TMA (triangular moving average), HULL, LSMA (least squares moving average)
  • Filter Alerts Based On The Control Line: Add an additional condition for the alerts.


Detecting The Direction Of A Trend

The indicator display three lines, one bull line (in blue), one bear line (in red), and a control line (in green). A bullish market is detected when the bull line is over the bear line, while a bearish market is detected when the bear line is over the bull line.



When one of the lines is declining, it means that the current trend is weakening, showing the potential for a retracement or reversal.

Filter Out False Signals With The Control Line

The PBBO is still subject to all the price variations you will see on your chart, and as such can return false signals, it is important to tell if a bullish/bearish market is significant before making a move, and this is what the control line aims to do.



The control line divisor can provide a way to control the position of the control line, with lower values of the divisor requiring even more significant moves in order to trigger a signal. A value of 2 for the control line divisor is recommended in order to filter out false signals.

Detecting Whether Market Is Trending Or Ranging

Telling when the market is trending is primordial in trend trading, and many indicators that aim to return this information have been proposed. The PBBO is also able to give such information. First, you can look at the bull and bear lines, if both are equal to 0, it means the market is ranging.



You can also use the control line to tell whether the market is trending or not, with a bull/bear line above the control line telling the market is trending.

Spotting Divergences With The PBBO

Spotting divergences is a simple way to detect potential reversals, and it was important for me to start working on an indicator able to detect them while trying to make everything super simple for the user.

With the PBBO you don't need to look at both the price and oscillator lines in order to detect divergences, you can simply look at the peaks made by the bull or bear line, if a peak is lower than a previous one, then a reversal might occur.



Above, we can see that the bull line made several peaks during the up-trend, with the last peak being lower than the previous one, we thus detect a bearish divergence and could expect a reversal. If the same case scenario occur but with peaks made by the bearish line then we detected a bullish divergence.



It can be difficult to tell whether a divergence is significant or not, it can also be hard for beginners to tell which peaks they must look at. A good rule of thumb would be to check if both peaks are coming from two different movements, this is done by seeing if the first peak has reached 0 before the second one occurred.



The control line is also useful to tell when peaks are significant or not, with peaks that are higher than the control line being more significant.

Alerts

By default, a buy alert is given once the bull line is greater than the bear line, and vice versa for a sell alert, the setting "Filter Alerts Based On The Control Line" allows you to only have an alert when the bull/bear line is greater than the control line.

Gaining Access To The Indicator

Only my Patrons can get access to this indicator, you can go to my Patreon page by clicking on the link in my signature. Note that you will also have access to the Patreon trailing stop and Patreon moving average.

Versionshinweise

Fixed some alerts issues

Versionshinweise

- Added all in one alerts for buy/sell signals
- Added upper control line for tops/bottoms
- Added binary series
- Corrected alerts related bugs

Versionshinweise

Added automatic divergence detection

Versionshinweise

Fixed display problems.
Kommentare
ScroogeMcBit
Dear @alexgrover , first, great job, its seem a really well coded script.

How can i get access to it?

Regards,
Luis
alexgrover
@byebnk, Thanks for your comment :) You can access the indicator by becoming a Patreon, link is in my signature.
alausic
@alexgrover, hi I can't find link. Can you post it again?
alexgrover
@alausic, did you join the patreon?
alausic
@alexgrover, no. I don't know how. I can't find the link.
alausic
@alexgrover, never mind I found your Patreon site.
dsaidasi
Can't wait to try this out :)
rajanverma
please give access.
ecletv
After some months using it, I must say it has become my main oscillator. It has many uses:

- Best exit indicator. In the sense No Nonsense Forex would use it, it's great and it's something hard to find.

- Not as good as leading entry indicator... unless we us it as a contrarian indicator.
- Supports spotting tops and bottoms, when movements reach the orange line, similar to other percentile/rank indicators.
- Obviously good for detecting divergences, and lagging trend strength indicator (similar to a TDFI.... but cleaner).
- Works well using it in different timeframes. I. e. with 8 periods gives you an information and using it medium or long term gives a different one (more about long term tops and bottoms).

I hope it gives you inspiration.
Thanks to the author!
alexgrover
@ecletv, Thank you a lot for your feedback and for sharing it! Feel free to share what can be improved if needed :)
Mehr