階段天數:=30;
A1:=C>REF(C,1)*1.097;
連闆榜:BARSLASTCOUNT(A1);
闆數榜:COUNT(A1,階段天數)/階段天數;
闆後急跌:COUNT(A1,6)/6>0 AND C 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 昨闆:REF(C,1)>REF(C,2)*1.097;
首闆:A1 AND REF(C,1) 低位闆:A1 AND (L 今曾闆:H>REF(C,1)*1.097;
開闆:H>REF(C,1)*1.097 AND REF(C,1)< REF(C,2)*1.09 AND C B1:=L B2:=C 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);{收盤價連續上升};
有話要說...