MID:=REF(HIGH+LOW,1)/2;
CR:=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100,COLORRED;
MA11:=REF(MA(CR,11),1+11/2.5),COLORBLUE;
MA19:=REF(MA(CR,19),1+19/2.5),COLORMAGENTA;
MA35:=REF(MA(CR,35),1+35/2.5),COLORGREEN;
MA53:=REF(MA(CR,53),1+53/2.5),COLORLICYAN;
B1:=IF(CR MA11 AND CR MA19 AND CR MA35 AND CR MA53,1,0);
XG:B1=1 AND REF(B1,1)=0;