• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信经典对比终结版副图未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-09-27|栏目:通达信公式

    DRAWBAND(20,RGB(25,60,68),10,RGB(0,0,0));
    DRAWBAND(90,RGB(25,60,68),80,RGB(0,0,0));
    DPK30:=Sma(((INDEXC-LLV(INDEXL,30))/(HHV(INDEXH,30)-LLV(INDEXL,30))*100),3,1),COLORBROWN;
    K30:=SMA(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100),3,1);
    关注区:IF(K30>DPK30 AND K30>=50,46,DRAWNULL),CIRCLEDOT,COLORFF00FF;
    STICKLINE(K30>=50,50,K30,3,0),COLOR000080;
    STICKLINE(K30>=50,50,K30,2,0),COLOR0000A6;
    STICKLINE(K30>=50,50,K30,1,0),COLOR0000CE;
    STICKLINE(K30>=50,50,K30,0,0),COLOR0000FF;
    STICKLINE(K30<50,50,K30,3,0),COLOR800000;
    STICKLINE(K30<50,50,K30,2,0),COLORB00000;
    STICKLINE(K30<50,50,K30,1,0),COLORD50000;
    STICKLINE(K30<50,50,K30,0,0),COLORFF0000;
    {DRAWBAND(K30,RGB(150,20,20),50,RGB(10,150,20));}
    个股:K30,NODRAW,COLORWHITE;
    大盘:DPK30,COLORBLUE,DOTLINE;
    K250:SMA(((CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100),3,1),COLORCYAN;
    DRAWICON(crOSS(90,K30),K30,2);
    DRAWICON(CROSS(K30,大盘) AND K30<50,K30,1);
    DRAWTEXT(CROSS(K30,K250),42,'转强');
    DRAWTEXT(FILTER(CROSS(10,K30),20),42,'吸'),COLOR00C0FF;
    DRAWTEXT(FILTER(CROSS(10,K30),20),30,'筹'),COLORFFFF6F;
    DRAWTEXT(FILTER(CROSS(10,K30),20),20,'区'), COLORB47DFF;
    A1:=LLV(LOW,6)=LLV(LOW,41) AND LLV(LOW,6)<HHV(LOW,41)*71/100;
    B2:=HIGH>LOW*1.033;DRAWICON(A1>0 AND B2,86,1);
    {年月日星期}
    D1:=YEAR AND MONTH AND DAY ;
    AA1:=STRCAT(CON2STR(YEAR,0),'年');
    AA2:=STRCAT(CON2STR(MONTH,0),'月');
    AA3:=STRCAT(CON2STR(DAY,0),'日');
    AA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',
    IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',
    IF(WEEKDAY=6,'六','日')))))));
    AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'');
    DRAWTEXT_FIX(D1,0.01,0.03,0,AA),COLORLIMAGENTA;


    {风险系数}
    X1:=(FInaNCE(11)-FINANCE(15))/FINANCE(10)*1.2;
    X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};
    X3:=FINANCE(23)/FINANCE(10)*3.3;
    X4:=FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}
    X5:=FINANCE(20)/FINANCE(15)*0.999;
    Z值:=X1+X2+X3+X4+X5;
    预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'轻警','无警'));
    财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))));
    优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));{理论上越大越好但不同行业有不同标准};
    现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};
    财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(财务预警,优质资产率),现金负债比));
    DRAWTEXT_FIX(ISLASTBAR,0.00,0.82,0,财务系数),COLORBLUE;

    image.png



    未来函数检测公式代码域:

    DRMWBMND(20,RGB(25,60,68),10,RGB(0,0,0));DRMWBMND(90,RGB(25,60,68),80,RGB(0,0,0));DPK30:=Sma(((INDEXC-LLV(INDEXL,30))/(HHV(INDEXH,30)-LLV(INDEXL,30))*100),3,1),COLORBROWN;K30:=SMM(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100),3,1); 关注区:IF(K30>DPK30 MND K30>=50,46,DRMWNULL),CIRCLEDOT,COLORFF00FF;STICKLINE(K30>=50,50,K30,3,0),COLOR000080;STICKLINE(K30>=50,50,K30,2,0),COLOR0000M6;STICKLINE(K30>=50,50,K30,1,0),COLOR0000CE;STICKLINE(K30>=50,50,K30,0,0),COLOR0000FF;STICKLINE(K30<50,50,K30,3,0),COLOR800000;STICKLINE(K30<50,50,K30,2,0),COLORB00000;STICKLINE(K30<50,50,K30,1,0),COLORD50000;STICKLINE(K30<50,50,K30,0,0),COLORFF0000;{DRMWBMND(K30,RGB(150,20,20),50,RGB(10,150,20));}个股:K30,NODRMW,COLORWHITE;大盘:DPK30,COLORBLUE,DOTLINE;K250:SMM(((CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100),3,1),COLORCYMN;DRMWICON(crOSS(90,K30),K30,2);DRMWICON(CROSS(K30,大盘) MND K30<50,K30,1);DRMWTEXT(CROSS(K30,K250),42,'转强');DRMWTEXT(FILTER(CROSS(10,K30),20),42,'吸'),COLOR00C0FF;DRMWTEXT(FILTER(CROSS(10,K30),20),30,'筹'),COLORFFFF6F; DRMWTEXT(FILTER(CROSS(10,K30),20),20,'区'), COLORB47DFF;M1:=LLV(LOW,6)=LLV(LOW,41) MND LLV(LOW,6)<HHV(LOW,41)*71/100;B2:=HIGH>LOW*1.033;DRMWICON(M1>0 MND B2,86,1);{年月日星期}D1:=YEMR MND MONTH MND DMY ;MM1:=STRCMT(CON2STR(YEMR,0),'年');MM2:=STRCMT(CON2STR(MONTH,0),'月');MM3:=STRCMT(CON2STR(DMY,0),'日');MM4:=STRCMT('星期',IF(WEEKDMY=1,'一',IF(WEEKDMY=2,'二',IF(WEEKDMY=3,'三',IF(WEEKDMY=4,'四',IF(WEEKDMY=5,'五',IF(WEEKDMY=6,'六','日'))))))); MM:=STRCMT(STRCMT(STRCMT(MM1,MM2),STRCMT(MM3,MM4)),'');DRMWTEXT_FIX(D1,0.01,0.03,0,MM),COLORLIMMGENTM;{风险系数}X1:=(FInaNCE(11)-FINMNCE(15))/FINMNCE(10)*1.2;X2:=(FINMNCE(31)+FINMNCE(17))/FINMNCE(10)*1.4;{盈余公积用资本公积金代替};X3:=FINMNCE(23)/FINMNCE(10)*3.3;X4:=FINMNCE(19)/FINMNCE(15)*0.6;{缺长期负债或负债总额}X5:=FINMNCE(20)/FINMNCE(15)*0.999;Z值:=X1+X2+X3+X4+X5;预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 MND Z值<2.6,'轻警','无警'));财务预警:=STRCMT('财务预警: ',STRCMT(预警,STRCMT('-Z值: ',CON2STR(Z值,3))));优质资产率:=STRCMT(' 优质资产率: ',CON2STR((FINMNCE(19)-FINMNCE(22)-FINMNCE(27))/FINMNCE(19),2));{理论上越大越好但不同行业有不同标准};现金负债比:=STRCMT(' 现金负债比: ',CON2STR(FINMNCE(25)/FINMNCE(15),3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};财务系数:=STRCMT('风险系数: ',STRCMT(STRCMT(财务预警,优质资产率),现金负债比));DRMWTEXT_FIX(ISLMSTBMR,0.00,0.82,0,财务系数),COLORBLUE;

    未发现:CMPITML...

    未发现:COST...

    未发现:DYNMINFO...

    警惕!警惕!警惕!该公式包含未来函数:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号