M3:=MA(CLOSE,3); M13:=MA(CLOSE,13); M34:=MA(CLOSE,34); X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120)); PARTLINE(M34STICKLINE(M3>=M13 AND M34>=REF(M34,1) ,H ,L ,0.01,0 ),COLORRED; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,8,0 ),COLORRED; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND CSTICKLINE(M3=REF(M34,1) ,H ,L ,0.01 ,0 ),COLORYELLOW; STICKLINE(M3=REF(M34,1) AND C>=O ,O ,C ,8 ,0),COLORYELLOW; STICKLINE(M3=REF(M34,1) AND CSTICKLINE(M3STICKLINE(M3=O ,O ,C ,8 ,0 ),COLORGREEN; STICKLINE(M3STICKLINE(M3>=M13 AND M34STICKLINE(M3>=M13 AND M34[=O ,O ,C ,8 ,0 ),COLORMAGENTA;] STICKLINE(M3>=M13 AND M34DRAWTEXT(X,MA(C,120)-0.13,"牛股"),COLORYELLOW,LINETHICK3;
|