以下是通达信滚动波段源码副图

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);

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。