涨停:=C/REF(C,1)>1.097 AND C=H;
连续:=BARSLAST(REF(涨停,1) AND NOT(涨停));
压力:=MAX(HHV(O,连续),HHV(C,连续));
冲顶:=C*1.11>压力;
冲顶1:=HHV(HIGH,15)*1.1>HHV(HIGH,30);
波段顶:连续>0 AND 连续<30 AND 冲顶1 AND 冲顶 AND COUNT(C>MA(C,5),5)=5 AND
(C-REF(C,10))/REF(C,10)>0.2 AND COUNT(C>=O,20)>=12;