DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; BOLL:=MA(CLOSE,20); UPPER:=BOLL+2*STD(CLOSE,20); LOWER:=BOLL-2*STD(CLOSE,20); K1:=CLOSE>OPEN ; K2:=VOL>=2*REF(VOL,1); K3:=CROSS(DIF,DEA) AND DIF<=0 ; K4:=CROSS(CLOSE,BOLL); 选股:K1 AND K2 AND K3 AND K4 ;
看股吧 公式 www.kanguba.c om