公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 通达信公式 > 正文 → 正文

通达信主力资金动能指标公式源码副图

发布时间:2024/12/19 19:39:22  浏览次数:

天量:=CONST(IF(V=HHV(V,30),V,REF(V,BARSLAST(V=HHV(V,30))))),COLOR00FF00,POINTDOT;
A01:=(vol/CLOSE)/3;
A02:=SUM((IF(((A01>60) AND C<15 AND (CLOSE>(REF(CLOSE,1)))),A01,0)),1);
A03:=SUM((IF(((A01>20) AND C>15 AND (CLOSE>(REF(CLOSE,1)))),A01,0)),1);
主力买:(A02+A03),NODRAW;
A04:=SUM((IF(((A01>60) AND C<15 AND (CLOSE<(REF(CLOSE,1)))),A01,0)),1);
A05:=SUM((IF(((A01>20) AND C>15 AND (CLOSE<(REF(CLOSE,1)))),A01,0)),1);
主力卖:(A04+A05),NODRAW;
主净买:IF(FINANCE(7)<5000000000,(主力买-主力卖)/10,0),COLORYELLOW,NODRAW;
STICKLINE(主力买 ,天量+主力买*4,天量,2,0),COLORRED;
STICKLINE(主力卖 ,天量-主力卖*4,天量,2,0),COLORGREEN;
STICKLINE(主净买 ,天量+主净买*4,天量,2,0),COLORYELLOW;
{主导动能}
中量:=天量*0.5;
TT:=(2*CLOSE+OPEN+HIGH+LOW)*10000;
主导动能:TT/EMA(TT,4)-1,COLORSTICK,NODRAW;
FF:=主导动能*800000;
获利回吐:STICKLINE(FF<REF(FF,1)AND FF>0,中量,中量+FF,2,0),COLOR33DFDD;
做空卖出:STICKLINE(FF<REF(FF,1)AND FF<0,中量,中量+FF,2,0),COLOR00DD00;
空头回补:STICKLINE(FF>REF(FF,1)AND FF<0,中量,中量+FF,2,0),COLORFFAA00;
做多买进:STICKLINE(FF>REF(FF,1)AND FF>0,中量,中量+FF,2,0),COLOR0000DD;
HH10:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,FF=HHV(Abs(FF),10),0);
HH20:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,FF=HHV(ABS(FF),20),0);
HH30:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,FF=HHV(ABS(FF),30),0);
HH50:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,FF=HHV(ABS(FF),50),0);
HH100:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,FF=HHV(ABS(FF),80),0);
动能级别:(HH10+HH20+HH30+HH50+HH100)/50,LINETHICK,NODRAW;
超强:STICKLINE(HH100,中量,中量+FF,2,0),COLORMAGENTA;
{主力进出资金}
地量:=天量*0.1;
VUR0:=(2*O+H+L+3*C)/7;
VUR1:=CAPITAL*VUR0/10;
VUR2:=SMA(AMOUNT,10,1)/1000;
VUR3:=MA(C*3,5);
VUR4:=VUR2*C*3/VUR3*1/10;
VUR5:=VUR2*O*3/VUR3*1/10;
VUR6:=VUR2*H*3/VUR3*1/10;
VUR7:=VUR2*L*3/VUR3*1/10;
VUR8:=(2*VUR5+VUR6+VUR7+3*VUR4)/7;
VUR9:=DMA(EMA(VUR4,2),SUM(V,1)*VUR8);
VUR10:=EMA(VUR9,2);
VURA:=VUR9>VUR10;
VURB:=EMA(VUR1-VUR9,1);
VURC:=REF(VURB,1);
VURD:=VURB>VURC;
VURS:=VURD AND C>O;
VURE:=(VURB-VURC)*0.15;
VURF:=(VUR9-VUR10)*150;
VURG:=(VURC-VURB)*(-1);
VURH:=IF(VURB>VURC,VURE/1,0);
VURN:=IF(VURB<VURC,VURE/1,0);
VURT:=IF(VURA AND VURS,VURF/10,0);
VURL:=IF(VURA AND VURB<VURC,VURE/1,0);
吸进:VURH/100,NODRAW,COLORRED;
吐出:VURN/100,NODRAW,COLORGREEN;
减筹:VURL/100,NODRAW,COLORFFF516;
买进强烈:VURT/100,NODRAW,COLORYELLOW;
STICKLINE(VURB>VURC,地量,地量+VURH,3,1),COLORRED;
STICKLINE(VURB<VURC,地量,地量+VURN,3,0),COLORGREEN;
STICKLINE(VURA AND VURB<VURC,地量,地量+VURL,3,0),COLORFFF516;
STICKLINE(VURA AND VURS,地量,地量+VURT,3,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.02,0.1,0,'主力买卖'),COLORWHITE;
DRAWTEXT_FIX(1,0.02,0.5,0,'主导动能'),COLORWHITE;
DRAWTEXT_FIX(1,0.02,0.9,0,'资金进出'),COLORWHITE;

 

通达信主力资金动能指标公式源码副图

通达信主力资金动能指标公式源码副图

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识