Smoothed %B
Author: SlickChick
Creation Date: 5/2/2018 4:08 PM
profile picture

SlickChick

#1
Looking for help in creating a double-smoothed %b, the derivative indicator taken from Bollinger bands..
A %b of the %b indicator.... pctbpctb(20,20,2);

Thanks in advance
profile picture

Eugene

#2
Applying a MA on %b is trivial but %b per se is not an automatic smoother of another DataSeries like %b. It's not a moving average. Here's an example from %B thread:

CODE:
Please log in to see this code.


Another example is Bollinger Band System 1 (Altucher):

CODE:
Please log in to see this code.


So how exactly do you define your own formula that does %b of %b? I cannot find any reference on the web.
profile picture

SlickChick

#3
A moving average of the the %b calculation is taken.
Bollinger Bands are place around the %b calculation and a %b is derived from those values.

Specifically what I'm trying to do is to take the system that you coded back in 2009 and make it more responsive with this adaptation of the %b indicator.


CODE:
Please log in to see this code.
profile picture

Eugene

#4
QUOTE:
A moving average of the the %b calculation is taken.

A moving average of %b (or any other indicator for that purpose) consists of passing the indicator's DataSeries to the MA. It's nothing different from applying SMA to Close as you can find in the online guide.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).