X1:=EMA(C,3); X2:=REF(X1,1); X3:=((X1-X2)/X2*100)*10; N3:=BArslAST(crOSS(X3,45)); N4:=BARSLAST(CROSS(45,X3)); X4:IF(N3<N4,N3+1,0),NODRAW; 涨幅:(C-REF(C,1))/REF(C,1)*100,COLORGREEN; 累计涨幅:SUM(涨幅,X4)COLORRED;