Z_J1:=EMA(C,2)-EMA(C,150);
Z_J2:=EMA(Z_J1,100);
Z_J3:=2*(Z_J1-Z_J2);
Z_J4:=POW(Z_J3,3)*0.1+POW(Z_J3,1);
主流资金:=IF(Z_J3>0.1,Z_J4,0)*5;
G_J1:=EMA(C,2)-EMA(C,89);
G_J2:=EMA(G_J1,30);
G_J3:=2*(G_J1-G_J2)*9.8;
G_J4:=POW(G_J3,3)*0.1+POW(G_J3,2);
攻击资金:=IF(G_J3>0.015,G_J4,0)/28;
选股1:=攻击资金>0 AND CROSS(攻击资金,0.015)AND FINANCE(38)>0 AND CAPITAL<15000000 AND DYNAINFO(14)>0.015 AND DYNAINFO(7)<=30;
VC:=(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2));
SQX:=(VC-MA(VC,13))*100;
DIF:=MA(SQX,3);
DEA:=EMA(DIF,3);
MACD:=(DIF-DEA)*2;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
MACD1:=MACD;{九毛八公式指标www.9m8.cn }
MACD2:=REF(MACD,1);
选股2:=(CROSS(MACD1,MACD2) AND C>MA5 AND DIF>DEA)OR CROSS(DIF,DEA);
选股:选股1 AND 选股2;