You are on page 1of 1

Periods:=Input("Enter the number of periods: ",1,100,16);

Factor1:=Input("Enter the number of deviations: ",.01,100,1.618);


Factor2:=Input("Enter the number of deviations: ",.01,100,2.618);
Factor3:=Input("Enter the number of deviations: ",.01,100,4.240);
UpperBand3:=Mov( C, Periods, S) + ( factor3 * ATR(periods));
UpperBand2:=Mov( C, Periods, S) + ( factor2 * ATR(periods));
UpperBand1:=Mov( C, Periods, S) + ( factor1 * ATR(periods));

MidPoint:=Mov(C, Periods, S);

LowerBand1:=Mov( C, Periods, S) - ( factor1 * ATR(periods));


LowerBand2:=Mov( C, Periods,S) - ( factor2 * ATR(periods));
LowerBand3:=Mov( C, Periods, S) - ( factor3 * ATR(periods));

UpperBand3;
UpperBand2;
UpperBand1;
MidPoint;
LowerBand1;
LowerBand2;
LowerBand3;

You might also like