操盘手 附图公式 源码介绍
操盘手 附图公式 源码
ma3:MA(C,5),colorf00ff0;
ma10:MA(C,10),coloryellow;
ma21:MA(C,21),colore66878;
ma30:MA(C,30),colorwhite;
ma120:MA(C,120),color399c7f,POINTDOT;
ma240:MA(C,240),color000999,POINTDOT;
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
DRAWICON(CROSS(X2,X3),L-0.1,10);
DRAWICON(CROSS(X3,X2),H+0.1,12);
STICKLINE(x2>=x3,LOW,HIGH,0.1,1),colorred;
STICKLINE(x2>=x3,CLOSE,OPEN,8,0),colorred;
STICKLINE(x2>=x3,CLOSE,OPEN,8,0),colorbrown;
STICKLINE(x2<x3,LOW,HIGH,1,1),colorgreen;
STICKLINE(x2<x3,CLOSE,OPEN,8,0),colorgreen;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,8,0),coloryellow;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,8,0),colorblue;
买线:EMA(C,2),color000999;
卖线:EMA(SLOPE(C,21)*20+C,42),POINTDOT,coloryellow;
BUYf:=CROSS(买线,卖线);
SELf:=CROSS(卖线,买线);
DRAWICON(BUYf,L-0.1,'BUY');
DRAWICON(self,H+0.1,'sell');
STICKLINE(买线>卖线,L,H,1,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorred;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),color00ff00;
STICKLINE(买线<卖线,L,H,1,1),color00ff00;
STICKLINE(BUYf,O,C,8,0),color00ffff;
STICKLINE(SELf,O,C,8,0),colorff9900;
gd26059