感謝我的群友“豫小菜”,將上面公式改成了“大智慧”版本:
N:=100; V100:= V<=LLV(V,N)*3; 百日地量群:=COUNT(V100,5)>=3; 倍量:= VOL>=REF(V,1)*1.9 AND C>O; 百地_倍量:=REF(百日地量群,1) AND 倍量; 含陰陽:=COUNT(C>O,5)>=2 AND COUNT(C<O,5)>=2; RC1:=REF(C,1); 漲幅:=(C-RC1)*100/RC1; ST創(chuàng)業(yè)次新停牌:=STRFIND(stkname,'ST',1)>0 OR STRFIND(stkname,'S',1)>0 OR STRFIND(STKNAME,'*',1)>0 OR (DYNAINFO(4)=0) OR BARSCOUNT(V)<=200{次新}; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); 選股: COUNT(百地_倍量,1)>=1 AND REF(含陰陽,1) AND 漲幅>5 AND ST創(chuàng)業(yè)次新停牌=0 AND REF(D<30,1);
|