以下是通达信超级短线回调战法套装主图/副图预警指标源码(无源码的请下载附件导入)
MX:MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
X_1:=MA(CLOSE,20);
UX:X_1+2*STD(CLOSE,20),DOTLINE,COLORRED;
LX:X_1-2*STD(CLOSE,20),DOTLINE,COLORGREEN;
IF(UX<REF(UX,2),UX,DRAWNULL),DOTLINE,COLORRED;
IF(LX<REF(LX,2),LX,DRAWNULL),DOTLINE,COLORGREEN;
GZX:EMA(CLOSE,8),COLORFFCC66;
IF(GZX<REF(GZX,2),GZX,DRAWNULL),COLORWHITE;
X_2:=MA(CLOSE,6);
X_3:=EMA(CLOSE,47);
P2:MA(CLOSE,13),COLORFF36FF,LINETHICK0;
X_4:=AMOUNT/VOL/100;
X_5:=REF(CLOSE,1);
X_6:=IF(REF(CLOSE,1)*1.093-CLOSE<0.01,1,0);
STICKLINE(X_6,OPEN,CLOSE,5,0),COLORRED;
STICKLINE(X_6,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(X_6,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.06,OPEN,CLOSE,2,0),COLORYELLOW;
1253122149.png
1253377685.png
|