N:=10;{参数根据行情的走势和自己的喜好设置,参数大选的个股少,成功率高;反之选得多,成功率下降}
突破平台:=REF(HHV(C,N),1)/LLV(C,N)<1.5 AND CROSS(CLOSE,REF(HHV(CLOSE,N),1));
涨停:=C/REF(C,1)>1.095;{如果设定预警可将1.095改小一些,我改成1.07}
JD:=ATAN(("MACD.DIF#WEEK"/REF("MACD.DIF#WEEK",1)-1)*100)*180/3.1416 ;
前期上穿零:=EXIST(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"),15) AND "MACD.DIF#WEEK">0;
加速:=REF(JD,1)<40 AND JD>45;
涨停突破平台:突破平台 AND 前期上穿零 AND 加速 AND 涨停;