VAR1:=IF((CLOSE>REF(CLOSE,1)),88,0),COLORLIBLUE,LINETHICK1;
VAR2:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR1>0),91,0),COLORLIGREEN,LINETHICK1;
VAR3:=(FILTER((VAR2>90),45)),COLORLICYAN,LINETHICK1;
XG:VAR3>0;
VAR1:=IF((CLOSE>REF(CLOSE,1)),88,0),COLORLIBLUE,LINETHICK1;
VAR2:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR1>0),91,0),COLORLIGREEN,LINETHICK1;
VAR3:=(FILTER((VAR2>90),45)),COLORLICYAN,LINETHICK1;
XG:VAR3>0;