M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);M30:=MA(CLOSE,30);SR1:=REF(HIGH,20)=HHV(HIGH,2*20+1);SR2:=FILTER(SR1,20);SR3:=BACKSET(SR2,20+1);HD:=FILTER(SR3,20);前高:=REF(H,BARSLAST(HD));突破:=CROSS(C,前高);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);選股:EXIST(突破,5) AND C>前高 AND CAND MACD>=0 AND MACD>REF(MACD,1) AND DIF>DEA AND DIF<0.50AND M5>M20 AND DYNAINFO(7)>M20 AND DYNAINFO(7)<30; |
|