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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 资金进场指标 副图源码


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

资金进场指标 副图源码

//DRAWGBK(1, COLORRGB(180,180,180),COLORRGB(250,250,250),1);
当日成交量:VOL/10000,VOLSTICK;
换手率:VOL/CAPITAL*100,LINETHICK0,colorcyan;
DRAWTEXTEX(c,1,0,0,'换手率'+NUMTOSTR((换手率),2)+'%'),ALIGN1,colorred;
STICKLINE(-换手率,-换手率,0,8,1),colorcyan;
量比:if(BARPOS=DATACOUNT,DYNAINFO(17),v/ref(ma(v,5),1)),LINETHICK0;
STICKLINE(-量比,-量比,0,8,1),coloryellow;
DRAWTEXTEX(c,1,80,0,'量比'+NUMTOSTR((量比),2)+'%'),ALIGN1,colorred;
A01:=DYNAINFO(7);
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
A05:=IF((A03 > 20),A04,0);
A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
A07:=DMA(A06,(VOL / CAPITAL)) * 60;
A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);
Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
Var2:=EMA(Var1,8);
Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势:=EMA(Var3,3)-10;
FILLRGN((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09),COLORMAGENTA;
粉色机构建仓区:0,LINETHICK0,COLORMAGENTA;
A01:=DYNAINFO( 5);
A03:=BARSCOUNT(HIGH);
A04:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
A05:=IF((A03 > 20),A04,0);
A06:=IF((HIGH < A01),0,IF((LOW > A01),1,(((A01 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));
A07:=DMA(A06,(VOL / CAPITAL)) * 60;
A09:=IF((((A07 >0) AND (A07 > REF(A07,1))) AND (A05 >= 88)),A07,0);
Var1:=3*SMA((CLOSE-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1)-
2*SMA(SMA((HIGH-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1),3,1);
Var2:=EMA(Var1,8);
Var3:=3*SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1)-
2*SMA(SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1),3,1);
趋势:=EMA(Var3,3)-10;
FILLRGN((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09),COLORGREEN;
绿色机构出仓区:0,LINETHICK0,COLORGREEN;



gd19742

回复

举报

QQ|

GMT+8, 2024-11-16 10:07

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