DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
MACD1:=200*(DIFF1-DEA1);
DIFF2:=EMA(CLOSE,4)-EMA(CLOSE,8);
DEA2:=EMA(DIFF2,4);
MACD2:=200*(DIFF2-DEA2);
DIFF3:=EMA(CLOSE,2)-EMA(CLOSE,4);
DEA3:=EMA(DIFF3,2);
MACD3:=200*(DIFF3-DEA3);
A1:=MACD1>REF(MACD1,1) AND MACD1>0;
A2:=MACD2>REF(MACD2,1) AND MACD2>0;
A3:=MACD3>REF(MACD3,1) AND MACD3>0;
SSS买:A1 AND A2 AND A3;