A :=ma(CLOSE,26); UP:=A + 2*stD(CLOSE,26); LOWER:=A - 2*STD(CLOSE,26); W1:=C=HHV(C,20); W2:=BArslAST(W1); W3:=IF(W2>0,REF(C,W2),REF(C,W2)); W4:=crOSS(C,REF(W3,1)); IF(W4 AND COUNT(W4,5)=1,20,0);