MA10:=MA(C,10); MA20:=MA(C,20); A:=CROSS(MA10,MA20); B:=CROSS(MA20,MA10); A1:=BARSLAST(A)+1; B1:=BARSLAST(B)+1; 红数:IF(B1>A1,A1,0),LINETHICK0; 绿数:IF(A1>B1,-B1,0),LINETHICK0; STICKLINE(B1>A1,0,A1,2,0),COLORRED; STICKLINE(A1>B1,0,-B1,2,0),COLORGREEN;