MM:=EMA(EMA(EMA(C,12),12),12);TT:=(MM-REF(MM,1))/REF(MM,1)*100;MATT:=MA(TT,9);A:=TT<0>MATT AND MATT>REF(MATT,1) AND TT>REF(TT,1);RSV:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);AA:=K<30>D AND K>REF(K,1) AND D>REF(D,1);均:=MA(C,5)>MA(C,20) AND C>MA(C,20) AND MA(C,20)>REF(MA(C,20),1) AND C>O ;XG:A AND AA AND 均;