請老師參考下面漲停選股公式:幫助修改底部漲停選股公式,謝謝,! 1.參考漲停選股公式: ZDXS:=IF((FINANCE(3)=4 OR (DATE>1200822&&FINANCE(3)=3)),0.2,IF(INBLOCK('ST板塊'),0.05,0.1)); ZTJ:=ZTPRICE(REF(C,1),ZDXS); ZT:=C>=ZTJ; 2.需要修改的底部漲停的選股公式 SG:=EMA(HHV(H,1),8); X1:=EMA(C,8); X30:=X1<REF(X1,1) AND C<X1; X31:=IF(((SG<REF(SG,1)) OR X30),1,0); 底部漲停:=(((COUNT((X31=1),4)=3 AND X31=0 AND (C-REF(C,1))/REF(C,1)>0.085))*89); XG:底部漲停>=89; ZDXS:=IF((FINANCE(3)=4 OR (DATE>1200822&&FINANCE(3)=3)),0.2,IF(INBLOCK('ST板塊'),0.05,0.1)); ZTJ:=ZTPRICE(REF(C,1),ZDXS); ZT:=C>=ZTJ; SG:=EMA(HHV(H,1),8); X1:=EMA(C,8); X30:=X1<REF(X1,1) AND C<X1; X31:=IF(((SG<REF(SG,1)) OR X30),1,0); 底部:=COUNT((X31=1),4)=3 AND X31=0; XG:底部 AND ZT; |
|