{龙头二波}
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
震仓线:=45,COLORMAGENTA;
抄底线:=20,COLORGREEN;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
A:=SMA(L,4,3);
选股1:=A AND REF(PP,1) AND HH;
选股2:=A AND REF(PP3,1) AND HH;
龙头二波:选股1 OR 选股2;