同花顺做多做空源码附图
-
相关简介:MA5:MA(C,5),COLORF00FF0; MA20:MA(C,20),COLORE66878; X1:=(C+L+H)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); DRAWICON(CROSS(X2,X3),LOW*0.9,1); DRAWTEXT(CROSS(X2,X3),LOW*0.9,' 做多'),colorred; DRAWICON(CROSS(X3,X2),HIGH*1.03,2); DRAWTEXT(CROSS(X3,X2),HIGH*1.03,' 做空
-
文章来源:股海网作者:股海网发布时间:2015-10-05浏览次数:
MA5:MA(C,5),COLORF00FF0;
MA20:MA(C,20),COLORE66878;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWICON(CROSS(X2,X3),LOW*0.9,1);
DRAWTEXT(CROSS(X2,X3),LOW*0.9,' 做多'),colorred;
DRAWICON(CROSS(X3,X2),HIGH*1.03,2);
DRAWTEXT(CROSS(X3,X2),HIGH*1.03,' 做空'),colorgreen;
STICKLINE(X2>=X3,LOW,HIGH,0.1,1),colorred;
STICKLINE(X2>=X3,CLOSE,OPEN,2,1),colorred;
STICKLINE(X2>=X3,CLOSE,OPEN,2,1),colorbrown;
STICKLINE(X2<X3,LOW,HIGH,0.1,1),colorgreen;
STICKLINE(X2<X3,CLOSE,OPEN,2,2),colorgreen;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,2,1),coloryellow;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,2,2),colorblue;
|