Bollinger Fibonacci Band |
//www.aflcode.com 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);
Sign up here with your email
ConversionConversion EmoticonEmoticon