SQX:=(C-MA(CLOSE,13))*10; DIF:=EMA(MA(SQX,7),1); DEA:=EMA(DIF,7); macd:=(DIF-DEA)*2; 红箭头:MacD>REF(MACD,1) AND REF(MACD,1)