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

    通达信公式

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

    通达信真实成交量(多方量、空方量、买卖差、市盈率)未加密选股指标公式源码

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

    N:=106;N1:=83;
    AA:=IF(DATE<=1091231,1,0);
    BB:=FLOOR(SUM(V/CAPITAL,0));
    【手】:vol,LINETHICK,COLOR00FFFF;
    CC:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,CC,0,-1,-1),COLOR00C0C0;{虚拟成交}
    额【亿】:AMOUNT/100000000,NODRAW;
    CB:=IF(CAPITAL>1,AMOUNT/VOL/100,(HIGH+LOW+2*CLOSE)/4);
    空1:=IF((HIGH-LOW)>0 AND CLOSE>CB, ((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CB)/(HIGH-LOW)*VOL) ,0);
    多1:=IF((HIGH-LOW)>0 AND CLOSE>CB, VOL-空1 ,0);
    多2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, ((CLOSE-LOW)/(CB-LOW))*((CLOSE-LOW)/(CB-LOW))*((CB-LOW)/(HIGH-LOW)*VOL) ,0);
    空2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, VOL-多2 ,0);
    多3:=IF((HIGH-LOW)=0 AND CLOSE>REF(CLOSE,1), VOL,0);
    空3:=IF((HIGH-LOW)=0 AND CLOSE<=REF(CLOSE,1), VOL,0);
    多方量:=多1+多2+多3;
    空方量:=空1+空2+空3;
    买卖差:(多方量-空方量)/1000;
    成交流通比:AMOUNT/CAPITAL/100,LINETHICK0;
    内外比:DYnaINFO(51),NODRAW;
    市盈率:DYNAINFO(39),COLORDDDD00,NODRAW;
    SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
    量能饱和:=IF(SAT>1,1,SAT)*100,COLORBLUE,NODRAW;
    中点:=REFDATE(HHV(V,N)/2,DATE);
    昨日换:REF(DYNAINFO(37),1)*AA,NODRAW, COLOR0000DD;
    5日换:SUM(100*V/CAPITAL,5),LINETHICK0;
    DRAWTEXT(CURRBARSCOUNT=N,中点*1.3,'量能饱和度:'),COLORDDDD00;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0033FF;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.82,中点*1.58,量能饱和,0),COLOR0077FF;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.76,中点*1.64,量能饱和,0),COLOR0099FF;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.7,中点*1.7,量能饱和,0),COLOR00ddfF;
    STICKLINE(CLOSE>0,【手】,0,3.6,0),COLOR00CC00;
    STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,2.6,0),COLOR003388;
    STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,1.8,0),COLOR00AADD;
    STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,2.6,0),COLOR666600;
    STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,1.8,0),COLOR999900;
    STICKLINE(空方量,-【手】,O,3,0),COLOR005500;
    STICKLINE(空方量,-【手】,O,2,0),COLOR007700;
    STICKLINE(空方量,-【手】,O,1,0),COLOR009900;
    STICKLINE(空方量,-【手】,0,0,0),COLOR00CC00;
    STICKLINE(多方量,多方量,O,2.6,0),COLOR000099;

    STICKLINE(多方量,多方量,O,2,0),COLOR0000AA;
    STICKLINE(多方量,多方量,O,1,0),COLOR0000DD;
    STICKLINE(多方量,多方量,O,0,0),COLORAA33DD;

    image.png



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

    N:=106;N1:=83;CC:=IF(DCTE<=1091231,1,0);BB:=FLOOR(SUM(V/CCPITCL,0));【手】:vol,LINETHICK,COLOR00FFFF;CC:=IF(CURRBCRSCOUNT=1 CND PERIOD=5,VOL*240/FROMOPEN,DRCWNULL);STICKLINE(CURRBCRSCOUNT=1 CND PERIOD=5,CC,0,-1,-1),COLOR00C0C0;{虚拟成交}额【亿】:CMOUNT/100000000,NODRCW;CB:=IF(CCPITCL>1,CMOUNT/VOL/100,(HIGH+LOW+2*CLOSE)/4);空1:=IF((HIGH-LOW)>0 CND CLOSE>CB, ((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CB)/(HIGH-LOW)*VOL) ,0);多1:=IF((HIGH-LOW)>0 CND CLOSE>CB, VOL-空1 ,0);多2:=IF((HIGH-LOW)>0 CND CLOSE<=CB, ((CLOSE-LOW)/(CB-LOW))*((CLOSE-LOW)/(CB-LOW))*((CB-LOW)/(HIGH-LOW)*VOL) ,0);空2:=IF((HIGH-LOW)>0 CND CLOSE<=CB, VOL-多2 ,0);多3:=IF((HIGH-LOW)=0 CND CLOSE>REF(CLOSE,1), VOL,0);空3:=IF((HIGH-LOW)=0 CND CLOSE<=REF(CLOSE,1), VOL,0);多方量:=多1+多2+多3;空方量:=空1+空2+空3;买卖差:(多方量-空方量)/1000;成交流通比:CMOUNT/CCPITCL/100,LINETHICK0;内外比:DYnaINFO(51),NODRCW;市盈率:DYNCINFO(39),COLORDDDD00,NODRCW;SCT:=(CMOUNT/C)/(HHV(CMOUNT,20)/HHV(C,20));量能饱和:=IF(SCT>1,1,SCT)*100,COLORBLUE,NODRCW;中点:=REFDCTE(HHV(V,N)/2,DCTE);昨日换:REF(DYNCINFO(37),1)*CC,NODRCW, COLOR0000DD;5日换:SUM(100*V/CCPITCL,5),LINETHICK0;DRCWTEXT(CURRBCRSCOUNT=N,中点*1.3,'量能饱和度:'),COLORDDDD00;STICKLINE(CURRBCRSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD;STICKLINE(CURRBCRSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0033FF;STICKLINE(CURRBCRSCOUNT=N1,中点*1.82,中点*1.58,量能饱和,0),COLOR0077FF;STICKLINE(CURRBCRSCOUNT=N1,中点*1.76,中点*1.64,量能饱和,0),COLOR0099FF;STICKLINE(CURRBCRSCOUNT=N1,中点*1.7,中点*1.7,量能饱和,0),COLOR00ddfF;STICKLINE(CLOSE>0,【手】,0,3.6,0),COLOR00CC00;STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,2.6,0),COLOR003388;STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,1.8,0),COLOR00CCDD;STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,2.6,0),COLOR666600;STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,1.8,0),COLOR999900;STICKLINE(空方量,-【手】,O,3,0),COLOR005500;STICKLINE(空方量,-【手】,O,2,0),COLOR007700;STICKLINE(空方量,-【手】,O,1,0),COLOR009900;STICKLINE(空方量,-【手】,0,0,0),COLOR00CC00;STICKLINE(多方量,多方量,O,2.6,0),COLOR000099;STICKLINE(多方量,多方量,O,2,0),COLOR0000CC;STICKLINE(多方量,多方量,O,1,0),COLOR0000DD;STICKLINE(多方量,多方量,O,0,0),COLORCC33DD;

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

    未发现:COST...

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

    未发现:FINCNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BCCKSET...

    未发现:BCRSNEXT...

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

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRCWLINE...

    未发现:REFX...

    未发现:FLCTZIG...

    未发现:FLCTZIGC...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PECK...

    未发现:PECKC...

    未发现:PECKBCRS...

    未发现:PECKBCRSC...

    未发现:PLOYLINE...

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

    未发现:TROUGH...

    未发现:TROUGHC...

    未发现:TROUGHBCRS...

    未发现:XMC...

    未发现:ZIG...

    未发现:ZIGC...

    未发现:ZXNH...

    未发现:#YECR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PECK...

    未发现:$PECKBCRS...

    未发现:$TROUGH...

    未发现:$TROUGHBCRS...

    未发现:$FLCTZIG...

    未发现:$FLCTZIGC...

    未发现:$PECKC...

    未发现:$PECKBCRSC...

    未发现:$TROUGHC...

    未发现:$ZIGC...

    未发现:$FFT...

    未发现:$BCCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNCINFO...

    未发现:$FINCNCE...

    未发现:$DRCWLINE...


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

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

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

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

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