DIFF:= EMA(CLOSE,12)-EMA(CLOSE,26);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=2*(DIF-DEA);
VV:=CLOSE>OPEN AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30) AND DIFF>DEA AND MacD>REF(MACD,1) AND DIFF>0 AND DEA>0 AND MA(vol,5)>MA(VOL,34) AND MA(CLOSE,30)>=REF(MA(CLOSE,30),1);
佛手:=IF(VV,1,0);
上指:佛手;