N:=30;N1:=2;{N为30天,可调}VAR1:=MA(C,N);:IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL)POINTDOT,COLORRED;下降:IF(VAR1
[MA(C,N),0.5);TJ:=BARSLAST(A);XG:=TJ<5>REF(MA(C,N),1),10);DRAWTEXT(XG,C,'----------------------------均线'),COLORYELLOW;B:=BARSLAST(XG);DRAWICON(B<30>REF(C,B),B+1)=1 AND C>REF(C,B),C,9);{公式:N:=30;N1:=2;VAR1:=MA(C,N);A:=CROSS(EVERY(C<=MA(C,N) AND CMA(C,N),0.5);TJ:=BARSLAST(A);XG:=TJ<5>REF(MA(C,N),1),10);B:=BARSLAST(XG);B<30>REF(C,B),B+
]