以下是通达信超准分时副图源码

{★分时副图★}

BGTYU:=IF(DATE <= 1590301,1,0);

GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);

VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));

底线:1.003,COLORRED,LINETHICK2;

高线:1.03,COLORRED,LINETHICK3;

黄色起动线:EMA((CLOSE/VBNH),20),COLORYELLOW,POINTDOT; 

洋红色主力线:EMA((CLOSE/VBNH),60),COLORMAGENTA,LINETHICK1;

绿色散户线:EMA((CLOSE/VBNH),120),COLORGREEN,LINETHICK1;

DRAWICON(CROSS(EMA((CLOSE/VBNH),60),EMA((CLOSE/VBNH),120)),EMA((CLOSE/VBNH),60)*1,1);

DRAWICON(CROSS(EMA((CLOSE/VBNH),120),EMA((CLOSE/VBNH),60)),EMA((CLOSE/VBNH),120)*1,2); 

DRAWICON(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02+0.005,18);

STICKLINE(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02,1.025,5,0), COLORMAGENTA;

STICKLINE(EMA(C,10) > EMA(C,60) ,1.03,1.034,2.0,0),COLORRED;

STICKLINE(EMA(C,10) < EMA(C,60) ,1.03,1.025,2.0,0),COLORGREEN;

DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02,'拉升'),COLORYELLOW;

DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),1.04),1.04,'可能涨停'),COLORYELLOW;

 

STICKLINE(EMA((CLOSE/VBNH),120)>1.003 ,1.03,1.039,2.0,0),COLORMAGENTA;

DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.028,'买进'),COLORYELLOW;

DRAWICON(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.0326*1,9);

DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.036,'观察分时量'),COLORYELLOW;

DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.004),1.005,'超强'),COLORYELLOW;

DRAWICON(CROSS(EMA((CLOSE/VBNH),120),1.004),1.003*1,9);

 

 

通达信超准分时副图源码

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