MTR:=MA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),20);
A1:MA(C,10)+3*MTR;
A2:MA(C,10)+2*MTR;
A3:MA(C,10)+1*MTR;
A4:MA(C,10)-3*MTR;
A5:MA(C,10)-2*MTR;
A6:MA(C,10)-1*MTR;
MTR:=MA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),20);
A1:MA(C,10)+3*MTR;
A2:MA(C,10)+2*MTR;
A3:MA(C,10)+1*MTR;
A4:MA(C,10)-3*MTR;
A5:MA(C,10)-2*MTR;
A6:MA(C,10)-1*MTR;