本指标用5日,20日,60日为参数,均线拐头向上就变色。向下也变色。经典中的经典。
VAR2:MA(C,5),COLORRED,LINETHICK3;
上翘:IF(VAR2>REF(VAR2,1),VAR2,DRAWNULL),COLORRED,LINETHICK3;
下拐:IF(VAR2<REF(VAR2,1),VAR2,DRAWNULL),COLORGREEN,LINETHICK3;
VAR1:MA(C,20),COLORRED;
上升:IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),COLORRED;
下降:IF(VAR1<REF(VAR1,1),VAR1,DRAWNULL),COLORGREEN;
M60:MA(C,60),COLORWHITE POINTDOT;
IF(M60>=REF(M60,1),M60,DRAWNULL),LINETHICK2,COLORRED;
IF(M60<=REF(M60,1),M60,DRAWNULL),LINETHICK1,COLORCC9900;