This bband has 2 stddev value so that it can color the outer band and it highlights the band if price touch the band and it also do the alert if touch.
Cleaned up the region color logic per request of the original author.
Added logic to improve performance when COBC=False.
Exported using NinjaTrader version 7.0.1000.21
Revision History:
1/10/2014 - First revision of original indicator as described above.
11/18/2014 - Second revision: fixes two code bugs in the parameter list (Zone Color and Opacity) settings can now be changed and saved. Also, optimized the instantiation code for two math function calls (SMA and StdDev).
This is a simple Bollinger Band Squeeze. The Bollinger Band Squeeze compares directional volatility as measured by the standard deviation to non-directional volatility as measured by the average range.
The squeeze is a situation, where Bollinger Bands are inside a Keltner Channel. This indicator does not plot the Bollinger Bands and the Keltner Channels, but plots the distance of the Bollinger Band from the Keltner Channel and displays it as a histogram.
When the histogram has a positive value: This means that the Bollinger Bands are outside the Keltner Channel. Directional volatility is high or normal.
When the histogram has a negative value: This shows low directional volatility, which is called "the squeeze". For better visibility, the squeeze is reinforced with dots. When activated, sound alerts will inform you that the squeeze is on.
A squeeze is a good opportunity to enter a position, as it reflects a temporary period of balancing or indecision. To determine the direction of the expected breakout from the squeeze, other indicators should be used. In his book "Mastering the Trade", John F. Carter suggests a momentum indicator do determine the direction of the trade, but I do not think that this is sufficient to create a profitable system. You will need further indicators.
If you enter a trade during a squeeze, this usually leads to a good reward-to-risk ratio, as you will typically be able to use narrower stops during low volatility periods.
when the line is low indicates a sqeeze on the bollinger according to recent band history.
its a nice visual if that's part of your trading system.
in the pic, the bollinger indicator is the bband2 fwiw.
btw can anyone fix the bband2 so that the shaded area between the 2 standard deveation lines will stay the color that you choose even after refreshing the page? that would be really nice.
The BB's are based on a 20 SMA and 3x multiples thereof: 20 (green), 60 (blue), 180 (red), 540 (White or Black). They create natural SR levels since they are based on the statistical distance from the SMA.
A BB Cluster is when two or more outer BBs are synchronous... the more the stronger; the higher the TF, the stronger; the longer the chart TF, the stronger.
Good for seeing trend (or not); good for seeing possible SR (support/resistance); good for deciding when to exit (hint... HVS - high volume spike - on a 30 sec chart and price goes outside the bands on whatever TF you are watching... drop all but one and wait for the PB).
The Bollinger Bandwidth study is a technical indicator based upon Bollinger BandsŪ study, expressing the distance between upper and lower bands as percentage of the middle band value (SMA/EMA around which the bands are plotted). The main plot is accompanied with two additional ones: Bulge and Squeeze. Bulge plot displays the highest bandwidth value reached on the specified period, and, similarly, Squeeze plot shows the lowest bandwidth value.
This indicator was modeled after the first class Think or Swim Trading Platform.
The Bollinger BandsŪ Percentage B is a technical indicator based upon the Bollinger BandsŪ study; it plots a histogram showing position of price relative to the bands. It is calculated as percentage ratio of two differences: first one is the difference between the price and the lower band value, second one is the difference between values of upper and lower bands.
Adopted from the BollingerPercentB indicator on the highly recommended Think or Swim Platform.
NinjaTrader v7 indicator
Indicator is shown on the lower panel of the attached image.
This is a generalized version of the Bollinger Bands with a few options added:
- The midband can be selected from a moving median, a moving mode or 27 different moving averages.
- Midband and channels can be smoothed.
- The period for the standard deviation can be different from the period for the moving average.
- The indicator has an option to display the channels or the midband individually.
- All plots can be colored according to their slope, or alternatively all plots can be colored according to the slope of the midband.
- The slope color includes a neutral slope, which can be adjusted via a threshold.
- The area between the Bollinger Bands can be shaded according to the shape of the midband.
- The trend derived from the midband slope can be displayed via paint bars.
Update July 3 2012: Midband can now be selected from a moving median, a moving mode or 27 different moving averages. Adjustable neutral zone added. Bands can be colored according to their own slope or slope of midband, midband and channels can be displayed individually.
Update July 5, 2012: Bug removed - Butterworth, Gauss and Supersmoother Fillter did not use the specified period.
Update August 20, 2012: Old version of ADXVMA replaced with new version.
Update August 31, 2012: Ehlers Filter updated.
Update October 4, 2012: Paintbars added. Ehlers and Gauss filters updated, moving mode removed. Channel and paintbar colors will now align, when indicator is displaced.
Update October 5, 2013: Tillson T3 added.
Update October 10, 2014: When paintbars were selected without showing the midband, occasionally some bars were set to transparent. Bug removed.
Update March 19, 2015: Slope trend exposed via public IntSeries.
February 29th, 2016 03:45 PM no3putts Many thanks, again and again and....
December 20th, 2015 09:40 PM romus
August 13th, 2014 10:00 AM tang
February 9th, 2014 06:15 PM bundwidower Fat Tails. You do not know what it means for beginners like me to have something to follow. Sorry I am unable to recipro