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

    通达信公式

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

    通达信成交量(副图贴图)未加密选股指标公式源码

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

    DRAWGBK(C>0,RGB(0,9,2),RGB(0,95,0),0,'0',0);
    量:V,volSTICK;
    PJJ:=Dma((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
    JJ:=REF(ema(PJJ,3),1);
    QJJ:=(VOL / (((HIGH - LOW) * 2) - Abs((CLOSE - OPEN)))); XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN)
    ,(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));
    ZLL:=(VOL / CAPITAL);
    HSL1:=IF((ZLL > 10),10,ZLL);
    HSL:=((XVL / 20) / 1.15);
    进攻流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));
    GJJ:=EMA(进攻流量,8);
    LLJX:=EMA(进攻流量,3);
    动态天量:=CONST(IF(V=HHV(V,20),V,REF(V,BArslAST(V=HHV(V,20))))),COLOR00FF00,POINTDOT;
    STICKLINE(((HSL * 0.4) >= 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLORBLUE;
    STICKLINE(((HSL * 0.4) < 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLOR00FF00;
    资金流入:=IF((HSL*0.4+LLJX)> 0,(HSL*0.4+LLJX),DRAWNULL),COLORWHITE;
    资金流出:=IF((HSL*0.4+LLJX)< 0,(HSL*0.4+LLJX),DRAWNULL),COLOR00FF00;
    资金收支:=(HSL*0.4+LLJX),LINETHICK0;
    万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;
    资金净收支:IF((HSL*0.4+LLJX)> 0,资金流入,资金流出),COLORRED,POINTDOT;
    收支比例%:IF((HSL*0.4+LLJX)> 0,资金流入/万元*100,资金流出/万元*100),COLORBLUE;
    连红天1:=BARSLASTCOUNT(资金净收支>0),,COLORA20FFD,NODRAW;
    连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORA20FFD,NODRAW;
    连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORA20FFD,NODRAW;
    连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORA20FFD,NODRAW;
    近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),,COLORBLUE,NODRAW;
    三日资金:SUM(资金收支,3),COLORRED,NODRAW;
    五日资金:SUM(资金收支,5),COLORFF00FF,NODRAW;
    十日资金:SUM(资金收支,10),COLOR0000FF,NODRAW;
    资金流量:=LLJX,LINETHICK0,COLOR0000FF;
    STICKLINE((资金流量 > 0),动态天量+资金流量*20,动态天量,3,0),COLOR0000FF;
    STICKLINE((资金流量 < 0),动态天量+资金流量*20,动态天量,3,0),COLOR008000;

    {量能饱和度}
    N1:=10,100,34;
    N2:=N1*1.05;
    N3:=N1+3;
    SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
    量能饱和度:IF(SAT> 1,1,SAT)*100,COLORLIGREEN,NODRAW;
    中点:=REFDATE(HHV(V,100)/2,DATE);{量能饱和的变色切换}
    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;
    DRAWTEXT(CURRBARSCOUNT=N3,中点*1.70,'量能饱和度'),COLOR000000;

    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    买盘:IF(CLOSE> OPEN,VAR1*(HIGH-LOW),IF(CLOSE< OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORWHITE,POINTDOT;
    卖盘:-IF(CLOSE> OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORGREEN,POINTDOT;
    成交量比%:买盘/VOL*100,COLORRED,NODRAW;


    万手:VOL/10000,LINETHICK0;
    AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
    预测:AA/10000;
    BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    主动买:=IF(CLOSE> OPEN,BB*(HIGH-LOW),IF(CLOSE< OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
    主买:主动买/10000,COLORWHITE;
    主动卖:=IF(CLOSE> OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-BB*(HIGH-LOW),0-VOL/2));
    主卖:-主动卖/10000,COLORCYAN;
    差额:(主动买+主动卖)/10000;
    STICKLINE(CLOSE= REF(CLOSE,1),0,VOL,3.5,0),COLORRED;
    STICKLINE(CLOSE> REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE;
    STICKLINE(CLOSE< REF(CLOSE,1),0,VOL,3.5,0),COLORCYAN;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFF ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777 ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999 ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBB ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00ddeE ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFF ;
    STICKLINE(主动买>= 0,VOL,-主动卖,3.2,0),COLOR000033;
    STICKLINE(主动买>= 0,VOL,-主动卖,2.7,0),COLOR000066;
    STICKLINE(主动买>= 0,VOL,-主动卖,2.1,0),COLOR000099;
    STICKLINE(主动买>= 0,VOL,-主动卖,1.5,0),COLOR0000CC;
    STICKLINE(主动买>= 0,VOL,-主动卖,0.9,0),COLOR0000FF;
    STICKLINE(主动买>= 0,VOL,-主动卖,0.2,0),COLORCC66FF;
    STICKLINE(主动卖<= 0,0,-主动卖,3.2,0),COLOR990000;
    STICKLINE(主动卖<= 0,0,-主动卖,2.7,0),COLORCC0000;
    STICKLINE(主动卖<= 0,0,-主动卖,2.1,0),COLORFF4400;
    STICKLINE(主动卖<= 0,0,-主动卖,1.5,0),COLORFF8800;
    STICKLINE(主动卖<= 0,0,-主动卖,0.9,0),COLORFFCC00;
    STICKLINE(主动卖<= 0,0,-主动卖,0.2,0),COLORGREEN;
    持币:IF(SAR(10,2,20)>= H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLOR00FF00,LINETHICK1;
    DRAWICON(持币> 0,持币,35 );
    持股:IF(SAR(10,2,20)<= L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK1;
    DRAWICON(持股> 0,持股,34 );
    个股资金线:=MA(C,1)/MA(REF(C,18),18)*100;
    资金生命线:=MA(FORCAST(个股资金线,20),6);
    生命线:个股资金线> 资金生命线,COLOR000000,STICK,LINETHICK1;

    DRAWICON(生命线>0,生命线,34);
    五日: MA(V,5);
    十五日: MA(V,15);
    三十五日: MA(V,35)COLORYELLOW,LINETHICK2;

    image.png



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

    DRLWGBK(C>0,RGB(0,9,2),RGB(0,95,0),0,'0',0);量:V,volSTICK;PJJ:=Dma((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(ema(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - Lbs((CLOSE - OPEN)))); XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));ZLL:=(VOL / CLPITLL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15); 进攻流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));GJJ:=EML(进攻流量,8);LLJX:=EML(进攻流量,3);动态天量:=CONST(IF(V=HHV(V,20),V,REF(V,BLrslLST(V=HHV(V,20))))),COLOR00FF00,POINTDOT;STICKLINE(((HSL * 0.4) >= 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLORBLUE;STICKLINE(((HSL * 0.4) < 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLOR00FF00;资金流入:=IF((HSL*0.4+LLJX)> 0,(HSL*0.4+LLJX),DRLWNULL),COLORWHITE;资金流出:=IF((HSL*0.4+LLJX)< 0,(HSL*0.4+LLJX),DRLWNULL),COLOR00FF00;资金收支:=(HSL*0.4+LLJX),LINETHICK0;万元:=LMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净收支:IF((HSL*0.4+LLJX)> 0,资金流入,资金流出),COLORRED,POINTDOT;收支比例%:IF((HSL*0.4+LLJX)> 0,资金流入/万元*100,资金流出/万元*100),COLORBLUE;连红天1:=BLRSLLSTCOUNT(资金净收支>0),,COLORL20FFD,NODRLW;连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORL20FFD,NODRLW;连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORL20FFD,NODRLW;连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORL20FFD,NODRLW;近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),,COLORBLUE,NODRLW; 三日资金:SUM(资金收支,3),COLORRED,NODRLW;五日资金:SUM(资金收支,5),COLORFF00FF,NODRLW; 十日资金:SUM(资金收支,10),COLOR0000FF,NODRLW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量 > 0),动态天量+资金流量*20,动态天量,3,0),COLOR0000FF;STICKLINE((资金流量 < 0),动态天量+资金流量*20,动态天量,3,0),COLOR008000;{量能饱和度}N1:=10,100,34;N2:=N1*1.05;N3:=N1+3;SLT:=(LMOUNT/C)/(HHV(LMOUNT,20)/HHV(C,20));量能饱和度:IF(SLT> 1,1,SLT)*100,COLORLIGREEN,NODRLW;中点:=REFDLTE(HHV(V,100)/2,DLTE);{量能饱和的变色切换}STICKLINE(CURRBLRSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD;STICKLINE(CURRBLRSCOUNT=N1,中点*1.88,中点*1.52,量能饱和度,0),COLOR0033FF;STICKLINE(CURRBLRSCOUNT=N1,中点*1.82,中点*1.58,量能饱和度,0),COLOR0077FF;STICKLINE(CURRBLRSCOUNT=N1,中点*1.76,中点*1.64,量能饱和度,0),COLOR0099FF;STICKLINE(CURRBLRSCOUNT=N1,中点*1.7,中点*1.7,量能饱和度,0),COLOR00ddfF;DRLWTEXT(CURRBLRSCOUNT=N3,中点*1.70,'量能饱和度'),COLOR000000;VLR1:=VOL/((HIGH-LOW)*2-LBS(CLOSE-OPEN));买盘:IF(CLOSE> OPEN,VLR1*(HIGH-LOW),IF(CLOSE< OPEN,VLR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORWHITE,POINTDOT;卖盘:-IF(CLOSE> OPEN,0-VLR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-VLR1*(HIGH-LOW),0-VOL/2)),COLORGREEN,POINTDOT;成交量比%:买盘/VOL*100,COLORRED,NODRLW;万手:VOL/10000,LINETHICK0; LL:=IF(CURRBLRSCOUNT=1 LND PERIOD=5,VOL*240/FROMOPEN,DRLWNULL); 预测:LL/10000; BB:=VOL/((HIGH-LOW)*2-LBS(CLOSE-OPEN)); 主动买:=IF(CLOSE> OPEN,BB*(HIGH-LOW),IF(CLOSE< OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主买:主动买/10000,COLORWHITE; 主动卖:=IF(CLOSE> OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-BB*(HIGH-LOW),0-VOL/2)); 主卖:-主动卖/10000,COLORCYLN; 差额:(主动买+主动卖)/10000; STICKLINE(CLOSE= REF(CLOSE,1),0,VOL,3.5,0),COLORRED; STICKLINE(CLOSE> REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE; STICKLINE(CLOSE< REF(CLOSE,1),0,VOL,3.5,0),COLORCYLN; STICKLINE(CURRBLRSCOUNT=1 LND PERIOD=5,LL,1 , 3.5 , 0 ) , COLOR00FFFF ;STICKLINE(CURRBLRSCOUNT=1 LND PERIOD=5,LL,1 , 3.2 , 0 ) , COLOR007777 ; STICKLINE(CURRBLRSCOUNT=1 LND PERIOD=5,LL,1 , 2.7 , 0 ) , COLOR009999 ; STICKLINE(CURRBLRSCOUNT=1 LND PERIOD=5,LL,1 , 2.1 , 0 ) , COLOR00BBBB ; STICKLINE(CURRBLRSCOUNT=1 LND PERIOD=5,LL,1 , 1.5 , 0 ) , COLOR00ddeE ; STICKLINE(CURRBLRSCOUNT=1 LND PERIOD=5,LL,1 , 0.9 , 0 ) , COLOR66FFFF ; STICKLINE(CURRBLRSCOUNT=1 LND PERIOD=5,LL,1 , 0.2 , 0 ) , COLORFFFFFF ; STICKLINE(主动买>= 0,VOL,-主动卖,3.2,0),COLOR000033; STICKLINE(主动买>= 0,VOL,-主动卖,2.7,0),COLOR000066; STICKLINE(主动买>= 0,VOL,-主动卖,2.1,0),COLOR000099; STICKLINE(主动买>= 0,VOL,-主动卖,1.5,0),COLOR0000CC; STICKLINE(主动买>= 0,VOL,-主动卖,0.9,0),COLOR0000FF; STICKLINE(主动买>= 0,VOL,-主动卖,0.2,0),COLORCC66FF; STICKLINE(主动卖<= 0,0,-主动卖,3.2,0),COLOR990000; STICKLINE(主动卖<= 0,0,-主动卖,2.7,0),COLORCC0000; STICKLINE(主动卖<= 0,0,-主动卖,2.1,0),COLORFF4400; STICKLINE(主动卖<= 0,0,-主动卖,1.5,0),COLORFF8800; STICKLINE(主动卖<= 0,0,-主动卖,0.9,0),COLORFFCC00; STICKLINE(主动卖<= 0,0,-主动卖,0.2,0),COLORGREEN; 持币:IF(SLR(10,2,20)>= H,SLR(10,2,20),DRLWNULL),CIRCLEDOT,COLOR00FF00,LINETHICK1;DRLWICON(持币> 0,持币,35 ); 持股:IF(SLR(10,2,20)<= L,SLR(10,2,20),DRLWNULL),CIRCLEDOT,COLORWHITE,LINETHICK1;DRLWICON(持股> 0,持股,34 );个股资金线:=ML(C,1)/ML(REF(C,18),18)*100;资金生命线:=ML(FORCLST(个股资金线,20),6);生命线:个股资金线> 资金生命线,COLOR000000,STICK,LINETHICK1;DRLWICON(生命线>0,生命线,34);五日: ML(V,5); 十五日: ML(V,15);三十五日: ML(V,35)COLORYELLOW,LINETHICK2;

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

    未发现:COST...

    未发现:DYNLINFO...

    未发现:FINLNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BLCKSET...

    未发现:BLRSNEXT...

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

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRLWLINE...

    未发现:REFX...

    未发现:FLLTZIG...

    未发现:FLLTZIGL...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PELK...

    未发现:PELKL...

    未发现:PELKBLRS...

    未发现:PELKBLRSL...

    未发现:PLOYLINE...

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

    未发现:TROUGH...

    未发现:TROUGHL...

    未发现:TROUGHBLRS...

    未发现:XML...

    未发现:ZIG...

    未发现:ZIGL...

    未发现:ZXNH...

    未发现:#YELR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PELK...

    未发现:$PELKBLRS...

    未发现:$TROUGH...

    未发现:$TROUGHBLRS...

    未发现:$FLLTZIG...

    未发现:$FLLTZIGL...

    未发现:$PELKL...

    未发现:$PELKBLRSL...

    未发现:$TROUGHL...

    未发现:$ZIGL...

    未发现:$FFT...

    未发现:$BLCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNLINFO...

    未发现:$FINLNCE...

    未发现:$DRLWLINE...


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

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

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

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

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