SHORT:=12;LONG:=26;MID:=9;DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIF,MID);VAR1:=AMOUNT//100; 指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2); 界:=MA(CLOSE,27); VAR11:=(2*CLOSE+HIGH+LOW)/4; 红:=MA(MA(CLOSE,3),1); 绿轨道:=MA(MA(CLOSE,3),3); XG:指导<界 AND OSS(红轨道,绿轨道) AND CROSS(DIF,DEA);