{ Downloaded From https://www.WiseStockTrader.com } Per1:=Input("lookback",10,100,60); Perc1:=Input("percent uband",.800,.999,.950); Perc2:=Input("percent lband",1.01,1.2,1.05); UB:=Ref((HHV(P,Per1)*Perc1),-1); LB:=Ref((LLV(P,Per1)*Perc2),-1); MB:=Ref((UB+LB)*.5,-1); UB; MB; LB;