MACD资金流向+布林趋势K线通达信公式 主图 源码附图

AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
DIF:=EMA(CLOSE,5)-EMA(CLOSE,34);
DEA:=EMA(DIF,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(C,60);MA120:MA(C,120);
通1:=AA*102/100;
通2:=AA*(200-102)/100;
量_价:=1;
CTKG:=1;
W:=量_价;
EPSL:=0.0001;
ZZ:=(C+H+L)/3;
STICKLINE(DIF<=DEA,CLOSE,OPEN,3,0),COLOR009900;
STICKLINE(DIF<=DEA,CLOSE,OPEN,2.2,0),COLOR00BB00;
STICKLINE(DIF<=DEA,CLOSE,OPEN,1.5,0),COLOR00DD00;
STICKLINE(DIF<=DEA,CLOSE,OPEN,0.5,0),COLOR00FF00;
STICKLINE(DIF>=DEA,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(DIF>=DEA,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(DIF>=DEA,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(DIF>=DEA,CLOSE,OPEN,0.5,0),COLORCC66FF;
V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1);
TJA:=ZZ>=MAX(C,O) AND CTKG=1;
TJB:=ZZ<=MIN(C,O) AND CTKG=1;
ZF:=IF(TJA,1,IF(TJB,-1,0));
TJ0:=TJA OR TJB;
TJ1:=H=L AND C>REF(C,1);
TJ2:=H=L AND C<REF(C,1);
TJ3:=H=L AND C=REF(C,1);
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
STICKLINE(V2V,OPEN,CLOSE,0.5,0),COLORYELLOW;
ZT:=C/REF(C,1)>1.097;
量_价:=IF(W=1,VOL,AMOUNT),STICK,COLOREEFFEE;
EE:=IF(TJ1,EPSL,IF(TJ2,-EPSL,0));
ZL:=2*(H-L)+ABS(C-O)+3*IF(TJ3,EPSL,ABS(EE));
JGL_DX:=(IF(TJ0,2/3*(2*C-H-L)+ZF*ABS(C-O),(C-O))+EE)/ZL;
差:=(JGL_DX*量_价)/20000,COLOR13AADD,NODRAW;
DX:=JGL_DX*100,NODRAW;
上:(1+7/100)*DD,CROSSDOT,COLORFF1CAE;
下:(1-7/100)*DD,CROSSDOT,COLOR00FF7F;
中:(上+下)/2,CROSSDOT,COLORCFB53B;
买:=量_价*(1+JGL_DX)/20000,COLOR1133AA,NODRAW;
卖:=量_价*(1-JGL_DX)/20000,COLORFFFF00,NODRAW;
量差:=买-卖,NODRAW,COLORYELLOW;
STICKLINE(ZT,OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(量差<=0,CLOSE,OPEN,3,0),COLOR009900;
STICKLINE(量差<=0,CLOSE,OPEN,2.2,0),COLOR00BB00;
STICKLINE(量差<=0,CLOSE,OPEN,1.5,0),COLOR00DD00;
STICKLINE(量差<=0,CLOSE,OPEN,0.5,0),COLOR00FF00;
STICKLINE(量差>=0,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(量差>=0,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(量差>=0,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(量差>=0,CLOSE,OPEN,0.5,0),COLORCC66FF;
WWWFXJGSWCOM:=((((2*CLOSE)+HIGH)+LOW) / 4);
V3V:=V/REF(V,1)>=1.9 AND C<REF(C,1);
STICKLINE(V2V,OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(ZT,OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(V3V,OPEN,CLOSE,0.5,0),COLORBLUE;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图