CY:=C<REF(C,1)*0.95 OR C<O*0.95;
KZF:=ABS(C-REF(C,1))/ABS(REF(C,1)-REF(C,2));
VZF:=V/REF(V,1);
长阴短柱:=CY AND KZF>VZF;
型1:=REF(长阴短柱,2) AND REF(H,1)<(REF(C,2)+REF(C,+3))/2 AND C>REF(C,3);
型2:=REF(长阴短柱,3) AND REF(H,2)<(REF(C,3)+REF(C,+4))/2 AND REF(H,1)<(REF(C,3)+REF(C,+4))/2 AND C>REF(C,4);
XG:型1 OR 型2;