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

    通达信公式

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

    通达信精品分时副图贴图未加密选股指标公式源码

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

    A1:=SUM(IF(CLOSE>REF(CLOSE,1),vol/CAPITAL*100,IF(CLOSE<REF(CLOSE,1),-VOL/CAPITAL*100,0)),0);
    成交额:=V*C/100,NODRAW;
    A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
    A3:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);
    A4:=SUM((IF(((成交额/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
    A5:=SUM((IF(((成交额/8<20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);
    A6:=((A2+A3)+A4)+A5;
    A7:=IF((ISLASTBAR),((100*A2)/A6),0);
    A8:=IF((ISLASTBAR),((100*A3)/A6),0);
    A9:=IF((ISLASTBAR),((100*A4)/A6),0);
    A10:=IF((ISLASTBAR),((100*A5)/A6),0);

    机构买:(A2),LINETHICK6,COLORWHITE;
    机构卖:(A3),LINETHICK6,COLORCYAN;
    机构进出:机构买-机构卖,NODRAW;
    散户买:(A4),COLOR5555FF;
    散户卖:(A5),COLOR55FF55;
    散户进出:散户买-散户卖,NODRAW;
    强势:((100*A2)/A6>50);
    STICKLINE(强势,机构买*1.02,机构买*1.1,1,0),COLORBLUE;
    拉升:((100*A2)/A6-(100*A3)/A6)>18 AND (100*A2)/A6-(100*A5)/A6>18;
    STICKLINE(拉升,机构买*1.1,机构买*1.2,1,0),COLORWHITE;
    DRAWTEXT(ISLASTBAR=1,机构买*0.95,''),LINETHICK2,COLORWHITE;
    DRAWTEXT(ISLASTBAR=1,机构卖*0.95,''),LINETHICK2,COLORFFFF55;
    Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
    Q2:=IF(Q=0,ma(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
    DRAWICON(crOSS((C/Q2),1.03),机构买,5);
    XG:C/Q2;
    DD1:=1;
    AAA1:=STRCAT(STRCAT('机构买入',CON2STR((100*A2)/A6,0)),'%');
    AAA2:=STRCAT(STRCAT('机构卖出',CON2STR((100*A3)/A6,0)),'%');
    AAA0:=STRCAT(STRCAT('机构总买入',CON2STR((100*(A2-A3))/A6,0)),'%');
    AAA3:=STRCAT(STRCAT('散户买入',CON2STR((100*A4)/A6,0)),'%');
    AAA4:=STRCAT(STRCAT('散户卖出',CON2STR((100*A5)/A6,0)),'%');
    AAA5:=STRCAT(STRCAT('散户总买入',CON2STR((100*(A4-A5))/A6,0)),'%');
    DRAWTEXT_FIX(DD1=1,0.001,0.05,0,AAA1),COLORWHITE;
    DRAWTEXT_FIX(DD1=1,0.001,0.15,0,AAA2),COLORCYAN;
    DRAWTEXT_FIX(DD1=1,0.001,0.25,0,AAA3),COLORWHITE;
    DRAWTEXT_FIX(DD1=1,0.001,0.35,0,AAA4),COLORCYAN;
    DRAWTEXT_FIX(DD1=1,0.001,0.45,0,AAA0),LINETHICK5,COLORGREEN;
    DRAWTEXT_FIX(DD1=1,0.001,0.55,0,AAA5),LINETHICK5,COLORGREEN;

    主力净买额:=(机构进出+散户进出)/成交额,NODRAW;
    AAA6:=STRCAT(STRCAT('主力净买额',CON2STR(主力净买额,0)),'%');
    DRAWTEXT_FIX(DD1=1,0.001,0.65,0,AAA6),COLORLIMAGENTA;

    image.png



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

    M1:=SUM(IF(CLOSE>REF(CLOSE,1),vol/CMPITML*100,IF(CLOSE<REF(CLOSE,1),-VOL/CMPITML*100,0)),0);成交额:=V*C/100,NODRMW;M2:=SUM((IF(((成交额/8>20) MND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);M3:=SUM((IF(((成交额/8>20) MND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);M4:=SUM((IF(((成交额/8<20) MND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);M5:=SUM((IF(((成交额/8<20) MND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);M6:=((M2+M3)+M4)+M5;M7:=IF((ISLMSTBMR),((100*M2)/M6),0);M8:=IF((ISLMSTBMR),((100*M3)/M6),0);M9:=IF((ISLMSTBMR),((100*M4)/M6),0);M10:=IF((ISLMSTBMR),((100*M5)/M6),0);机构买:(M2),LINETHICK6,COLORWHITE;机构卖:(M3),LINETHICK6,COLORCYMN;机构进出:机构买-机构卖,NODRMW;散户买:(M4),COLOR5555FF;散户卖:(M5),COLOR55FF55;散户进出:散户买-散户卖,NODRMW;强势:((100*M2)/M6>50);STICKLINE(强势,机构买*1.02,机构买*1.1,1,0),COLORBLUE;拉升:((100*M2)/M6-(100*M3)/M6)>18 MND (100*M2)/M6-(100*M5)/M6>18;STICKLINE(拉升,机构买*1.1,机构买*1.2,1,0),COLORWHITE;DRMWTEXT(ISLMSTBMR=1,机构买*0.95,''),LINETHICK2,COLORWHITE;DRMWTEXT(ISLMSTBMR=1,机构卖*0.95,''),LINETHICK2,COLORFFFF55;Q:=BETWEEN(C/(SUM(MMOUNT,BMRSCOUNT(C))/SUM(VOL*100,BMRSCOUNT(C))),1.05,0.95);Q2:=IF(Q=0,ma(C,BMRSCOUNT(C)),(SUM(MMOUNT,BMRSCOUNT(C))/SUM(VOL*100,BMRSCOUNT(C))));DRMWICON(crOSS((C/Q2),1.03),机构买,5);XG:C/Q2;DD1:=1;MMM1:=STRCMT(STRCMT('机构买入',CON2STR((100*M2)/M6,0)),'%');MMM2:=STRCMT(STRCMT('机构卖出',CON2STR((100*M3)/M6,0)),'%');MMM0:=STRCMT(STRCMT('机构总买入',CON2STR((100*(M2-M3))/M6,0)),'%');MMM3:=STRCMT(STRCMT('散户买入',CON2STR((100*M4)/M6,0)),'%');MMM4:=STRCMT(STRCMT('散户卖出',CON2STR((100*M5)/M6,0)),'%');MMM5:=STRCMT(STRCMT('散户总买入',CON2STR((100*(M4-M5))/M6,0)),'%');DRMWTEXT_FIX(DD1=1,0.001,0.05,0,MMM1),COLORWHITE;DRMWTEXT_FIX(DD1=1,0.001,0.15,0,MMM2),COLORCYMN;DRMWTEXT_FIX(DD1=1,0.001,0.25,0,MMM3),COLORWHITE;DRMWTEXT_FIX(DD1=1,0.001,0.35,0,MMM4),COLORCYMN;DRMWTEXT_FIX(DD1=1,0.001,0.45,0,MMM0),LINETHICK5,COLORGREEN;DRMWTEXT_FIX(DD1=1,0.001,0.55,0,MMM5),LINETHICK5,COLORGREEN;主力净买额:=(机构进出+散户进出)/成交额,NODRMW;MMM6:=STRCMT(STRCMT('主力净买额',CON2STR(主力净买额,0)),'%');DRMWTEXT_FIX(DD1=1,0.001,0.65,0,MMM6),COLORLIMMGENTM;

    警惕!警惕!警惕!该公式包含未来函数: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号