V1:=MA((EMA(C,3)-EMA(C,21)),4); V2:=REF(V1,2); V3:=REF(V1,1)+EMA(C,6)-EMA(C,12); V4:=EMA(V3,10); STICKLINE(C>0,REF(V3,1),V4,0,0),COLORLIGREEN, LINETHICK1; STICKLINE(V1>V2 AND V3>REF(V3,1),REF(V3,1),V3,2,0),COLORRED; STICKLINE(V1>V2 AND V3<REF(V3,1),REF(V3,1),V3,2,0),COLORGREEN; STICKLINE(V1<V2 AND V3>REF(V3,1),REF(V3,1),V3,2,0),COLORRED; STICKLINE(V1<V2 AND V3<REF(V3,1),REF(V3,1),V3,2,0),COLORGREEN; 滬漲家:"SH999999$ADVANCE",COLORRED,NODRAW; 滬跌家: "SH999999$DECLINE",COLORGREEN,NODRAW; 深漲家:"SZ399001$ADVANCE",COLORRED,NODRAW; 深跌家: "SZ399001$DECLINE",COLORGREEN,NODRAW; 總漲家:"SZ399001$ADVANCE"+"SH999999$ADVANCE",COLORRED,NODRAW; 總跌家:"SZ399001$DECLINE"+"SH999999$DECLINE",COLORGREEN,NODRAW; 漲占比%:總漲家/(總漲家+總跌家)*100,COLORMAGENTA,NODRAW; |
|