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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

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


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

{指标介绍: 1、这个指标的柱线部分分为红蓝和黄绿两个区间,红蓝一般处于上升或出货阶段,黄绿处于整理或下跌阶段。 2、更重要的是里面的金、银、铜、铁、顶,它很好的描绘了票价与成交量运行的互动过程。 3、当量柱处于金、银区间(区间,不是单根柱)时先别急着抄底,可以等其运行到铜、铁区间时再进行操作。 4、成交量到顶区间时可结合K线位置进行判断。}

VAR1:=MA(vol,5); VAR2:=MA(VOL,40); VAR3:=V*100/CAPITAL; VAR4:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN)); VAR5:=IF(C>OPEN,VAR4*(HIGH-LOW),IF(C<OPEN,VAR4*((HIGH-OPEN)+(C-LOW)),VOL/2)); VAR6:=IF(C>OPEN,0-VAR4*((HIGH-C)+(OPEN-LOW)),IF(C<OPEN,0-VAR4*(HIGH-LOW),0-VOL/2)); VAR7:=HHV(V,90); VAR8:=LLV(V,90); VAR9:=VAR8+(VAR7-VAR8)*0.06; VAR10:=VAR8+(VAR7-VAR8)*0.28; VAR18:=VAR8+(VAR7-VAR8)*0.50; VAR19:=VAR8+(VAR7-VAR8)*0.75; VOLUME:VOL,VOLSTICK; 新股成交量:IF(BARSCOUNT(CLOSE)<40,VOL,DRAWNULL),VOLSTICK; 成交量(手):VOL,COLORWHITE,NODRAW; 调整周期:IF(VAR1<VAR2,BARSLAST(crOSS(VAR2,VAR1))+1,BARSLAST(CROSS(VAR2,VAR1))-BARSLAST(CROSS(VAR1,VAR2))),NODRAW; 调整总换手:IF(VAR1<VAR2,SUM(VAR3,BARSLAST(CROSS(VAR2,VAR1))+1),SUM(VAR3,BARSLAST(CROSS(VAR2,VAR1))+1)-SUM(VAR3,BARSLAST(CROSS(VAR1,VAR2))+1)),NODRAW; 调整均换手:调整总换手/调整周期,NODRAW; 虚拟成交量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; 放量上涨:C/REF(C,1)>=1.01 AND V/REF(V,1)>=1.5 AND V>MA(V,5) AND REF(V,1)/REF(MA(V,5),1)<=1.8,NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟成交量,0,4,-1),COLOR00C0C0; STICKLINE(VAR5>VAR6 AND VAR1>=VAR2,VOL,0,3,0),COLOR0000AA; STICKLINE(VAR5>VAR6 AND VAR1>=VAR2,VAR5,0,2.5,0),COLOR0000BB; STICKLINE(VAR5>VAR6 AND VAR1>=VAR2,VAR5,0,1.5,0),COLOR0000CC; STICKLINE(VAR5>VAR6 AND VAR1>=VAR2,VAR5,0,1,0),COLOR0000EE; STICKLINE(VAR6<VAR5 AND VAR1>=VAR2,VAR5,VAR5+ABS(VAR6),3,0),COLOR7B7B00; STICKLINE(VAR6<VAR5 AND VAR1>=VAR2,VAR5,VAR5+ABS(VAR6),2.5,0),COLOR909000; STICKLINE(VAR6<VAR5 AND VAR1>=VAR2,VAR5,VAR5+ABS(VAR6),1.5,0),COLORA8A800; STICKLINE(VAR6<VAR5 AND VAR1>=VAR2,VAR5,VAR5+ABS(VAR6),1,0),COLORCECE00; STICKLINE(VAR5>VAR6 AND VAR1<VAR2,0,VAR5,3,0),COLORRED; STICKLINE(VAR5>VAR6 AND VAR1<VAR2,0,VAR5,2.5,0),COLOR0066FF; STICKLINE(VAR5>VAR6 AND VAR1<VAR2,0,VAR5,1.5,0),COLOR0099FF; STICKLINE(VAR5>VAR6 AND VAR1<VAR2,0,VAR5,1,0),COLORYELLOW; STICKLINE(VAR6<VAR5 AND VAR1<VAR2,VAR5,VAR5+ABS(VAR6),3,0),COLOR007B00; STICKLINE(VAR6<VAR5 AND VAR1<VAR2,VAR5,VAR5+ABS(VAR6),2.5,0),COLOR009000; STICKLINE(VAR6<VAR5 AND VAR1<VAR2,VAR5,VAR5+ABS(VAR6),1.5,0),COLOR00A800; 【金】:REFDATE(VAR9,DATE),COLOR00FFFF; 【银】:REFDATE(VAR10,DATE),COLORFFFFFF; 【铜】:REFDATE(VAR18,DATE),COLORLIRED; 【铁】:REFDATE(VAR19,DATE),COLORRED; 【顶】:REFDATE(HHV(V,90),DATE),COLORCYAN;








回复

举报

QQ|

GMT+8, 2024-11-16 19:58

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