X1:=(C+L+H)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); A:=EMA(X1,10); B:=REF(A,1); STICKLINE(A>B,A,B,5,1),COLOR006666; STICKLINE(A<B,A,B,5,1),COLOR660000; MA5:MA(CLOSE,5); {www.70822.com} MA10:MA(CLOSE,10); MA20:MA(CLOSE,20); MA30:MA(CLOSE,30); MA60:MA(CLOSE,60)POINTDOT; MA120:MA(CLOSE,120),COLORLIGRAY,POINTDOT; MA250:MA(CLOSE,250),COLORBLUE,POINTDOT; {DRAWICON(CROSS(X2,X3),L*0.98,7); DRAWICON(CROSS(X3,X2),H*1.02,8); } STICKLINE(X2>=X3,L,H,0.1,1),COLORRED; STICKLINE(X2>=X3,C,O,-1,0),COLORRED; STICKLINE(X2>=X3 AND C>O,C,O,-1,1),COLORRED; STICKLINE(X2<X3,L,H,0.1,1),COLORBLUE; STICKLINE(X2<X3,C,O,-1,1),COLORBLUE; STICKLINE(X2<X3 AND C>O,C,O,-1,0),COLORBLUE; {www.88gs.com} DRAWTEXT(CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW * 0.99),'◎'),LINETHICK3,COLORF00FF0; DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2)),(HIGH * 1.01),'Ψ'),LINETHICK3,COLORFFFFFF; STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)) OR CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),LOW,HIGH,0,0),COLOR00AAAA; STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)) OR CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,-1,0),COLOR00AAAA; |
|