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

    正文概述    2024-04-14 15:14:11  

    MA5:MA(CLOSE,5),LINETHICK2,COLORWHITE;
    MA10:MA(CLOSE,10),LINETHICK2,COLORRED;
    MA26:MA(CLOSE,26),LINETHICK2,COLORYELLOW;
    获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;
    DRAWTEXT_FIX(获利%>=95 AND ISLASTBAR,0.97,0.97,0,'高危'),COLORRED;
    DRAWTEXT_FIX(获利%>=80 AND 获利%<95 AND ISLASTBAR,0.97,0.97,0,'风险'),COLORYELLOW;
    DRAWTEXT_FIX(获利%>=50 AND 获利%<80 AND ISLASTBAR,0.97,0.97,0,'安全'),COLORGREEN;
    DRAWTEXT_FIX(获利%<50 AND ISLASTBAR,0.97,0.97,0,'空头'),COLORBLUE;
    STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLOR0055FF;
    STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLOR00FF00;
    DP:=IF(C=INDEXC,0,1);
    GJ:=AMOUNT/V/100;
    【明日阻力】:L+(GJ-L)+(C-L),NODRAW;
    【明日支撑】:L+(C-GJ),NODRAW;
    今日阻力:REF(【明日阻力】 , 1),NODRAW;
    今日支撑:REF(【明日支撑】 , 1),NODRAW;
    {STICKLINE(ISLASTBAR AND DP=1 AND C>=今日阻力,今日阻力,今日阻力,30,0),COLOR0000FF;
    STICKLINE(ISLASTBAR AND DP=1 AND C<今日阻力,今日阻力,今日阻力,30,0),COLOR00FF00;
    STICKLINE(ISLASTBAR AND DP=1 AND C>=今日支撑,今日支撑,今日支撑,30,0),COLORFF00FF;
    STICKLINE(ISLASTBAR AND DP=1 AND C<今日支撑,今日支撑,今日支撑,30,0),COLORFF0000;}
    {A:=ISLASTBAR;
    B:=ISLASTBAR;
    D:=A-B;
    E:=HHV(H,D);}
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR,【明日支撑】,'-----------------------------------'),COLOR00FFFF;
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR, 【明日阻力】,'-----------------------------------'),COLORFFFFFF;
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR,今日支撑,'-----------------------------------'),COLORFF00FF;
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR, 今日阻力,'-----------------------------------'),COLOR33FF33;
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 【明日阻力】, 【明日阻力】*1.01,'明日阻力=: '),COLORFFFFFF;
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 今日支撑, 今日支撑*0.99,'今日支撑=:'),COLORFF33FF;
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 【明日支撑】, 【明日支撑】*0.99,'明日支撑=:'),COLOR00FFFF;
    DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 今日阻力, 今日阻力*1.01,'今日阻力=:' ),COLOR33FF33;
    A1:EMA(CLOSE,3),COLORLIBLUE;
    A2:EMA(CLOSE,5) ,COLORLIBLUE;
    A3:EMA(CLOSE,8) ,COLORLIBLUE;
    A4:EMA(CLOSE,13) ,COLORLIBLUE;
    A5:EMA(CLOSE,21) ,COLORLIBLUE;
    A6:EMA(CLOSE,26) ,COLORLIBLUE;
    A7:=C-REF(C,1);
    A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
    买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
    DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;
    STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
    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,7) ;
    DRAWICON((ZIG(3,5) >=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.02,8);
    流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
    Z1:=STRCAT(HYBLOCK,' ');
    Z2:=STRCAT(Z1,DYBLOCK);
    Z3:=STRCAT(Z2,' ');
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
    DRAWTEXT_FIX(1,0.58,4,0,'~★~本指标特供使用~★~'),COLORFFFFFF;

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信NB主图源码 加入收藏