以下是通达信买入上冲副图指标源码(无源码的请下载附件导入)
高开反包,成功率很高
公式有未来函数
X_1:=REF(CLOSE,1)<REF(OPEN,1) AND OPEN>REF(CLOSE,1) AND CLOSE>=REF(CLOSE,1)*1.05;
STICKLINE(X_1,20,0,4,0),COLOR000099;
STICKLINE(X_1,30,0,2,0),COLOR0000BB;
STICKLINE(X_1,40,0,1,0),COLOR0000DD;
STICKLINE(X_1,60,0,0.9,0),COLORRED;
DRAWICON(X_1,60,34);
DRAWTEXT(X_1>0,30,1),COLOR00C5FF;
X_2:=CLOSE/REF(CLOSE,3)>=1.1;
X_3:=BACKSET(X_2,3);
买入上冲:IF(X_3 AND COUNT(X_3,3)=1,30,0),COLORYELLOW,LINETHICK3;
1427566357.png
|