ZT:=(REF(CLOSE,1)>=ZTPRICE(REF(CLOSE,2),0.1)); { 以涨停收盘 }
BB1:=VOL/REF(VOL,1)>1.9;
BB2:=VOL/REF(VOL,1)<6;
BB3:=O>REF(C,1);
BB:=BB1 AND BB2 AND BB3 ;
股价:= C>=2.5 AND C<35;
流通盘:=CAPITAL/1000000<=30;
D22:=IF(NAMELIKE('S'),0,1);
D33:=IF(NAMELIKE('*'),0,1);
去ST:=D22 AND D33;
HH: BB AND 股价 AND 流通盘 AND 去ST AND ZT ;
九毛八公式解读
ZT赋值:(1日前的收盘价>=计算涨停价) BB1赋值:成交量(手)/1日前的成交量(手)>1.9 BB2赋值:成交量(手)/1日前的成交量(手)<6 BB3赋值:开盘价>1日前的收盘价 BB赋值:BB1 AND BB2 AND BB3 股价赋值: 收盘价>=2.5 AND 收盘价<35 流通盘赋值:当前流通股本(手)/1000000<=30 D22赋值:如果模糊匹配品种名称,返回0,否则返回1 D33赋值:如果模糊匹配品种名称,返回0,否则返回1 去ST赋值:D22 AND D33 输出HH: BB AND 股价 AND 流通盘 AND 去ST AND ZT