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:=CROSS(多,空) AND 多-空=0;
持股:IF((多-空=0),1,0),colorred,POINTDOT;
持币:IF((多-空<0),1,0),colorgreen,POINTDOT;
//www.gspt.com
买值:多-空;
卖值:空-多;