ZBZJ1:=dma((HIGH+LOW+CLOSE*2)/4,0.9);
ZBZJ2:=REF(ema(ZBZJ1,3),1);
ZBZJ3:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
ZBZJ4:=IF(CLOSE>OPEN,ZBZJ3*(HIGH-LOW),IF(CLOSE<OPEN,ZBZJ3*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-ZBZJ3*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-ZBZJ3*(HIGH-LOW),0-VOL/2));
ZBZJ5:=VOL/CAPITAL;
ZBZJ6:=IF(ZBZJ5>10,10,ZBZJ5);
ZBZJ7:=ZBZJ4/20/1.15;
ZBZJ8:=ZBZJ7*0.55+REF(ZBZJ7,1)*0.33+REF(ZBZJ7,2)*0.22;
ZBZJ9:=Ema(ZBZJ8,8);
ZBZJ10:=EMA(ZBZJ8,3);
资金净额:=(ZBZJ7*0.4-ZBZJ10*0.4)*C/60000;
成交额:=AMOUNT/100000000;
市值:=CLOSE*CAPITAL/1000000;
资金流占比:=资金净额*100/市值;
资金成占比:=资金净额*100/成交额;
资金1:=资金净额>0.4 AND 资金流占比>0.6 AND 资金成占比>15 AND 市值<50;
资金2:=资金净额>0.6 AND 资金流占比>0.4 AND 资金成占比>15 AND 市值>50;
资金进场:资金1 OR 资金2;