以下是通达信五彩神兵升级版主图源码(无源码的请下载附件导入)
VAR1:=EMA(CLOSE,30);
VAR2:=EMA(CLOSE,35);
VAR3:=EMA(CLOSE,40);
VAR4:=EMA(CLOSE,45);
TDXSTEP109:DRAWBAND(VAR1,RGB(173,173,39),VAR4,RGB(173,173,39));
VAR5:=EMA(CLOSE,90);
VAR6:=EMA(CLOSE,98);
VAR7:=EMA(CLOSE,106);
VAR8:=EMA(CLOSE,114);
TDXSTEP110:DRAWBAND(VAR5,RGB(45,106,168),VAR8,RGB(45,106,168));
VAR9:=EMA(CLOSE,140);
VAR10:=EMA(CLOSE,148);
VAR11:=EMA(CLOSE,156);
VAR12:=EMA(CLOSE,164);
TDXSTEP111:DRAWBAND(VAR9,RGB(185,49,151),VAR12,RGB(185,49,151));
TDXSTEP112:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
VAR13:=HHV(EMA(CLOSE,21),2);
NOTEXT20:EMA(CLOSE,21),COLORRED,LINETHICK2;
NOTEXT30:IF(VAR13=NOTEXT20 AND UPNDAY(VAR13,3),VAR13,DRAWNULL),COLORRED,LINETHICK2;
NOTEXT40:IF(REF(VAR13,2)>NOTEXT20,NOTEXT20,DRAWNULL),COLORGREEN,LINETHICK2;
VAR14:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR15:=VAR14>3 AND HIGH>LOW;
STICKLINE(VAR15,OPEN,CLOSE,0.5,0),COLORBLUE;
713566719.jpg
|