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 Trading system for Amibroker (AFL)
almost 8 years ago
Amibroker (AFL)

4 / 5 (Votes 6)
trading system, amibroker, bands

This is bollinger band trading system with ATR as Stoploss.
Kindly provide ur comments.


Similar Indicators / Formulas

Heikin Ashi HaDiffCO
Submitted by kaiji over 10 years ago
Extreme Keltner using ATR
Submitted by jenkisan over 8 years ago
Candle alert based on 200 EMA
Submitted by JPMamgain about 8 years ago
Bollinger band using STD Dev and MA
Submitted by surindersingh over 8 years ago
Scan Buy Sell & BB
Submitted by morgen about 10 years ago

Indicator / Formula

Copy & Paste Friendly
/*Gann HiLo*/

Hld = IIf(C > Ref(MA(H, per), -1), 1, IIf(C < Ref(MA(L, per), -1), -1, 0));
Hlv = ValueWhen(Hld != 0, Hld, 1);
Hilo = IIf(Hlv == -1, MA(H, per), MA(L, per));
Trigger = IIf(C>Hilo, colorCustom9, colorCustom5);
Plot(Hilo, _DEFAULT_NAME(), Trigger, styleStaircase);
SetPositionSize( 50, spsShares );
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorGreen, 0,L, Offset=-25); 
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorRed, 0,H, Offset=-25);

P = ParamField("Price field",-1);
Periods = Param("Periods", 19, 2, 300, 1 );
Width = Param("Width", 2.1, 0, 10, 0.05 );
Color = ParamColor("Color", colorBlue );
Style = ParamStyle("Style", styleLine | styleNoLabel);

CenterLine = MA( P, Periods );
KTop = CenterLine + Width * ATR( Periods );
KBot = CenterLine - Width * ATR( Periods );

Plot( KTop, "KBTop" + _PARAM_VALUES(), Color, Style ); 
Plot( KBot, "KBBot" + _PARAM_VALUES(), Color, Style ); 


1. kv_maligi

Very good.
Plz also develop targets to book profits


2. kv_maligi


This is best SL I have come across so far.
As i requested, if targets are there, its a great system


3. anandnst

Yes you are right.. everyone should use this AFL for trading

4. marcheur

Thanks it is a really good system, yet I don’t know why I can not use it for back testing.

5. moccha

This isn’t a Bollinger Band system it’s a Keltner Band

Leave Comment

Please login here to leave a comment.