以下是通达信滚动波段源码副图
VAR1:=IF(KDJ.J(27,3,3)<0,10,0);
VAR2:=CROSS(9.9,VAR1);
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,5);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,5);
VAR7:=IF(DATETODAY(DATE)<11699,1,DRAWNULL);
VAR8:=MA(VAR6,2);
AA:STICKLINE(VAR6>VAR8,VAR6,VAR8,3,1),COLORRED;
VAR9:=IF(1<2442.459961*500,1,DRAWNULL);
AAA:IF(VAR6>VAR8,VAR6,VAR8),COLORRED;
VAR10:=STICKLINE(VAR6>VAR8 AND REF(VAR6,1)<30,VAR6,VAR8,3,1);
STICKLINE(VAR6<=VAR8,VAR6,VAR8,3,1),COLORFFCC66;
DRAWICON(CROSS(9.9,VAR1),VAR6-12,5);
STICKLINE(CROSS(9.9,VAR1),VAR6+5,VAR8-4,3,1),COLORYELLOW;
VAR11:=STICKLINE(VAR10,VAR6+5,VAR8-4,3,1);
STICKLINE(FILTER(VAR11,5),VAR6+5,VAR8-4,3,1),COLORYELLOW;
V20:20,COLORGREEN;
V50:50,COLORGREEN;
V80:80,COLORGREEN;
VAR12:=IF(KDJ.J(27,3,3)>100,90,100);
DRAWICON(CROSS(VAR12,99.900002),VAR6+12,6);
VAR13:=VAR6>VAR8 AND REF(VAR6,1)>70;
STICKLINE(CROSS(VAR12,99.900002),VAR6,VAR8-9,3,1),COLORGREEN;
VAR14:=STICKLINE(VAR13,VAR6+5,VAR8-4,3,1);
STICKLINE(FILTER(VAR14,5),VAR6+5,VAR8-4,3,1),COLORGREEN;
DRAWICON(FILTER(VAR10,5),VAR6-8,1);
DRAWICON(FILTER(VAR13,5),VAR6+8,2);
评论(0)