MID:=REF(HIGH+LOW,1)/2;
CR:=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100,COLORRED,LINETHICK3;
A1:=REF(MA(CR,10),10/2.5+1);
A2:=REF(MA(CR,20),20/2.5+1);
A3:=REF(MA(CR,40),40/2.5+1);
A4:=REF(MA(CR,62),62/2.5+1);
XG0:CROSS(CR,A4) AND A4>A3 AND A4>A2;
XG1:=CROSS(CR,A4);
XG4:=COUNT(XG0=1,4)>0 AND XG1;