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

    正文概述    2024-04-13 13:44:24  

    桂氏K线(源码 主图 通达信)

    {MA5:MA(CLOSE,5),COLORCCCCCC;}
    MA10:MA(CLOSE,10),COLOR00BBBB;
    {MA20:MA(CLOSE,20),COLOR00AA00;}
    MA30:MA(CLOSE,30),COLOR990099;
    {MA60:MA(CLOSE,60),COLOR000088;
    MA120:MA(CLOSE,120),COLOR777700;}
    MA250:MA(CLOSE,250),COLORRED;
    CONST(CLOSE),COLOR009955,POINTDOT;
    每股公积:FINANCE(18)/1,NODRAW,COLORGREEN;
    未分利润:FINANCE(32)/1,NODRAW,COLORGREEN;
    所属板块:=STRCAT('所属板块: ',STRCAT(STRCAT(STRCAT('[行业]-',HYBLOCK),STRCAT(' [地域]-',DYBLOCK)),STRCAT(' [概念]-',GNBLOCK)));
    总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
    流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');
    全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));
    市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');
    股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值));
    {业绩}
    市盈率:=STRCAT(' 市盈率:',CON2STR(C/FINANCE(33),2));
    净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(29)/FINANCE(19)*100,2));
    毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
    主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
    当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(净资收益率,毛利率),主营利润率));
    {主图显示}
    DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,所属板块),COLORYELLOW;
    DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,股本市值),COLORMAGENTA;
    DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,当前业绩),COLORGREEN;
    主力成本:COST(5),POINTDOT;
    了结: COST(98),POINTDOT;
    {STICKLINE(LOW SAR(3,1,20)AND 0 C,HIGH,OPEN,0,1),COLORRED;
    STICKLINE(LOW SAR(3,1,20)AND 0 C,CLOSE,OPEN,2.5,1),COLORRED;
    STICKLINE(LOW SAR(3,1,20)AND 0 C,CLOSE,LOW,0,1),COLORRED;
    STICKLINE(HIGH SAR(3,1,20)AND C 0,HIGH,CLOSE,0,1),COLORCYAN;
    STICKLINE(HIGH SAR(3,1,20)AND C 0,CLOSE,OPEN,2.5,1),COLORCYAN;
    STICKLINE(HIGH SAR(3,1,20)AND C 0,OPEN,LOW,0,1),COLORCYAN;}
    AA:=REF(H,10)=HHV(H,2*10+1.5);
    QY:=BACKSET(AA,10+1.5);
    CC:=FILTER(QY,10) AND H=HHV(H,10+1.5);
    DRAWTEXT(CC,H+0.1,'卖'),COLORGREEN;
    BB:=REF(L,10)=LLV(L,2*10+1.5);
    QZ:=BACKSET(BB,10+1.5);
    DD:=FILTER(QZ,10) AND L=LLV(L,10+1.5);
    DRAWTEXT(DD,L-0.1,'买'),COLORFF00FF;

    桂氏K线(源码 主图 通达信)

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