Bollinger bands in Tenths is based on Ian Woodward's Pct B Buckets
Under the Parameters tab
N double 20 5 300
P double 2 .1 10
Under the script tab
MID:= MA(CLOSE,N);
HH: MID + P*STDP(CLOSE,N),width2,colorBlack;
LL: MID - P*STDP(CLOSE,N),width2,colorBlack;
Height := HH-LL;
A1 := LL+Height*0.1,Width2,ColorGold;
A2 := LL+Height*0.2,Width2,ColorRed;
A3 := LL+Height*0.3,Width2,ColorGreen;
A4 := LL+Height*0.4,Width2,ColorBlue;
A5 : LL+Height*0.5,Width2,ColorBlack;
A6 := LL+Height*0.6,Width2,ColorBlue;
A7 := LL+Height*0.7,Width2,ColorGreen;
A8 := LL+Height*0.8,Width2,ColorRed;
A9 := LL+Height*0.9,Width2,ColorGold;
FILLRGN(1,HH,A9),ExtendLR,Brush#65D3D3D3;
FILLRGN(1,A9,A8),ExtendLR,Brush#40FFD700;
FILLRGN(1,A8,A7),ExtendLR,Brush#20FF0000;
FILLRGN(1,A7,A6),ExtendLR,Brush#4598FB98;
FILLRGN(1,A6,A5),ExtendLR,Brush#4000FFFF;
FILLRGN(1,A5,A4),ExtendLR,Brush#4000FFFF;
FILLRGN(1,A4,A3),ExtendLR,Brush#4598FB98;
FILLRGN(1,A3,A2),ExtendLR,Brush#20FF0000;
FILLRGN(1,A2,A1),ExtendLR,Brush#40FFD700;
FILLRGN(1,A1,LL),ExtendLR,Brush#65D3D3D3;
@SetTextVisible(HH,false);
@SetTextVisible(LL,false);
@SetTextVisible(A1,false);
@SetTextVisible(A2,false);
@SetTextVisible(A3,false);
@SetTextVisible(A4,false);
@SetTextVisible(A5,false);
@SetTextVisible(A6,false);
@SetTextVisible(A7,false);
@SetTextVisible(A8,false);
@SetTextVisible(A9,false);
Bollinger Bands in Tenths
Moderator: Chris White
Re: Bollinger Bands in Tenths
Bollinger bands w Fib Zones
Use the same parameters from the indicator above
In the script tab
MID: MA(CLOSE,N),ColorBlack;
HL: MID + P*STDP(CLOSE,N),width2,colorBlack;
LL: MID - P*STDP(CLOSE,N),width2,colorBlack;
dist:=hl-ll ;
hf:=HL-dist*0.236 ;
cfh:=HL-dist*0.382 ;
cfl:=HL-dist*0.618 ;
lf:=HL-dist*0.764 ;
FillRgn(1,HL,HF),ExtendLR,Brush#20FFA500;
FillRgn(1,CFH,CFL),ExtendLR,Brush#60B0C4DE;
FillRgn(1,LL,LF),ExtendLR,Brush#20FFA500;
@SetTextVisible(HL,false);
@SetTextVisible(Mid,false);
@SetTextVisible(LL,false);
@SetTextVisible(HF,false);
@SetTextVisible(CFH,false);
@SetTextVisible(CFL,false);
@SetTextVisible(LF,false);
Use the same parameters from the indicator above
In the script tab
MID: MA(CLOSE,N),ColorBlack;
HL: MID + P*STDP(CLOSE,N),width2,colorBlack;
LL: MID - P*STDP(CLOSE,N),width2,colorBlack;
dist:=hl-ll ;
hf:=HL-dist*0.236 ;
cfh:=HL-dist*0.382 ;
cfl:=HL-dist*0.618 ;
lf:=HL-dist*0.764 ;
FillRgn(1,HL,HF),ExtendLR,Brush#20FFA500;
FillRgn(1,CFH,CFL),ExtendLR,Brush#60B0C4DE;
FillRgn(1,LL,LF),ExtendLR,Brush#20FFA500;
@SetTextVisible(HL,false);
@SetTextVisible(Mid,false);
@SetTextVisible(LL,false);
@SetTextVisible(HF,false);
@SetTextVisible(CFH,false);
@SetTextVisible(CFL,false);
@SetTextVisible(LF,false);