以下是通达信跟庄追涨停副图指标源码(无源码的请下载附件导入)
X_1:=REF(OPEN>CLOSE,1) AND REF(CLOSE,2)/REF(CLOSE,1)>=1.06;
X_2:=CLOSE/REF(CLOSE,1)>=1.098;
X_3:=(HIGH+LOW+CLOSE)/3;
X_4:=(X_3-MA(X_3,14))/(0.015*AVEDEV(X_3,14));
X_5:=REF(X_4,1)<(-180);
XG:X_1 AND X_2 AND X_5;
0,COLORRED,LINETHICK2;
STICKLINE(XG,0,20,2,0),COLORLIRED;
STICKLINE(XG,20,40,2,0),COLORBLUE;
STICKLINE(XG,40,60,2,0),COLORRED;
DRAWICON(XG,41,29);
DRAWICON(XG,20,25);
DRAWICON(XG,60,26);
DRAWICON(XG,1,28);
2018133489.png
|