Can Anyone share AFL Suri Fibonacci Bands???

#1
Can Anyone share AFL Suri Fibonacci Bands???


Hi All Master, Senior & Member,
Can anyone share AFL Suri Fibonacci Bands, Please?

Thanks
Rossi
 
#2
Can Anyone share AFL Suri Fibonacci Bands???


Hi All Master, Senior & Member,
Can anyone share AFL Suri Fibonacci Bands, Please?

Thanks
Rossi
Code:
 _SECTION_BEGIN("Suri-FibBands");
//******************************************Suri-FibBands***********************//
MALength = Param("MALength",100,0,100,1);
//MALength=100;
mov = MA(Close,MALength);
tr = MA(ATR(14)*1.3, MALength);

upperBand1 = mov+4.62*tr;
upperBand2 = mov+2.62*tr;
upperBand3 = mov+1.62*tr;

lowerBand1 = mov-1.62*tr;
lowerBand2 = mov-2.62*tr;
lowerBand3 = mov-4.62*tr;

Plot(upperBand1 ,"ProfitStop",colorGreen,styleLine);
Plot(upperBand2 ,"ProfitStop",colorRed,styleLine);
Plot(upperBand3 ,"ProfitStop",colorOrange,styleLine);
Plot(mov ,"ProfitStop",colorBrown,styleLine);
Plot(lowerBand1 ,"ProfitStop",colorOrange,styleLine);

Plot(lowerBand2 ,"ProfitStop",colorRed,styleLine);

Plot(lowerBand3 ,"ProfitStop",colorGreen,styleLine);
Plot(C ,"Price",colorBlue,styleBar);
_SECTION_END();
 
#3
Code:
 _SECTION_BEGIN("Suri-FibBands");
//******************************************Suri-FibBands***********************//
MALength = Param("MALength",100,0,100,1);
//MALength=100;
mov = MA(Close,MALength);
tr = MA(ATR(14)*1.3, MALength);

upperBand1 = mov+4.62*tr;
upperBand2 = mov+2.62*tr;
upperBand3 = mov+1.62*tr;

lowerBand1 = mov-1.62*tr;
lowerBand2 = mov-2.62*tr;
lowerBand3 = mov-4.62*tr;

Plot(upperBand1 ,"ProfitStop",colorGreen,styleLine);
Plot(upperBand2 ,"ProfitStop",colorRed,styleLine);
Plot(upperBand3 ,"ProfitStop",colorOrange,styleLine);
Plot(mov ,"ProfitStop",colorBrown,styleLine);
Plot(lowerBand1 ,"ProfitStop",colorOrange,styleLine);

Plot(lowerBand2 ,"ProfitStop",colorRed,styleLine);

Plot(lowerBand3 ,"ProfitStop",colorGreen,styleLine);
Plot(C ,"Price",colorBlue,styleBar);
_SECTION_END();

Thanks my friend santhosh2010 for your quick reply
 
#4
_SECTION_BEGIN("Suri-FibBands");
//******************************************Suri-FibBands***********************//
MALength = Param("MALength",100,0,100,1);
//MALength=100;
mov = MA(Close,MALength);
tr = MA(ATR(14)*1.3, MALength);

upperBand1 = mov+4.62*tr;
upperBand2 = mov+2.62*tr;
upperBand3 = mov+1.62*tr;

lowerBand1 = mov-1.62*tr;
lowerBand2 = mov-2.62*tr;
lowerBand3 = mov-4.62*tr;

Plot(upperBand1 ,"ProfitStop",colorGreen,styleLine);
Plot(upperBand2 ,"ProfitStop",colorRed,styleLine);
Plot(upperBand3 ,"ProfitStop",colorOrange,styleLine);
Plot(mov ,"ProfitStop",colorBrown,styleLine);
Plot(lowerBand1 ,"ProfitStop",colorOrange,styleLine);

Plot(lowerBand2 ,"ProfitStop",colorRed,styleLine);

Plot(lowerBand3 ,"ProfitStop",colorGreen,styleLine);
Plot(C ,"Price",colorBlue,styleBar);
_SECTION_END();

_SECTION_BEGIN("FIBONACCI HIGH PROBABILITY ZONES");

ShowFibHiProbZone=ParamToggle("Show FIb High-Probability Zone","No|Yes",1);
HpzColor = ParamColor("Line Color",colorBlack);
Periodicity = inDaily;

if(ShowFibHiProbZone AND Interval()<inHourly)
{
Periodicity = inDaily;
}
else if(ShowFibHiProbZone AND Interval()==inHourly)
{
Periodicity = inWeekly;
}
else if (ShowFibHiProbZone AND Interval()>=inDaily AND Interval()<inMonthly)
{
Periodicity = inMonthly;
}
else if(ShowFibHiProbZone AND Interval()>inWeekly AND Interval()<inYearly)
{
Periodicity = inYearly;
}
else // Default just to silence the compiler. This will never occur.
{
Hi=Ref(H,-1);
Lo=Ref(L,-1);
Cl=Ref(C,-1);
}

Hi=TimeFrameGetPrice("H",Periodicity,-1);
Lo=TimeFrameGetPrice("L",Periodicity ,-1);
Cl=TimeFrameGetPrice("C",Periodicity ,-1);


p=(Hi+Lo+Cl)/3;
r1=p+((Hi-Lo)/2);
s1=p-((Hi-Lo)/2);
r2=p+(Hi-Lo);
s2=p-(Hi-Lo);

//Bands
s1b=((Hi-Lo)*0.618)-p;
s2b=((Hi-Lo)*1.382)-p;

r1b=((Hi-Lo)*0.618)+p;
r2b=((Hi-Lo)*1.382)+p;

extnd=0;
sty=styleNoLabel|styleStaircase|styleDashed|styleNoRescale;
Plot(r1-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
//PlotOHLC(r1,r1,r1b,r1b,"",Col,sty|styleClipMinMax|styleCloud|styleNoLine,Null,Null,extnd,1000);

Plot(s1-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
//PlotOHLC(s1,s1b,s1,s1b,"",Col,sty|styleClipMinMax|styleCloud|styleNoLine,Null,Null,extnd,1000);
Plot(p-extnd,"",HpzColor ,styleNoLabel|styleStaircase|styleNoRescale,Null,Null,extnd,1000);
Plot(r2-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
Plot(s2-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);

//Daily Range Hi Lo
//Plot(Hi-extnd,"",ColorBlend(colorLime,colorBrightGreen) ,styleNoLabel|styleStaircase|styleNoRescale,Null,Null,extnd,1000);
//Plot(Lo-extnd,"",ColorBlend(colorCustom12,colorRed) ,styleNoLabel|styleStaircase|styleNoRescale,Null,Null,extnd,1000);

_SECTION_END();
 

Similar threads