阶段天数:=30; A1:=C>REF(C,1)*1.097; 连板榜:BARSLASTCOUNT(A1); 板数榜:COUNT(A1,阶段天数)/阶段天数; 板后急跌:COUNT(A1,6)/6>0 AND C<MA(C,5) AND ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.14159>10 AND ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14159>10 AND C<HHV(H,8)*0.9; 昨板:REF(C,1)>REF(C,2)*1.097; 首板:A1 AND REF(C,1)<REF(C,2)-1.095; 低位板:A1 AND (L<MIN(MA(C,20),MA(C,5)) OR L<LLV(L,20)*1.15); 今曾板:H>REF(C,1)*1.097; 开板:H>REF(C,1)*1.097 AND REF(C,1)< REF(C,2)*1.09 AND C<H; B1:=L<REF(L,1);{最高价高于昨日最高价} B2:=C<REF(C,1);{收盘价高于昨日收盘价} B3:=H>REF(H,1); 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);{收盘价连续上升}; |
|