函数代码

f10 32寸大屏版

作者:天量见天价,地量见地价发布时间:2021年07月09日

{第一列最左边}


{1}DRAWTEXT_FIX(ISLASTBAR ,0.01,0,0,STKNAME),COLORYELLOW;{名字}


{2}DRAWTEXT_FIX(ISLASTBAR ,0.01,0.06,0,CODE),COLORYELLOW;{代码}


{3}DRAWTEXT_FIX(ISLASTBAR ,0.01,0.12,0,HYBLOCK),COLORYELLOW;{所属行业}


{4}DRAWTEXT_FIX(ISLASTBAR ,0.01,0.18,0,DYBLOCK),COLORYELLOW;{所属地区}



{7}员工人数:=STRCAT(STRCAT('员工人数:     ',CON2STR((FINANCE(56)/10000),4)),' 万人');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.36,0,员工人数),COLORYELLOW;



{8}上年度PE:=STRCAT(STRCAT('上年度PE:     ',CON2STR(C/FINANCE(33),1)),' 年');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.42,0,上年度PE),COLORLIRED;


{9}经营现金流量:=STRCAT(STRCAT('经营现金流量:  ',CON2STR(FINANCE(25)/FINANCE(1),2)),' 元/每股');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.48,0,经营现金流量),COLOR008080;


{10}总现金流量:=STRCAT(STRCAT('总现金流量:  ',CON2STR(FINANCE(26)/FINANCE(1),2)),' 元/每股');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.54,0,总现金流量),COLOR008080;


{11}净利润是:=STRCAT(STRCAT('净利润是:      ',CON2STR(FINANCE(30)/FINANCE(1),2)),' 元/每股');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.6,0,净利润是),COLOR00FF00;


{12}负债率是:=STRCAT(STRCAT('负债率是:     ',CON2STR((FINANCE(9)),2)),' %');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.66,0,负债率是),COLORLIGREEN;


{低于40%比较合适,超过60%较大风险,负债越高风险越大,与行业,举债营业}


{13}未分利润:=STRCAT(STRCAT('未分利润:    ',CON2STR(FINANCE(32),2)),' 元/每股');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.72,0,未分利润),COLOR008080;


{14}总资产是:=STRCAT(STRCAT('总资产是:    ',CON2STR(FINANCE(10)/100000000,0)),' 亿元');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.78,0,总资产是),COLOR008080;


{15}流通市值:=STRCAT(STRCAT('流通市值:     ',CON2STR((FINANCE(7)/100000000)*C,1)),' 亿');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.24,0,流通市值),COLORFF80FF;


{16}总市值是:=STRCAT(STRCAT('总市值是:     ',CON2STR((FINANCE(1)/100000000)*C,0)),' 亿');


DRAWTEXT_FIX(ISLASTBAR,0.01,0.3,0,总市值是),COLORFF80FF;


{14}DRAWTEXT_FIX(ISLASTBAR ,0.01,0.84,0,GNBLOCK),COLORYELLOW;{所属风格如MSCI}


{16}DRAWTEXT_FIX(ISLASTBAR ,0.01,0.9,0,FGBLOCK),COLORYELLOW;{所属风格如MSCI}


{17}DRAWTEXT_FIX(ISLASTBAR ,0.01,0.96,0,ZSBLOCK),COLORYELLOW;{所属指数}



{最数第二列}


