杭州龍A:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2); 莊影難逃:=EMA((杭州龍A-REF(杭州龍A,1))/REF(杭州龍A,1),1)*1000,COLORFF00FF,NODRAW; 凈:=XMA(莊影難逃,11); 流:=EMA(凈,11); 主力動向:EMA(凈+流,1)-XMA(凈-流,2),COLORFF00FF,NODRAW; 杭州龍:=XMA(主力動向,11),COLORFF00FF,NODRAW; STICKLINE(杭州龍<0,杭州龍,0,4,0),COLOR009900; STICKLINE(杭州龍<0,杭州龍,0,3,0),COLOR00BB00; STICKLINE(杭州龍<0,杭州龍,0,2,0),COLOR00DD00; STICKLINE(杭州龍<0,杭州龍,0,1,0),COLOR00FF00; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,4,0),COLOR000099; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,3,0),COLOR0000BB; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,2,0),COLOR0000DD; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,1,0),COLOR0000FF; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,4,0),COLOR000099; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,3,0),COLOR0000CC; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,1.5,0),COLOR0000FF; STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,0.5,0),COLORCC00FF; VAR2:=EXPMEMA(XMA(WINNER(C)*100,2),1); STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,4,0),COLOR990099; STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,3,0),COLORBB00BB; STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,2,0),COLORDD00DD; STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,1,0),COLORFF00FF; STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,4,0),COLORCC9900; STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,3,0),COLORDDBB00; STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,2,0),COLORBBDD00; STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,1,0),COLORAAFF00; DRAWTEXT(CROSS(0,杭州龍),0,'空'),COLOR00FFFF; DRAWTEXT(CROSS(杭州龍,0),0,'買'),COLORFF00FF;
|