最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信慢牛主图+慢牛副图指标 九毛八公式指标网

    正文概述    2024-04-07 12:07:08  
    慢牛副图源码:
    TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
    MTIME:=MOD(FROMOPEN,TOTAL);
    CTIME:=IF(MTIME 0.5,TOTAL,MTIME);
    VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
    STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1) && FROMOPEN 60,VVOL,0,-1,-1),COLOR00C0C0;
    VOLUME:VOL,VOLSTICK;
    {MAVOL1:MA(VOLUME,M1);
    MAVOL2:MA(VOLUME,M2);}
    TJ:=C {www.9m8.cn 九毛八公式指标网}
    TJ1:=C REF(C,1) AND TJ;
    TJ2:=AMOUNT/V/100 REF(C,1) AND O REF(C,1) AND NOT(TJ1) AND TJ;
    STICKLINE(TJ1,VOL,0,-1,0),COLORMAGENTA;
    STICKLINE(TJ2,VOL,0,-1,0),COLORMAGENTA;
    TJ3:=CLOSE =ZTPRICE(REF(CLOSE,1),0.1) AND PERIOD = 5;
    STICKLINE(TJ3,VOL,0,-1,0),COLORRED;
    {DRAWICON(TJ1,H,1);
    DRAWICON(TJ2,H,5);};
    SL1TJ:=V=LLV(V,100) AND BARSCOUNT(V)
    SL2TJ:=V REF(V,1)/2 AND NOT(SL1TJ);
    SDI:=IF(C O,O,C);
    SDING:=IF(C O,C,O);
    SL3TJ:=V REF(V,1)/1.5 AND NOT(SL2TJ) AND NOT(SL1TJ);{ AND SDI REF((SDING-SDI)/1.5+SDI,1);}
    DRAWTEXT(SL3TJ,V*0.95,'3'),DRAWABOVE,COLORYELLOW;
    DRAWTEXT(SL2TJ,V*0.95,'2'),DRAWABOVE,COLORYELLOW;
    DRAWTEXT(SL1TJ,V*0.95,'1'),DRAWABOVE,COLORYELLOW;
    DRAWTEXT_FIX(1,0,0,0,FGBLOCK)COLORYELLOW;
    通达信慢牛主图+慢牛副图指标 源码 贴图
    通达信慢牛主图+慢牛副图指标 源码 贴图

    {涨跌停标识}
    涨跌:=REF(C,1);
    涨停:=IF((C-涨跌)*100/涨跌 =(10-0.01*100/涨跌),1,0);
    STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;
    跌停:=IF((涨跌-C)*100/涨跌 =(10-0.01*100/涨跌),1,0);
    STICKLINE(跌停,OPEN,CLOSE,2,0),COLOR808000;

    {21位画线}
    FLAG:=ABS(C-O)/IF((H-L) = 0,100,H-L);
    ZHANGF:=ABS(C-O)/O;
    WEI21:IF(CODELIKE('9999'),(H-L)*0.5+L,IF(C O,(C-O)*0.5+O,(O-C)*0.5+C)),NODRAW;
    STICKLINE(ZHANGF =0.03 && FLAG = 0.03,WEI21,WEI21,-1,0),COLORMAGENTA;
    实21:(O+C)/2,NODRAW;
    实31:O+(C-O)*2/3,NODRAW,COLOR99CC32;
    虚21:H-(H-L)*0.5,NODRAW,COLORMAGENTA;
    明日涨停10:IF(CODELIKE('00') OR CODELIKE('600') OR CODELIKE('601') OR CODELIKE('603') OR CODELIKE('605') ,C*1.1,0),COLORRED,NODRAW;
    明日涨停20:IF(CODELIKE('300') OR CODELIKE('688'),C*1.2,0),COLORRED,NODRAW;
    TK:=C O AND O =REF(MAX(C,O),1)+0.01 OR O =REF(C,1)+0.01 ;
    STICKLINE(TK, O,(C-O)*0.01+O,3,0),COLORYELLOW;
    ZF:=H =INTPART(REF(C,1)*1.1*100+0.5)/100 AND H
    ZF2:=H =INTPART(REF(C,1)*1.2*100+0.5)/100 AND H
    DT:=L =INTPART(REF(C,1)*0.9*100+0.5)/100 AND L
    上影线幅度:=((H-REF(C,1))/REF(C,1)-(MAX(O,C)-REF(C,1))/REF(C,1))*100;
    下影线幅度:=((REF(C,1)-L)/REF(C,1)-(REF(C,1)-MIN(O,C))/REF(C,1))*100;
    上影线长:=H-MAX(O,C);
    下影线长:=MIN(O,C)-L;{www.9m8.cn 九毛八公式指标网}
    长度比较:=上影线长/下影线长;{上下影线长度比}
    A:=IF(CODELIKE('300') OR CODELIKE('688'),1,0);
    A1:=IF(CODELIKE('00') OR CODELIKE('600') OR CODELIKE('601') OR CODELIKE('603') OR CODELIKE('605'),1,0);
    STICKLINE((MIN(O,C)=L OR 长度比较 1) AND ZF AND A1,H-上影线长*1,H,0.01,0),COLORRED;
    STICKLINE((MIN(O,C)=L OR 长度比较 1) AND ZF2 AND A,H-上影线长*1,H,0.01,0),COLORRED;
    STICKLINE((MAX(O,C)=H OR 长度比较 1) AND DT,L+下影线长*1,L,0.01,0),COLORBLUE;
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLORYELLOW;{在屏幕左上角显示所属行业板块}
    DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK),COLORYELLOW;{在屏幕左上角显示所属地域板块}
    DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK),COLORYELLOW;{在屏幕左上角显示所属概念板块};


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信慢牛主图+慢牛副图指标 九毛八公式指标网 加入收藏