通达信 喜鹊闹梅副图/选股源码

{通达信版-副图选股}
TP1:=REF(C,3)/REF(C,4)>1.095 AND REF(C,3)=REF(H,3);
 TP2:=MAX(C,O)/MIN(C,O)<1.05 AND C/REF(C,1)<1.09;
 TP3:=REF(O,2)>REF(C,3) AND EVERY(MIN(C,O)>REF(C,3),3);
 TPXG:TP1 AND EVERY(TP2,3) AND TP3;

{大智慧版-副图、选股指标}
TP1:=REF(C,3)/REF(C,4)>1.095 AND REF(C,3)=REF(H,3);
 TP2:=MAX(C,O)/MIN(C,O)<1.05 AND C/REF(C,1)<1.09;
 TP3:=REF(O,2)>REF(C,3) AND ALL(MIN(C,O)>REF(C,3),3);
 TPXG:TP1 AND ALL(TP2,3) AND TP3;