{1}前收盘价:=STRCAT(STRCAT('前收盘价:   ',CON2STR(DYNAINFO(3),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.00,0,前收盘价),COLORYELLOW;


{2}今日现价:=STRCAT(STRCAT('今日现价:   ',CON2STR(DYNAINFO(7),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.06,0,今日现价),COLORYELLOW;


{3}每股收益:=STRCAT(STRCAT('每股收益:  ',CON2STR(FINANCE(33),2)),' 元/年');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.12,0,每股收益),COLORLIBLUE;


{4}每股本季:=STRCAT(STRCAT('每股本季:  ',CON2STR(FINANCE(38),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.18,0,每股本季),COLORLIBLUE;


{1}当日流入:=STRCAT(STRCAT('当日流入:      ',CON2STR((DYNAINFO(23)-DYNAINFO(22))*100*C/10000,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.24,0,当日流入),COLORRED;


{6}股净资产:=STRCAT(STRCAT('股净资产:',CON2STR(FINANCE(19)/FINANCE(1),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.3,0,股净资产),COLORYELLOW;


{7}DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN<128,0.17,0.36,0,INTPART((34200+FROMOPEN*60)/3600));


  

{上午的时间的位置,【小时】0.17代表左右相对位置,0.36距上面的距离}


DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN>128,0.17,0.36,0,INTPART((34200+FROMOPEN*60+5400)/3600));


{下午时间的位置[小时],开盘大于120,}


DRAWTEXT_FIX(1,0.19,0.36,1,'时'),COLORRED;


{字:【时19】"的位置}


DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN<120,0.20,0.36,0,60*(((34200+FROMOPEN*60)/3600)-INTPART((34200+FROMOPEN*60)/3600)));


{上午的时间分种}


DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN>120,0.20,0.36,0,60*(((34200+FROMOPEN*60+5400)/3600)-INTPART((34200+FROMOPEN*60+5400)/3600)));


{下午的分钟的位置}


DRAWTEXT_FIX(1,0.22,0.36,1,'分'),COLORRED;


{下午的分钟的[分]字的位置}


{8}


N0:=STRCAT(CON2STR(YEAR,0),' 年 ');


Y:=STRCAT(CON2STR(MONTH,0),' 月 ');


R:=STRCAT(CON2STR(DAY,0),' 日 ');


SJ:=STRCAT(STRCAT(N0,Y), R);


DRAWTEXT_FIX(C>0,0.17,0.42,0,SJ)COLORYELLOW;


{9}


星期:=STRCAT(STRCAT('星期:  ',CON2STR(WEEKDAY,0)),' ');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.48,0,星期),COLORYELLOW;


{10}


股东户数:=STRCAT(STRCAT('股东户数:     ',CON2STR((FINANCE(8)/10000),2)),' 万人');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.54,0,股东户数),COLORYELLOW;


{11}人均持仓:=STRCAT(STRCAT('人均持仓:    ',CON2STR(FINANCE(1)/FINANCE(8)*C/10000,2)),' 万元');

{总股本X当前价,除以股东人数}

DRAWTEXT_FIX(ISLASTBAR,0.17,0.6,0,人均持仓),COLORYELLOW;


{12}上市至今:=STRCAT(STRCAT('上市至今:     ',CON2STR(FINANCE(42)/365,1)),' 年');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.66,0,上市至今),COLORYELLOW;


{13}毛利润是:=STRCAT(STRCAT('毛利润是:      ',CON2STR(FINANCE(21)/FINANCE(20)*100,1)),' %');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.72,0,毛利润是),COLOR00FF00;


{14}分红利息:=STRCAT(STRCAT('分红利息:      ',CON2STR(FINANCE(45),2)),' %');


DRAWTEXT_FIX(ISLASTBAR,0.17,0.78,0,分红利息),COLOR00FF00;






{17空不填数据}



{第三列}


{405}筹码建议买价:=STRCAT{X,和元}(STRCAT{百分九九的获利,和价格}('筹码建议买价:   ',CON2STR{取A的最后值}(COST{百分之X获利盘价是多少}(0.1),3)),' 元');

{405}DRAWTEXT_FIX{上一行取值成功就显示文字并给出位置}(ISLASTBAR{取最后值的最后一个周期},0.34{长},0.18{高底部},0{0左对齐},筹码建议买价),COLORRED;


{3}财务的建议卖价:=STRCAT(STRCAT('财务的建议卖价:  ',CON2STR(FINANCE(33)*10*2,3)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.24,0,财务的建议卖价),COLORYELLOW;


{3}财务的建议买价:=STRCAT(STRCAT('财务的建议买价:  ',CON2STR(FINANCE(33)*10*0.5,3)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.3,0,财务的建议买价),COLOR00FF00;


{2}获利空间:=STRCAT(STRCAT('获利空间:   ',CON2STR(FINANCE(33)*10*0.5-DYNAINFO(7),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.34,0.36,0,获利空间),COLORYELLOW;




{14}每股资产:=STRCAT(STRCAT('每股资产:    ',CON2STR(FINANCE(10)/FINANCE(1),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.34,0.48,0,每股资产),COLOR008080;

{6}人均月薪:=STRCAT(STRCAT('人均月薪:     ',CON2STR(FINANCE(30)/FINANCE(56)/12/3,0)),' 元');

{用净利润除以员工人数再除以12个月}

DRAWTEXT_FIX(ISLASTBAR,0.34,0.54,0,人均月薪),COLORYELLOW;


{5}人均产值:=STRCAT(STRCAT('人均产值:     ',CON2STR(FINANCE(30)/FINANCE(56)/10000,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.34,0.6,0,人均产值),COLORYELLOW;



{8}明年预测PE:=STRCAT(STRCAT('明年预测PE:     ',CON2STR(C/((FINANCE(33)*FINANCE(43)/100)+FINANCE(33)),1)),' 年');

{增涨率除100乘以每股收}

DRAWTEXT_FIX(ISLASTBAR,0.34,0.66,0,明年预测PE),COLORLIRED;

{15}利润同比:=STRCAT(STRCAT('利润同比:      ',CON2STR(FINANCE(43),2)),' %');


DRAWTEXT_FIX(ISLASTBAR,0.34,0.72,0,利润同比),COLORLIRED;





{2}预期利润:=STRCAT(STRCAT('预期利润:   ',CON2STR(FINANCE(10)/FINANCE(1)-DYNAINFO(7),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.34,0.0,0,预期利润),COLORYELLOW;












{第四列}


开盘金额:=STRCAT(STRCAT('开盘金额:      ',CON2STR(DYNAINFO(15)/10000,2)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.0,0,开盘金额),COLORLIMAGENTA;


{1}资金流向:=STRCAT(STRCAT('资金流向:      ',CON2STR((DYNAINFO(23)-DYNAINFO(22))*100*C/10000,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.06,0,资金流向),COLORRED;


{2}主动买入:=STRCAT(STRCAT('主动买入:      ',CON2STR(DYNAINFO(23)*100*C/10000,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.12,0,主动买入),COLORRED;


{3}主动卖出:=STRCAT(STRCAT('主动卖出:      ',CON2STR(DYNAINFO(22)*100*C/10000,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.18,0,主动卖出),COLORRED;


{4}成交单数:=STRCAT(STRCAT('成交单数:      ',CON2STR(TRADENUM,0)),' 单');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.24,0,成交单数),COLOR00D900;


{5}大单买入:=STRCAT(STRCAT('大单买入:      ',CON2STR(LARGEINTRDVOL/100*C,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.3,0,大单买入),COLORRED;


{6}大单卖出:=STRCAT(STRCAT('大单卖出:      ',CON2STR(LARGEOUTTRDVOL/100*C,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.36,0,大单卖出),COLORGREEN;


{7}大单净入:=STRCAT(STRCAT('大单净入:      ',CON2STR((LARGEINTRDVOL-LARGEOUTTRDVOL)/100*C,0)),' 万');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.42,0,大单净入),COLORWHITE;


{8}每单均额:=STRCAT(STRCAT('每单均额:      ',CON2STR(AMOUNT/TRADENUM/10000,0)),' 万元');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.48,0,每单均额),COLOR00D900;


{9}买入大单:=STRCAT(STRCAT('买入大单:      ',CON2STR(LARGETRDINNUM,0)),' 单');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.54,0,买入大单),COLORRED;


{10}卖出大单:=STRCAT(STRCAT('卖出大单:      ',CON2STR(LARGETRDOUTNUM,0)),' 单');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.6,0,卖出大单),COLORGREEN;


{11}大单买差:=STRCAT(STRCAT('大单买差:      ',CON2STR((LARGETRDINNUM-LARGETRDOUTNUM),0)),' 单');


DRAWTEXT_FIX(ISLASTBAR,0.51,0.66,0,大单买差),COLORWHITE;


{16}


{12}


{13}





{第五列}


净资产收益率:=STRCAT(STRCAT('净资产收益率: ',CON2STR(FINANCE(30)/FINANCE(19)*100*(4/FINANCE(37)),1)),'%');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.0,0,净资产收益率),COLOR00FF00;


{2}三年每股分红:=STRCAT(STRCAT('三年每股分红:  ',CON2STR(((FINANCE(31)/FINANCE(1)+FINANCE(33)))*3,1)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.06,0,三年每股分红),COLOR00FF00;


{每股年收益+每分配利润除以总股本除以之和X3,网友的算法}


{3}折现:=STRCAT(STRCAT('折现:  ',CON2STR((FINANCE(31)/FINANCE(1))+(FINANCE(22)/FINANCE(1))+(FINANCE(24)/FINANCE(1))-FINANCE(15)/FINANCE(1)+(FINANCE(26)/FINANCE(1))+(FINANCE(27)/FINANCE(1)),1)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.12,0,折现),COLOR00FF00;


{未分利润加应该收账的钱,加总现金加存货}


{3}二十年每股分红:=STRCAT(STRCAT('二十年每股分红:  ',CON2STR(FINANCE(33)*20,1)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.18,0,二十年每股分红),COLOR00FF00;


{3}十五年每股分红:=STRCAT(STRCAT('十五年每股分红:  ',CON2STR(FINANCE(33)*15,1)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.24,0,十五年每股分红),COLOR00FF00;


{3}十年每股分红:=STRCAT(STRCAT('十年每股分红:  ',CON2STR(FINANCE(33)*10,1)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.3,0,十年每股分红),COLOR00FF00;


{3}每股年化收益:=STRCAT(STRCAT('每股年化收益:  ',CON2STR(FINANCE(33)/C*100,3)),' %');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.36,0,每股年化收益),COLORWHITE;

{3}股息年化收益:=STRCAT(STRCAT('股息年化收益:  ',CON2STR(FINANCE(45)/C*10,2)),' %');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.42,0,股息年化收益),COLORWHITE;

{1}亏百分之五:=STRCAT(STRCAT('亏百分之五:   ',CON2STR(COST(10)-COST(10)*0.15,2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.48,0,亏百分之五),COLORYELLOW;

{1}亏百分之十:=STRCAT(STRCAT('亏百分之十:   ',CON2STR(COST(10)-COST(10)*0.2,2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.54,0,亏百分之十),COLORYELLOW;

{1}亏百分之⒂:=STRCAT(STRCAT('亏百分之⒂:   ',CON2STR(COST(10)-COST(10)*0.25,2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.6,0,亏百分之⒂),COLORYELLOW;

{1}亏百分之⒇:=STRCAT(STRCAT('亏百分之⒇:   ',CON2STR(COST(10)-COST(10)*0.3,2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.66,0,亏百分之⒇),COLORYELLOW;

{1}亏百分之三十:=STRCAT(STRCAT('亏百分之三十:   ',CON2STR(COST(10)-COST(10)*0.4,2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.72,0,亏百分之三十),COLORYELLOW;

{1}亏百分之四十:=STRCAT(STRCAT('亏百分之四十:   ',CON2STR(COST(10)-COST(10)*0.5,2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.68,0.78,0,亏百分之四十),COLORYELLOW;

{第六列}


{1}同行业涨:=STRCAT(STRCAT('同行业涨:      ',CON2STR(HY_INDEXADV,0)),' 家');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.0,0,同行业涨),COLORRED;


同行业跌:=STRCAT(STRCAT('同行业跌:      ',CON2STR(HY_INDEXDEC,0)),' 家');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.06,0,同行业跌),COLOR06FFF2;


上涨公司:=STRCAT(STRCAT('上涨公司:      ',CON2STR(DYNAINFO(60),0)),' 家');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.12,0,上涨公司),COLOR0000FF;


下跌公司:=STRCAT(STRCAT('下跌公司:      ',CON2STR(DYNAINFO(61),0)),' 家');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.18,0,下跌公司),COLOR00D900;


{}


上市总数:=STRCAT(STRCAT('上市总数:      ',CON2STR(DYNAINFO(61)+DYNAINFO(60),0)),' 家');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.24,0,上市总数),COLOR0080FF;


{}{5}库存商品:=STRCAT(STRCAT('库存商品:  ',CON2STR(FINANCE(27)/FINANCE(1),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.3,0,库存商品),COLOR06FFF2;


{}{5}流动资产:=STRCAT(STRCAT('流动资产:  ',CON2STR(FINANCE(11)/FINANCE(1),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.36,0,流动资产),COLOR06FFF2;


{}{5}流动负债:=STRCAT(STRCAT('流动负债:  ',CON2STR(FINANCE(15)/FINANCE(1),2)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.42,0,流动负债),COLOR06FFF2;


{7}行业番倍:=STRCAT(STRCAT('行业番倍:     ',CON2STR(HYSYL*3,1)),' 年');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.48,0,行业番倍),COLORYELLOW,;

{3}建议卖价:=STRCAT(STRCAT('建议卖价:  ',CON2STR(FINANCE(33)*10*2,1)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.54,0,建议卖价),COLOR00FF00;

{3}建议买价:=STRCAT(STRCAT('建议买价:  ',CON2STR(FINANCE(33)*10*0.5,1)),' 元');


DRAWTEXT_FIX(ISLASTBAR,0.85,0.6,0,建议买价),COLOR00FF00;





http://www.95597.cc/images/2021-05-24/3735e6b1-3edc-4bae-b24a-

3c65db0d0881.jpg
免责条款

    豫ICP备15000424号【投资有风险,买入需谨慎】,如发现本站有侵权内容请联 系15029971@qq.com,本站将立刻删除。

| 今日IP[3] | 昨日IP[1] | 当前在线[1]