A1:=EMA(CLOSE,7)-EMA(CLOSE,21);B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);空:IF(A1>=B1,A1,B1),LINETHICK2,COLORGREEN;多:IF(B1-A1,B1,A1),LINETHICK2,COLORRED;VAR1:=OSS(多,空) AND 多-空=0;:IF((多-空=0),1,0),COLORRED,POINTDOT;:IF((多-空<0),1,0),COLORGREEN,POINTDOT;买值:多-空;卖值:空-多;