通达信主力控盘指标公式源码

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

VAR3:=EMA(VAR2,10);

VAR4:=LLV(LOW,33);

VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);

主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORRED;

洗盘:IF(VAR5

STICKLINE(VAR5

ZLCM:=EMA((WINNER(CLOSE) * 70),3);

SHCM:=EMA(((WINNER((CLOSE * 1.1)) – WINNER((CLOSE * 0.9))) * 80),3);

主力控盘:((ZLCM / (ZLCM + SHCM)) * 100),LINETHICK2,COLORYELLOW;

顶:90, LINETHICK2 ,COLORRED;

风险:80,,COLORYELLOW;

平衡:50,COLORGREEN;

安全:20,COLORBLUE;

底:0, LINETHICK2 ,COLORWHITE;

大盘指数:INDEXC,NODRAW,COLORLIMAGENTA ;

大盘指数涨跌:(大盘指数-REF(大盘指数,1)),NODRAW;

涨家数:INDEXADV,NODRAW,COLORLIMAGENTA ;

跌家数:INDEXDEC,NODRAW,COLORGREEN;

image.png

通达信操盘手主图指标

    Cma5:MA(CLOSE,5),LINETHICK1,COLORWHITE;

    MA10:MA(CLOSE,10),LINETHICK1,COLORYELLOW;

    MA20:MA(CLOSE,20),LINETHICK1,COLORMAGENTA;

    MA60:MA(CLOSE,60),LINETHICK1,COLORGREEN;

    MA120:MA(CLOSE,120),LINETHICK1,COLORRED;

    MA250:MA(CLOSE,250),LINETHICK1,COLORYELLOW;

    买线:=EMA(C,4);

    卖线:=EMA(SLOPE(C,20)*10+C,35);

    DRAWTEXT(crOSS(买线,卖线),LOW*0.98,'买'),COLORRED;

    DRAWTEXT(CROSS(卖线,买线),HIGH*1.02,'卖')COLORGREEN;

    stICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORRED;

    STICKLINE(买线>=卖线,CLOSE,OPEN,3,2),COLORRED;

    STICKLINE(买线<卖线,LOW,HIGH,0,0),COLOR00FF00;

    STICKLINE(买线<卖线,CLOSE,OPEN,3,2),COLOR00FF00;

    STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3.2,0),COLOR00FF00;

    STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,3.2,0),COLORRED;

    STICKLINE((CLOSE>OPEN)AND(买线<卖线),CLOSE,OPEN,3.2,2)COLOR00FF00;

    STICKLINE((CLOSE>OPEN)AND(买线>=卖线),CLOSE,OPEN,3.2,2)COLORRED;

    STICKLINE((CLOSE<OPEN)AND(买线<卖线),CLOSE,OPEN,3.2,0)COLOR00FF00;

    STICKLINE((CLOSE<OPEN)AND(买线>=卖线),CLOSE,OPEN,3.2,0)COLORRED;

    主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;

    B:=主趋势线>REF(主趋势线,1);

    IF(B-1,主趋势线,DRAWNULL)COLORBLUE,LINETHICK3;

image.png

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