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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 【成交量分级】(实用就好!副图,源码,贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 19:22:45
【成交量分级】(实用就好!副图,源码,贴图)介绍

【成交量分级】(实用就好!副图,源码,贴图)

{成交量分级-普通版}这个版本大概是通用的。
HV:=HHV(VOL,0);
DV:=LLV(VOL,0);
CE:=HV-DV;
VA:IF(V>HV-CE/5,VOL,0),COLORYELLOW,STICK,LINETHICK4;
VB:IF(RANGE(V,HV-CE/5*2,HV-CE/5),VOL,0),COLORMAGENTA,STICK,LINETHICK4;
VC:IF(RANGE(V,HV-CE/5*3,HV-CE/5*2),VOL,0),COLORBROWN,STICK,LINETHICK4;
VD:IF(RANGE(V,HV-CE/5*4,HV-CE/5*3),VOL,0),COLORBLUE,STICK,LINETHICK4;
VE:IF(RANGE(V,HV-CE/5*5,HV-CE/5*4),VOL,0),COLORWHITE,STICK,LINETHICK1;
VF:IF(V<=HV-CE/5*5,VOL,0),COLORGREEN,STICK,LINETHICK6;

{成交量分级-通信达立体版}
HV:=HHV(VOL,0);
DV:=LLV(VOL,0);
CE:=HV-DV;
AAV:=IF(V>HV-CE/5,VOL,0),COLORYELLOW,STICK,LINETHICK4;
BBV:=IF(RANGE(V,HV-CE/5*2,HV-CE/5),VOL,0),COLORMAGENTA,STICK,LINETHICK4;
CCV:=IF(RANGE(V,HV-CE/5*3,HV-CE/5*2),VOL,0),COLORBROWN,STICK,LINETHICK4;
DDV:=IF(RANGE(V,HV-CE/5*4,HV-CE/5*3),VOL,0),COLORBLUE,STICK,LINETHICK4;
EEV:=IF(RANGE(V,HV-CE/5*5,HV-CE/5*4),VOL,0),COLORWHITE,STICK,LINETHICK1;
FFV:=IF(V<=HV-CE/5*5,VOL,0),COLORGREEN,STICK,LINETHICK6;
STICKLINE(FFV>0,0,VOL,3,0),COLOR9E7001;
STICKLINE(FFV>0,0,VOL,2.4,0), COLORBE8601;
STICKLINE(FFV>0,0,VOL,1.8,0), COLORDE9C01;
STICKLINE(FFV>0,0,VOL,1.2,0), COLORFEB301;
STICKLINE(FFV>0,0,VOL,0.6,0), COLORFEBC21;
STICKLINE(FFV>0,0,VOL,0.4,0), COLORFEC641;
STICKLINE(FFV>0,0,VOL,0.2,0), COLORFECF61;
STICKLINE(FFV>0,0,VOL,0.1,0), COLORFED981;
STICKLINE(EEV>0,0,VOL,3,0),COLOR4F4F4F;
STICKLINE(EEV>0,0,VOL,2.4,0),COLOR5F5F5F;
STICKLINE(EEV>0,0,VOL,1.8,0),COLOR6F6F6F;
STICKLINE(EEV>0,0,VOL,1.2,0),COLOR7F7F7F;
STICKLINE(EEV>0,0,VOL,0.6,0),COLOR8F8F8F;
STICKLINE(EEV>0,0,VOL,0.4,0),COLOR9F9F9F;
STICKLINE(EEV>0,0,VOL,0.2,0),COLORAFAFAF;
STICKLINE(EEV>0,0,VOL,0.1,0),COLORC0C0C0;
STICKLINE(CCV>0,0,VOL,3,0),COLOR9F009F;
STICKLINE(CCV>0,0,VOL,2.4,0),COLORBF00BF;
STICKLINE(CCV>0,0,VOL,1.8,0),COLORDF00DF;
STICKLINE(CCV>0,0,VOL,1.2,0),COLORFF00FF;
STICKLINE(CCV>0,0,VOL,0.6,0),COLORFF20FF;
STICKLINE(CCV>0,0,VOL,0.4,0),COLORFF40FF;
STICKLINE(CCV>0,0,VOL,0.2,0),COLORFF60FF;
STICKLINE(CCV>0,0,VOL,0.1,0),COLORFF80FF;
STICKLINE(DDV>0,0,VOL,3,0),COLOR009F00;
STICKLINE(DDV>0,0,VOL,2.4,0),COLOR00BF00;
STICKLINE(DDV>0,0,VOL,1.8,0),COLOR00DF00;
STICKLINE(DDV>0,0,VOL,1.2,0),COLOR00FF00;
STICKLINE(DDV>0,0,VOL,0.6,0),COLOR20FF20;
STICKLINE(DDV>0,0,VOL,0.4,0),COLOR40FF40;
STICKLINE(DDV>0,0,VOL,0.2,0),COLOR60FF60;
STICKLINE(DDV>0,0,VOL,0.1,0),COLOR80FF80;
STICKLINE(BBV>0,0,VOL,3,0),COLOR00009F;
STICKLINE(BBV>0,0,VOL,2.4,0),COLOR0000BF;
STICKLINE(BBV>0,0,VOL,1.8,0),COLOR0000DF;
STICKLINE(BBV>0,0,VOL,1.2,0),COLOR0000FF;
STICKLINE(BBV>0,0,VOL,0.6,0),COLOR2020FF;
STICKLINE(BBV>0,0,VOL,0.4,0),COLOR4040FF;
STICKLINE(BBV>0,0,VOL,0.2,0),COLOR6060FF;
STICKLINE(BBV>0,0,VOL,0.1,0),COLOR8080FF;
STICKLINE(AAV>0,0,VOL,3,0),COLOR009FFF;
STICKLINE(AAV>0,0,VOL,2.4,0),COLOR00BFFF;
STICKLINE(AAV>0,0,VOL,1.8,0),COLOR00DFFF;
STICKLINE(AAV>0,0,VOL,1.2,0),COLOR00FFFF;
STICKLINE(AAV>0,0,VOL,0.6,0),COLOR20FFFF;
STICKLINE(AAV>0,0,VOL,0.4,0),COLOR40FFFF;
STICKLINE(AAV>0,0,VOL,0.2,0),COLOR60FFFF;
STICKLINE(AAV>0,0,VOL,0.1,0),COLOR80FFFF;

{成交量分级-同花顺立体版}
hV=HHV(VOL,0);
dv=LLV(VOL,0);
CE=hV-dv;
aAv:=IF(V>hV-ce/5,VOL,NULL),coloryellow,STICK,Linethick4;
bBv:=IF(RANGE(V,hV-ce/5*2,hV-ce/5),VOL,NULL),colormagenta,STICK,Linethick4;
cCV:=IF(RANGE(V,hV-ce/5*3,hV-ce/5*2),VOL,NULL),colorbrown,STICK,Linethick4;
dDV:=IF(RANGE(V,hV-ce/5*4,hV-ce/5*3),VOL,NULL),colorblue,STICK,Linethick4;
eEV:=IF(RANGE(V,hV-ce/5*5,hV-ce/5*4),VOL,NULL),colorwhite,STICK,Linethick1;
ffv:=IF(V<=HV-CE/5*5,VOL,NULL),colorgreen,STICK,LINETHICK6;
STICKLINE(ffv>0,0,VOL,10,0),Color9E7001;
STICKLINE(ffv>0,0,VOL,8,0), ColorBE8601;
STICKLINE(ffv>0,0,VOL,6,0), ColorDE9C01;
STICKLINE(ffv>0,0,VOL,5,0), ColorFEB301;
STICKLINE(ffv>0,0,VOL,4,0), ColorFEBC21;
STICKLINE(ffv>0,0,VOL,3,0), ColorFEC641;
STICKLINE(ffv>0,0,VOL,2,0), ColorFECF61;
STICKLINE(ffv>0,0,VOL,1,0), ColorFED981;
STICKLINE(eEV>0,0,VOL,10,0),Color4F4F4F;
STICKLINE(eEV>0,0,VOL,8,0),Color5F5F5F;
STICKLINE(eEV>0,0,VOL,6,0),Color6F6F6F;
STICKLINE(eEV>0,0,VOL,5,0),Color7F7F7F;
STICKLINE(eEV>0,0,VOL,4,0),Color8F8F8F;
STICKLINE(eEV>0,0,VOL,3,0),Color9F9F9F;
STICKLINE(eEV>0,0,VOL,2,0),ColorAFAFAF;
STICKLINE(eEV>0,0,VOL,1,0),ColorC0C0C0;
STICKLINE(ccV>0,0,VOL,10,0),Color9F009F;
STICKLINE(ccV>0,0,VOL,8,0),ColorBF00BF;
STICKLINE(ccV>0,0,VOL,6,0),ColorDF00DF;
STICKLINE(ccV>0,0,VOL,5,0),ColorFF00FF;
STICKLINE(ccV>0,0,VOL,4,0),ColorFF20FF;
STICKLINE(ccV>0,0,VOL,3,0),ColorFF40FF;
STICKLINE(ccV>0,0,VOL,2,0),ColorFF60FF;
STICKLINE(ccV>0,0,VOL,1,0),ColorFF80FF;
STICKLINE(ddV>0,0,VOL,10,0),Color009F00;
STICKLINE(ddV>0,0,VOL,8,0),Color00BF00;
STICKLINE(ddV>0,0,VOL,6,0),Color00DF00;
STICKLINE(ddV>0,0,VOL,5,0),Color00FF00;
STICKLINE(ddV>0,0,VOL,4,0),Color20FF20;
STICKLINE(ddV>0,0,VOL,3,0),Color40FF40;
STICKLINE(ddV>0,0,VOL,2,0),Color60FF60;
STICKLINE(ddV>0,0,VOL,1,0),Color80FF80;
STICKLINE(bBv>0,0,VOL,10,0),Color00009F;
STICKLINE(bBv>0,0,VOL,8,0),Color0000BF;
STICKLINE(bBv>0,0,VOL,6,0),Color0000DF;
STICKLINE(bBv>0,0,VOL,5,0),Color0000FF;
STICKLINE(bBv>0,0,VOL,4,0),Color2020FF;
STICKLINE(bBv>0,0,VOL,3,0),Color4040FF;
STICKLINE(bBv>0,0,VOL,2,0),Color6060FF;
STICKLINE(bBv>0,0,VOL,1,0),Color8080FF;
STICKLINE(aAv>0,0,VOL,10,0),Color009Fff;
STICKLINE(aAv>0,0,VOL,8,0),Color00BFff;
STICKLINE(aAv>0,0,VOL,6,0),Color00DFff;
STICKLINE(aAv>0,0,VOL,5,0),Color00FFff;
STICKLINE(aAv>0,0,VOL,4,0),Color20FFff;
STICKLINE(aAv>0,0,VOL,3,0),Color40FFff;
STICKLINE(aAv>0,0,VOL,2,0),Color60FFff;
STICKLINE(aAv>0,0,VOL,1,0),Color80FFff;

普通版例图
 


 




 



gd15500

回复

举报

QQ|

GMT+8, 2024-12-26 03:40

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