股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信量子成交量指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-7-27 14:31:38

总量:=AMOUNT,volSTICK; 倍数:总量/REF(总量,1),COLORYELLOW,NODRAW; VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0; VOL,VOLSTICK; 倍量:(VOL/REF(VOL,1)>2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2),COLORFF00FF; STICKLINE(倍量,0,V,3,0),COLORFF00FF; 地量:LLV(VOL,15)=VOL,COLORWHITE; STICKLINE(地量,0,V,1,0),COLORWHITE; 三十地:LLV(VOL,30)=VOL,COLORFFDE00; STICKLINE(三十地,0,V,3,0),COLOR008800; 倍缩量:VOL/REF(VOL,1)< 0.5,COLORYELLOW; STICKLINE(倍缩量,0,V,3,0),COLORYELLOW; 缩量涨:COUNT(C>REF(C,1),2)=2 AND COUNT(VOL< REF(VOL,1),2)=2,COLORGREEN; STICKLINE(缩量涨,0,V,3,0),COLORGREEN; 黑跳: IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),0.5,0),COLORFF0080; STICKLINE(黑跳,0,V,3,0),COLORFF0080; 红跳:IF(LOW>REF(HIGH,1) AND COUNT(OPEN< CLOSE,1),0.5,0),COLOR8000FF; STICKLINE(红跳,0,V,3,0),COLOR8000FF; 真阳或假阴:=C>O OR C>REF(C,1); 收阳:= REF(真阳或假阴,3); 倍量1:=REF(倍量,3); 高量:=REF(V,3)>=HHV(V,7); 三日不破:= LLV(C,3)>=REF(L,3); 价升:=COUNT(C>=REF(C,1),3)=3; 量缩:=COUNT(V<=REF(V,1),3)=3; 连阳:= COUNT(真阳或假阴,3)=3; 倍量将军柱:= 倍量1 AND 三日不破 AND 收阳; 高量将军柱:= 高量 AND 三日不破 AND 收阳; 将军柱:= 倍量将军柱 OR 高量将军柱; 长阴短柱:C/REF(C,1)<=0.96 AND V< HHV(V,30)/1.9; DRAWTEXT(长阴短柱 ,V,'!'),COLORLICYAN; XGX7:=Abs((VOL-REF(VOL,7))/REF(VOL,7))< 0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)< REF(VOL,7) AND REF(VOL,2)< REF(VOL,7) AND REF(VOL,3)< REF(VOL,7) AND REF(VOL,(7-3))< REF(VOL,7) AND REF(VOL,(7-2))< REF(VOL,7) AND REF(VOL,(7-1))< REF(VOL,7); XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))< 0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)< REF(VOL,8) AND REF(VOL,2)< REF(VOL,8) AND REF(VOL,3)< REF(VOL,8) AND REF(VOL,(8-3))< REF(VOL,8) AND REF(VOL,(8-2))< REF(VOL,8) AND REF(VOL,(8-1))< REF(VOL,8); XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))< 0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)< REF(VOL,9) AND REF(VOL,2)< REF(VOL,9) AND REF(VOL,3)< REF(VOL,9) AND REF(VOL,(9-3))< REF(VOL,9) AND REF(VOL,(9-2))< REF(VOL,9) AND REF(VOL,(9-1))< REF(VOL,9); XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))< 0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)< REF(VOL,10) AND REF(VOL,2)< REF(VOL,10) AND REF(VOL,3)< REF(VOL,10) AND REF(VOL,(10-3))< REF(VOL,10) AND REF(VOL,(10-2))< REF(VOL,10) AND REF(VOL,(10-1))< REF(VOL,10); XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))< 0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)< REF(VOL,11) AND REF(VOL,2)< REF(VOL,11) AND REF(VOL,3)< REF(VOL,11) AND REF(VOL,(11-3))< REF(VOL,11) AND REF(VOL,(11-2))< REF(VOL,11) AND REF(VOL,(11-1))< REF(VOL,11); XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))< 0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)< REF(VOL,12) AND REF(VOL,2)< REF(VOL,12) AND REF(VOL,3)< REF(VOL,12) AND REF(VOL,(12-3))< REF(VOL,12) AND REF(VOL,(12-2))< REF(VOL,12) AND REF(VOL,(12-1))< REF(VOL,12); 百日地量:LLV(VOL,100)=VOL,COLORWHITE; STICKLINE(百日地量,0,V,3,0),COLORWHITE; V1:=CLOSE/REF(CLOSE,3)>=1.1; V2:=BACKSET(V1,2); V3:=REF(CLOSE,3)*1.1; V4:=crOSS(C,V3); STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,3,0),COLOR00007D; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,2.4,0),COLOR0000A6; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,2,0),COLOR0000BB; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,1.4,0),COLOR0000DD; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,0.8,0),COLOR0000FF; M5:MA(VOL,5),COLORWHITE; M60:MA(VOL,60),COLORYELLOW; DRAWICON(CROSS(V,M5) AND CROSS(V,M60) AND C > O,L*0.95,5); 预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK; MAVOL5:=MA(预测量,5); MAVOL60:=MA(预测量,60); BB:=CROSS(MAVOL5,MAVOL60); CC:=CROSS(MAVOL60,MAVOL5); STICKLINE(BB,0,VOL,1.5,0),COLORYELLOW; STICKLINE(CC,0,VOL,1.5,0),COLORGREEN; DRAWICON((MA(V,4)*4+V)/5>=MA(V,60) AND MA(V,5)< MA(V,60),预测量*1.2,1); 绿低量:=13; 蓝低量:=55; 灰低量:=100; 倍数2:=1.9; 倍量_: VOL>=REF(V,1)*倍数2 AND (IF(C< O,C>REF(C,1),1)),COLORYELLOW,NODRAW; 倍缩: REF(V,1)>=VOL*倍数2,COLORMAGENTA,NODRAW; 平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW; 低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW; 低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW; 地量_:=VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORGRAY,NODRAW; 小倍量_:VOL>=REF(V,1)*1.6 AND C>O;








回复

举报

QQ|

GMT+8, 2024-11-16 09:20

快速回复 返回顶部 返回列表