通达信精确波段,波段类副图 源码源码分享

[复制链接]
查看255 | 回复0 | 2021-8-26 22:18:12 | 显示全部楼层 |阅读模式

以下是通达信精确波段,波段类副图 源码源码分享(无源码的请下载附件导入)

精确波段,波段类公式

 {精确波段}    VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;   AA:(EMA(VAR1,3))*2;        BB:MA(AA,3);

               STICKLINE(AA>=BB,53,47,4,0),COLOREE82EE;                STICKLINE(AA<BB,53,47,4,1),COLORB3EE3A;        STICKLINE(CROSS(AA,20),58,42,2,0),COLORB23AEE;

               VAR2:8,COLORGREEN,LINETHICK0;                           IF(CROSS(AA,VAR2),40,0),STICK,LINETHICK2;

               DRAWICON(CROSS(AA,VAR2),40,13);                         DRAWICON(CROSS(80,AA),80,14);                  IF(AA<=8,5,0),STICK,COLORFF00FF,LINETHICK5;

               STICKLINE(CROSS(80,AA),80,70,0.2,0),COLOR00FF00;        DRAWICON(CROSS(80,AA),70,2);                   DRAWTEXT(CROSS(80,AA),68,'卖');

               DRAWTEXT(CROSS(AA,VAR2),49,'买');                       DRAWICON(CROSS(AA,20),30,1);                   STICKLINE(CROSS(AA,20),20,30,0.2,0),COLORRED;

               DRAWICON(CROSS(AA,20),20,13);                           DRAWICON(CROSS(AA,VAR2),0,13);                 DRAWTEXT(CROSS(AA,20),62,'加仓');

               VAR0:=CLOSE;                                            {IF(VAR0,0,0),COLORB3B3B3,PRECIS0;}            IF(VAR0,20,0),COLORFF00FF,CIRCLEDOT;

               IF(VAR0,80,0),COLORFF00FF,CIRCLEDOT;            IF(VAR0,100,0),COLORB3B3B3;

 

920155085.png

920155085.png

920222505.png

920222505.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则