MA1:=MA(CLOSE,20);
VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,20)*(1+80/1000),COLORGREEN,LINETHICK2;
买入:=XMA(VAR1,32)*(1-100/1000),COLORMAGENTA,LINETHICK2;
XG:COUNT(C买入 AND C/REF(C,1)>1.01 AND C>MA1;
MA1:=MA(CLOSE,20);
VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,20)*(1+80/1000),COLORGREEN,LINETHICK2;
买入:=XMA(VAR1,32)*(1-100/1000),COLORMAGENTA,LINETHICK2;
XG:COUNT(C买入 AND C/REF(C,1)>1.01 AND C>MA1;