Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Bollinger Bands Squeeze for Amibroker (AFL)
kaiji
over 14 years ago
Amibroker (AFL)

Rating:
4 / 5 (Votes 3)
Tags:
amibroker, bands

This is a volatility indicator. It can be used to determine the periods of extremes of low volatility which usually followed by big moves. Indicator does not show direction of the trade, only timing. Some other aspects of technical/fundamental analysis should be employed for direction.

There is a signal line with colored dots. Red dots indicate periods of low volatility (sqeeze). Green dots indicate periods of high volatility.

Indicator line crosses above and below signal line. Time trades at historical extremes of low volatility.

It can be used for scans, for instance, to find stepper stocks before big moves. The original author of the idea uses it for intraday trading.

For confirmation look for sqeezes in two different time frames.

Similar Indicators / Formulas

%B of Bollinger Bands With Adaptive Zones
Submitted by kaiji over 14 years ago
Trend Bands
Submitted by rogercraft about 14 years ago
Jurik's Spandex Band
Submitted by xavier over 12 years ago
Bollinger %B
Submitted by konidena about 14 years ago
Bollinger Band Squeeze & Expansion
Submitted by razasia about 14 years ago
Bands
Submitted by tanujaya almost 13 years ago

Indicator / Formula

Copy & Paste Friendly
/*
	Bollinger bands squeeze.
	By Vladimir Gaitanoff, 2005. support<at>vglib<dot>com

	This is a volatility indicator. 
	It can be used to determine the periods of extremes of low volatility which usually followed by big moves.
 	Indicator does not show direction of the trade, only timing. 
 	Some other aspects of technical/fundamental analysis should be employed for direction.

	There is a signal line with colored dots. Red dots indicate periods of low volatility (sqeeze). 
	Green dots indicate periods of high volatility.
	Indicator line crosses above and below signal line. Time trades at historical extremes of low volatility.

	It can be used for scans, for instance, to find stepper stocks before big moves.
	The original author of the idea uses it for intraday trading.

	For confirmation look for sqeezes in two different time frames.

*/

Length = 8;
Price = EMA(Close, Length);

// Keltner 
kLength = Length;
kN = 1.5;
kATR = ATR(kLength);
kUpper = Price + kN * kATR;
kLower = Price - kN * kATR;

// Bollinger
bbLength = Length;
bbN = 2;
bbStDevValues = StDev(Close, bbLength);
bbUpper = Price + bbN * bbStDevValues;
bbLower = Price - bbN * bbStDevValues;

IsSignal = 
	bbUpper <= kUpper AND
	bbLower >= kLower;

Graph0 = 1;
Graph0Style = styleDots;
Graph0BarColor = IIf(IsSignal, colorRed, colorGreen);

Proportion = (kUpper - kLower) / (bbUpper - bbLower);
Graph1 = Proportion;

Title = "Next Move Signal. In squeeze: " + WriteVal(IsSignal, 1) + " Keltner/Bollinger: " + WriteVal(Proportion);

0 comments

Leave Comment

Please login here to leave a comment.

Back