Bollinger Fibonacci Bands

#1
some more goodies; enjoy !

// Bollinger Fibonacci Bands - Beachie41 26/11/04 //
/* as used in the VT trading platform -
see outline of FX trading system by mezarashii on
Moneytec http://www.moneytec.com/forums/_showthread/_threadid-11630/_s-
*/
GraphXSpace = 3;
per = Param("Period",20,10,55,1);
TH =IIf(Ref(C,-1) > H,Ref(C,-1),H);

TL=IIf(Ref(C,-1) < L,Ref(C,-1),L);
TR = TH-TL;
TRa= Wilders(TR,per);
UpperBand3 =MA( C, per) + ( 4.2360 * TRa);
UpperBand2=MA( C, per) + ( 2.6180 * TRa);
UpperBand1=MA( C, per) + ( 1.6180 * TRa);

MidPoint=MA(C, per);

LowerBand1=MA( C, per) - ( 1.6180 * TRa);
LowerBand2=MA( C, per) - ( 2.6180 * TRa);
LowerBand3=MA( C, per) - ( 4.2360 * TRa);


Plot(MidPoint,"",colorGreen,4);
Plot(UpperBand1,"",colorRed,1);
Plot(LowerBand1,"",colorRed,1);
Plot(UpperBand2,"",colorAqua,1);
Plot(LowerBand2,"",colorAqua,1);
Plot(UpperBand3,"",colorYellow,1);
Plot(LowerBand3,"",colorYellow,1);



PlotOHLC(O,H,L,C,"",colorWhite,64);
 

gkpc

Well-Known Member
#2
some more goodies; enjoy !

// Bollinger Fibonacci Bands - Beachie41 26/11/04 //
/* as used in the VT trading platform -
see outline of FX trading system by mezarashii on
Moneytec http://www.moneytec.com/forums/_showthread/_threadid-11630/_s-
*/
GraphXSpace = 3;
per = Param("Period",20,10,55,1);
TH =IIf(Ref(C,-1) > H,Ref(C,-1),H);

TL=IIf(Ref(C,-1) < L,Ref(C,-1),L);
TR = TH-TL;
TRa= Wilders(TR,per);
UpperBand3 =MA( C, per) + ( 4.2360 * TRa);
UpperBand2=MA( C, per) + ( 2.6180 * TRa);
UpperBand1=MA( C, per) + ( 1.6180 * TRa);

MidPoint=MA(C, per);

LowerBand1=MA( C, per) - ( 1.6180 * TRa);
LowerBand2=MA( C, per) - ( 2.6180 * TRa);
LowerBand3=MA( C, per) - ( 4.2360 * TRa);


Plot(MidPoint,"",colorGreen,4);
Plot(UpperBand1,"",colorRed,1);
Plot(LowerBand1,"",colorRed,1);
Plot(UpperBand2,"",colorAqua,1);
Plot(LowerBand2,"",colorAqua,1);
Plot(UpperBand3,"",colorYellow,1);
Plot(LowerBand3,"",colorYellow,1);



PlotOHLC(O,H,L,C,"",colorWhite,64);
Dug it out from the archieves! Seems interesting!
 

manoj2012

On Probation
#3
Bollinger Band in Amibroker is displayed in separate window below

Bollinger Band in Amibroker is displayed in separate window below.

How do I edit the AFL so that Bollinger band is made around the price-Candles instead of separate window below as it is in chartnexus chart as compared to Amibroker.
http://imgur.com/gallery/lh0h9Qw/new
 

mastermind007

Well-Known Member
#4
Re: Bollinger Band in Amibroker is displayed in separate window below

Bollinger Band in Amibroker is displayed in separate window below.

How do I edit the AFL so that Bollinger band is made around the price-Candles instead of separate window below as it is in chartnexus chart as compared to Amibroker.
http://imgur.com/gallery/lh0h9Qw/new
Option 1) Cut-paste the code and place it in the same price AFL

Option 2) Right click on AFL and select Overlay (3rd option)
 

Similar threads