A1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>3;
A2:= REF(C,0) > REF(O,1) ;
A3:= REF(C,0) > REF(C,1) ;
A4:= REF(H,0) > REF(H,1) ;
A5:= (C-REF(C,1))/REF(C,1)*100>3;
阳包阴1:= A1 AND A2 AND A3 AND A4 AND A5;
B1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>4;
B2:= REF(C,0) > REF(O,1) ;
B3:= REF(C,0) > REF(C,1) ;
B4:= REF(H,0) > REF(H,1) ;
B5:= (C-REF(C,1))/REF(C,1)*100>5;
B6:=V-REF(V,1)<0;
B7:=REF(V,2)-REF(V,1)>0;
B8:=(H-L)/REF(C,1)*100>5;
缩量阳包阴2:= B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8;
C1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>3;
C2:= REF(O,0)<REF(L,1);
C3:= REF(C,0) > REF(O,1) ;
C4:= REF(C,0) > REF(C,1) ;
C5:= REF(H,0) > REF(H,1) ;
下跳空阳包阴3:= C1 AND C2 AND C3 AND C4 AND C5;
D1:=(REF(C,3)-REF(C,2))/REF(C,3)*100>5;
D2:= REF(C,1) >= REF(O,1) AND REF(C,1)< REF(O,2);
D3:= REF(C,0) > REF(O,0) AND REF(C,0)>REF(C,3);
两阳接力包大阴4:(D1 AND D2 AND D3)*100;
E1:= REF(C,2) < REF(O,2) AND REF(C,1) <= REF(O,1);
E2:=(REF(C,3)-REF(C,1))/ REF(C,3)*100>5;
E3:= REF(C,0) > REF(O,0) AND REF(C,0)>REF(C,3);
E4:= REF(C,3) > REF(O,3);
大阳包二阴5:( E1 AND E2 AND E3 AND E4)*100;
阳包阴:(阳包阴1 OR 缩量阳包阴2 OR 下跳空阳包阴3 OR 两阳接力包大阴4 OR 大阳包二阴5)*100,COLOR00FF00,LINETHICK2;
DRAWTEXT(阳包阴,80,'★买'),COLOR00FF00;
DRAWTEXT(阳包阴,10,'阳包阴'),COLOR00FF00;