MA5:=MA(C,5);
A51:= REF(MA5,1)*0.98;
A52:= REF(MA5,2)*0.98;
B52:= BArslAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)
B51:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)
DZ:=IF((REF(C,2)>=REF(MA5,2)) AND (REF(C,1)=REF(MA5,2) AND REF(C,1)0,IF(REF(MA5, B52)< REF(MA5, B51),REF(MA5,B51)*0.98, REF(MA5,B52)*0.98), REF(MA5,1)));
AZZ:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2;
红箭头2:REF(C,1)=DZ AND C>AZZ;