以下是通达信实战操盘之【通达信】{超级波段主图}源码有图

    通达信实战操盘之【通达信】{超级波段主图}源码有图

    C/C++Code复制内容到剪贴板

    {超级波段主图ZIG经典指标之阳线买入法}

    STICKLINE(MA(CLOSE,60)>MA(CLOSE,120),MA(CLOSE,60),MA(CLOSE,120),8,0),COLOR000044;

    STICKLINE(MA(CLOSE,60)<MA(CLOSE,120),MA(CLOSE,60),MA(CLOSE,120),8,0),COLOR004400;

    DRAWKLINE(H,O,L,C);

    MA1:MA(CLOSE,5);

    MA2:MA(CLOSE,10);

    MA3:MA(CLOSE,20);

    MA4:MA(CLOSE,60),LINETHICK2;

    MA5:MA(CLOSE,120),LINETHICK2;

    MA6:MA(CLOSE,250);

    DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1);

    DRAWICON((ZIG(3,5)

    =REF(ZIG(3,5),2))AND(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);

    VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

    VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

    VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

    VAR6:=(VAR3+VAR4+VAR5)/3;

    VAR7:=EMA(VAR6,5);

    ZB:=EMA(EMA(VAR3,5),5)*3,COLORSTICK;

    VAR8:=IF(VAR6<=-20,10,0);

    VAR9:=HHV(VAR8,10);

    VARA:=IF(VAR9ANDCROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

    K:=EMA(VAR7,5)*2,,COLORFF00FF;

    D:=EMA(K,5),,COLORWHITE;

    J:=K*3-D*2,,COLORYELLOW;

    VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5))ANDJ>10;

    HS:=VOL/CAPITAL*100,,COLORGREEN;

    DRAWTEXT(VAR8=10ANDFILTER(VAR8=10,5),LOW*0.93,'接近底部')COLORMAGENTA;

    DRAWTEXT(VARA=20,LOW*0.95,'底部')COLORYELLOW;

    VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

    VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

    VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

    VAR11:=VARF

    REF(VOL,1)ANDCLOSE>REF(CLOSE,1);

    DRAWTEXT(VAR11ANDCOUNT(VAR11,30)=1,LOW*0.95,'大资金活动'),LINETHICK1,COLORFF00FF;

    VAR12:=(HIGH+LOW+CLOSE)/3;

    VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));

    VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));

    VAR15:=IF(VAR13>=150ANDVAR13

   <200and=""var14="">=150ANDVAR14<200,10,0);

    VAR16:=IF(VAR13

    <=-150and=""var13="">-200ANDVAR14<=-150and=""var14="">-200,-10,VAR15);

    VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

    VAR18:=100-ABS(VAR17);

    VAR19:=IF(VAR18<90,VAR18,100);

    VAR1A:=IF(VARE>0,VARE,0);

    VAR1B:=IF(VAR14>=200ANDVAR13>=150,15,IF(VAR14<=-200ANDVAR13<=-150,-15,VAR16))+60;

    VAR1C:=VAR1A>48ANDVAR1B>60ANDVAR19<100;

    DRAWTEXT(VAR1CANDCOUNT(VAR1C,30)=1,LOW*0.95,'大笔成交')COLORWHITE;

    TY:=C;

    A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);

    A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);

    A:=REF(C,BARSLAST(HD));B:=REF(L,BARSLAST(LD));

    T1:=BARSLAST(HD)<BARSLAST(LD)ANDNOT(HD);

    T2:=BARSLAST(HD)>BARSLAST(LD)ANDNOT(LD);

    顶:IF(T1,A,A),COLORYELLOW,POINTDOT,LINETHICK3;

    底:IF(T2,B,B),COLORGREEN,POINTDOT,LINETHICK3;

    大盘下跌很厉害!献给有指标基础的朋友们一个经典指标!(有未来)

    ZIG经典实战指标之阳线买入阴线卖出法

    真正的市场高手,必是在融合了各种技术,最后又脱离了技术束缚的“达人”。

    他们研究技术指标,却从来不依赖;

    他们看重均线,却也不迷恋;

    他们注重业绩,只是作为参考;

    他们主要通过股票量、价、时、空关系,判断上涨的潜力;

    这是一个有心人、苦心人不断探索之后必然的辉煌。

image.png

文章来源  实战操盘之【通达信】{超级波段主图}源码有图

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