JJ:=(CLOSE+HIGH+LOW)/3; A:=EMA(JJ,22);{默认参数14} B:=REF(A,3);{默认参数1} STICKLINE(A>B,A,B,3,0),COLORYELLOW; STICKLINE(A<B,A,B,3,0),COLORBLUE,COLORFF6666; DRAWTEXT(CROSS(A>B,0.5),L-0.5,2),COLORYELLOW; DRAWTEXT(CROSS(B>A,0.5),H+0.5,1),COLORGREEN;
M5:EMA(CLOSE,5); M10:EMA(CLOSE,10); M20:EMA(CLOSE,20); M60:EMA(CLOSE,60); M120:=EMA(CLOSE,120); M250:EMA(CLOSE,250), COLORRED,LINETHICK2; |