VAR1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100; DEA:=EMA(VAR1,9); MACD:=2*(VAR1-DEA); 高升:CROSS(MACD>REF(MACD,1)AND MACD<0,1); {BIAS1:(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100*10; if(ref(BIAS1,1)<-100 and BIAS1>ref(BIAS1,1) and BIAS1>-100,100,0);};