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

    正文概述    2024-04-14 17:12:24  

    所属地区:DRAWTEXT_FIX(1,0.00,0.05,0,'地区:'),COLORFFFF00;
    DRAWTEXT_FIX(1,0.05,0.05,0,DYBLOCK),COLORFFFF00;
    所属行业:DRAWTEXT_FIX(1,0,0.10,0,'行业:'),COLORFFFF00;
    DRAWTEXT_FIX(1,0.05,0.10,0,HYBLOCK),COLORFFFF00;
    所属概念:DRAWTEXT_FIX(1,0,0.15,0,'概念:'),COLORFFFF00;
    DRAWTEXT_FIX(1,0.05,0.15,0,GNBLOCK),COLORFFFF00;
    所属风格:DRAWTEXT_FIX(1,0,0.20,0,'风格:'),COLORFFFF00;
    DRAWTEXT_FIX(1,0.05,0.20,0,FGBLOCK),COLORFFFF00;
    上市日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,NODRAW;
    DRAWTEXT_FIX(1,0,0.25,0,'上市日期:'),COLORFFFF00;
    DRAWNUMBER_FIX(1,0.05,0.25,0,上市日期),COLORFFFF00;
    MA5:=MA(C,5);
    MA20:=MA(C,20);
    A51:= REF(MA5,1)*0.98;
    A52:= REF(MA5,2)*0.98;
    B52:= BArslAST(REF(C,2)>=REF(MA5,2) AND REF(C,1) B51:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1) DZ:=IF((REF(C,2)>=REF(MA5,2)) AND (REF(C,1)=REF(MA5,2) AND REF(C,1)0,IF(REF(MA5, B52)< REF(MA5, B51),REF(MA5,B51)*0.98, REF(MA5,B52)*0.98), REF(MA5,1)));
    A201:= REF(MA20,1)*0.98;
    A202:= REF(MA20,2)*0.98;
    B202:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1) B201:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1) ZZ:=IF((REF(C,2)>=REF(MA20,2)) AND (REF(C,1)=REF(MA20,2) AND REF(C,1)0,IF(REF(MA20, B202)< REF(MA20, B201),REF(MA20,B201)*0.98, REF(MA20,B202)*0.98), REF(MA20,1)));
    短止:DZ,COLORWHITE,LINETHICK2;
    紫线:ZZ,COLORMAGENTA;
    绿线:LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2,COLORGREEN;
    黄线:MA(CLOSE,25)+MA(CLOSE,25)*6/100,COLORYELLOW,LINETHICK2;
    白轨:MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORWHITE;
    影子线:MA(CLOSE,25)+MA(CLOSE,25)*13/100,COLORGRAY;
    STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
    AZZ:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2,COLORGREEN;
    DRAWICON(REF(C,1)=DZ AND C>AZZ ,LOW*0.99,1);
    DRAWICON(REF(C,1)=AZZ,LOW*0.99,1);
    AXX:=((((MA(C,10) > MA(C,25)) && crOSS(C,MA(C,5))) && (V > MA(V,10))) && (MA(C,10) > REF(MA(C,10),1)));
    ASS:=C>=黄线 AND AXX ;
    角度黄线:ATAN((黄线/REF(黄线,1)-1)*100)*180/3.1416,NODRAW;
    {涨跌停显示}
    涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
    STICKLINE(涨停,O,C,1,0),COLORMAGENTA;
    N:=12;
    DG:=1.2;
    YLX:=0;
    ZCX:=0;
    A1:=REF(C,N)=HHV(C,2*N+1); B1:=FILTER(A1,N); C1:=BacKSET(B1,N+1); HD:=FILTER(C1,N);
    A2:=REF(C,N)=LLV(C,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); LD:=FILTER(C2,N);
    UU:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);VV:=UU>REF(UU,1);
    前高:=REF(C,BARSLAST(VV)),COLORRED,LINETHICK2;
    顶高:=REF(C,BARSLAST(VV))*DG,COLORGRAY,LINETHICK2;
    PTZQ:=BARSLAST(VV);
    PTZF:=(HHV(H,PTZQ)-LLV(L,PTZQ))/LLV(L,PTZQ)*100;
    获利比例:=WINNER(C)*100,NODRAW,COLORRED;
    DRAWTEXT_FIX(1,0.5,0.12,0,STRCAT(STRCAT('获利比例 ',CON2STR(获利比例,0)),' %')),COLORRED;
    {总股本}
    板块排序:=HORCALC('板块指数',105,1,0),NODRAW,COLORRED;
    DRAWTEXT_FIX(1,0.5,0.16,0,STRCAT(STRCAT('板块排序第 ',CON2STR(板块排序,0)),'名')),COLORRED;
    bias:(O-黄线)/黄线*100,NODRAW,COLORRED;
    倍量:=(V/REF(V,1)>=1.90 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.90);
    STICKLINE(倍量,O,(C+O)/2,1.5,0),COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信股海淘金主图指标公式 加入收藏