A1:=(REF(LOW,1)=REF(OPEN,1)) AND (REF(OPEN,0)=REF(LOW,0)) AND (REF(CLOSE,1) REF(OPEN,1)) AND (REF(CLOSE,0) REF(OPEN,0));
A2:=REF(VOL,0) REF(VOL,1);
A3:=REF(OPEN,0) REF(CLOSE,1);
A4:=REF(CLOSE,0) REF(CLOSE,1);
XG:A1 AND A2 AND A3 AND A4;
A1:=(REF(LOW,1)=REF(OPEN,1)) AND (REF(OPEN,0)=REF(LOW,0)) AND (REF(CLOSE,1) REF(OPEN,1)) AND (REF(CLOSE,0) REF(OPEN,0));
A2:=REF(VOL,0) REF(VOL,1);
A3:=REF(OPEN,0) REF(CLOSE,1);
A4:=REF(CLOSE,0) REF(CLOSE,1);
XG:A1 AND A2 AND A3 AND A4;