XG:REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)<REF(LOW,2) AND CLOSE>=REF(LOW,2);