阶段天数:=30;
A1:=C>REF(C,1)*1.097;
连板榜:BArslASTCOUNT(A1);
板数榜:COUNT(A1,阶段天数)/阶段天数;
板后急跌:COUNT(A1,6)/6>0 AND C
ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14159>10 AND
C
首板:A1 AND REF(C,1)
低位板:A1 AND (L
开板:H>REF(C,1)*1.097 AND REF(C,1)< REF(C,2)*1.09 AND C
B4:=C>REF(C,1);
五日跌幅:(HHV(H,5)-C)/HHV(H,5);{收盘价与5日内最高价的差幅}
十日跌幅:(HHV(H,10)-C)/HHV(H,10);{收盘价与10日内最高价的差幅}
二十日跌幅:(HHV(H,20)-C)/HHV(H,20);{收盘价与20日内最高价的差幅}
连创新低:BARSLASTCOUNT(B1);{最低价连续下跌}
收盘连跌:BARSLASTCOUNT(B2);{收盘价连续下跌}
连创新高:BARSLASTCOUNT(B3);{每天创新高}
连收涨:BARSLASTCOUNT(B4);{收盘价连续上升};