A1:=EVERY(C/REF(C,1) =1.097 AND C=O,新股);
去除:=NOT(NAMELIKE('S') OR NAMELIKE('*ST') OR INBLOCK('风险提示') OR CODELIKE('688') OR A1) AND C
涨停:=C/REF(C,1) =1.095 AND C=H;
涨停次数:=COUNT(涨停,BARSLASTCOUNT(涨停));
曾涨停:=C/REF(C,1) =1.095 AND C
攻击波幅:=(C-L)/L*100
A:=涨停 OR 曾涨停 OR 攻击波幅;
{突破波浪顶}
TY:=C;{www.9m8.cn 九毛八公式指标网}
HDP:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LDP:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
AP:=REF(C,BARSLAST(HDP));
B:=REF(C,BARSLAST(LDP));
T1:=BARSLAST(HDP) BARSLAST(LDP) AND NOT(HDP) ;
T2:=BARSLAST(HDP) BARSLAST(LDP) AND NOT(LDP);
波浪顶:=IF(T1,AP,AP);
主升1:=CROSS(H,波浪顶) ;
主升1 AND A AND 去除;