JLW:=REF(MA(VOL,5),2);
周线:="SAR.SAR#WEEK"(4,2,20);
周收:=CLOSE#WEEK;
月线:="SAR.SAR#MONTH"(4,2,20);
月收:=CLOSE#MONTH;
Z买点:=REF(周线,1)>REF(周收,1) AND 周收>周线;
Z卖点:=REF(周收,1)>REF(周线,1) AND 周线>周收;
Y买点:=REF(月线,1)>REF(月收,1) AND 月收>月线;
Y卖点:=REF(月收,1)>REF(月线,1) AND 月线>月收;
大牛:=Y买点>0;
小牛:=Z买点>0;
TSCL:=10>LLVBARS(LOW,100);
ZGZL:=VOL=HHV(VOL,100);
机构建仓:=TSCL>0 AND ZGZL>0 AND CLOSE>OPEN;
XAX:=EVERY(REF(VOL,2)>REF(VOL,3),2);
YTQ:=REF(VOL,2)*0.6>REF(VOL,1) AND VOL>REF(VOL,2);
SYX:=COUNT(CLOSE>OPEN,5)>3;
机构拉升:=XAX>0 AND YTQ>0 AND SYX>0;
机构异动:=V>REF(V,1)*2 AND C>OPEN AND VOL>JLW*2;
选股:大牛;