A1:=REF(C,2) REF(O,2)*1.03;{确定前天阳线实体大小}
A2:=REF(C,1) REF(O,1)*1.005 AND REF(C,1) REF(C,2);{确定昨天为阴线收盘价低于前天收盘价}
A3:=C O*1.023 AND C REF(C,1)*0.99;{确定今天阳线实体收盘价大于昨天阴线}
两阳夹一阴:A1 AND A2 AND A3 ;
A1:=REF(C,2) REF(O,2)*1.03;{确定前天阳线实体大小}
A2:=REF(C,1) REF(O,1)*1.005 AND REF(C,1) REF(C,2);{确定昨天为阴线收盘价低于前天收盘价}
A3:=C O*1.023 AND C REF(C,1)*0.99;{确定今天阳线实体收盘价大于昨天阴线}
两阳夹一阴:A1 AND A2 AND A3 ;