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

BB Band for Amibroker (AFL)
rakan
about 9 years ago
Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
amibroker, bands

Not sure if some one had added this “indicator” here before me …. Any way
this is an afl that I picked up years ago and found it very very helpful specially with some tweaking according to your market.

Rakan
here it goes …..

p.s
tried to include snapshot … :(

Similar Indicators / Formulas

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

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("BB Band");
p= Param("p",7,2,50,1);
p= Optimize("p",p,2,50,1);

x=((C+2*StDev(C,p)-MA(C,p))/(4*StDev(C,p)))*100;
Plot(x,"Osc",colorYellow,5);
b=50;
k=60;
n=0.95;
r=HHV(x,k);
e=LLV(x,k);
Plot(e+(r-e*n),"O/B",colorBlue,5);
Plot(r-(r-e*n),"O/S",colorRed,5);
Plot(IIf(x>e+(r-e*n),100,IIf(x<r-(r-e*n),0,50)),"BL",colorGreen,5);
_SECTION_END();
      SetChartBkColor(ParamColor("Panel color ",colorBlack)); 

_SECTION_BEGIN("Background_Setting"); 
SetChartBkGradientFill( ParamColor("BgTop", colorBlack), 
ParamColor("BgBottom", colorBlack),ParamColor("titleblock",colorTeal )); 
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back