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 %B for Amibroker (AFL)

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

As reported in S&C magazine of May 2010.

Similar Indicators / Formulas

%B of Bollinger Bands With Adaptive Zones
Submitted by kaiji almost 15 years ago
Trend Bands
Submitted by rogercraft over 14 years ago
Bollinger - Keltner Bands
Submitted by kaiji almost 15 years ago
Bollinger Band Squeeze & Expansion
Submitted by razasia over 14 years ago
Jurik's Spandex Band
Submitted by xavier over 13 years ago
BB Trading
Submitted by iknow_u2_2 over 14 years ago

Indicator / Formula

Copy & Paste Friendly
period = Param( "%b period", 18, 1, 100 ); 
TeAv = Param( "TEMA average", 8, 1, 30 ); 
afwh = Param( "Standard deviation High", 1.6, 0.1, 5 ); 
afwl = Param( "Standard deviation Low", 1.6, 0.1, 5 ); 
afwper = Param( "Standard deviation period", 63, 1, 200 ); 

price = (O+H+L+C)/4; 
HaOpen = AMA( Ref( price, -1 ), 0.5 ); 
haC = ( price + haOpen + Max( H, haOpen ) + Min( L, haOpen ) ) / 4; 

TMA1 = TEMA( haC, TeAv ); 
TMA2 = TEMA( TMA1, TeAv ); 
Diff = TMA1 - TMA2; 
ZlHA = TMA1 + Diff; 

ztema = TEMA( ZLHA, TeAv ); 
stdztema = StDev( ztema, period ); 

percb = ( ztema + 2 * stdztema - WMA( ztema, period ) ) / ( 4 * stdztema ) * 100; 
Plot( percb, "PercB", colorBlue ); 
Plot( 50 + afwh*StDev( percb, afwper ) , "Upper", colorRed, styleDashed ); 
Plot( 50 - afwl*StDev( percb, afwper ) , "Lower", colorRed, styleDashed ); 

3 comments

1. gajananprofits@yahoo.co.in

excellent as a RSI divergence. Fantastic

2. aseemmv23

can u pls add the color change function when the oscillator hit the upper and lower band for AFL

3. niladri

Source: http://traders.com/Documentation/FEEDbk_docs/2010/05/TradersTips.html#TT4

Leave Comment

Please login here to leave a comment.

Back