通达信资金量能买点指标公式

REFLINE:0;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,3);
macd:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:IF(X2>0,X2,0),POINTDOT,COLORRED;
X4:IF(X2<0,X2,0),POINTDOT,COLORGREEN;
{红色}
STICKLINE(X2>0,0,X2,2.4,0),COLOR000099;
STICKLINE(X2>0,0,X2,2.0,0),COLOR0000AA;
STICKLINE(X2>0,0,X2,1.6,0),COLOR0000CC;
STICKLINE(X2>0,0,X2,1.2,0),COLOR0000DD;
STICKLINE(X2>0,0,X2,0.8,0),COLOR0000EE;
STICKLINE(X2>0,0,X2,0.4,0),COLOR0000FF;
{青色}
STICKLINE(X2>0 AND X2<X1 AND X2<REF(X2,1),0,X2,2.4,0),COLORFFBF00;
{绿色}
STICKLINE(X2<0,0,X2,2.4,0),COLOR007700;
STICKLINE(X2<0,0,X2,2.0,0),COLOR009900;
STICKLINE(X2<0,0,X2,1.6,0),COLOR00CC00;
STICKLINE(X2<0,0,X2,1.2,0),COLOR00DD00;
STICKLINE(X2<0,0,X2,0.8,0),COLOR00FF00;
STICKLINE(X2<0,0,X2,0.4,0),COLOR00FF00;
{紫色}
STICKLINE(X2<0 AND X2>X1 AND X2>REF(X2,1),0,X2,2.4,0),COLOR990099;
STICKLINE(X2<0 AND X2>X1 AND X2>REF(X2,1),0,X2,2.0,0),COLORAA00AA;
STICKLINE(X2<0 AND X2>X1 AND X2>REF(X2,1),0,X2,1.6,0),COLORCC00CC;
STICKLINE(X2<0 AND X2>X1 AND X2>REF(X2,1),0,X2,1.2,0),COLORDD00DD;
STICKLINE(X2<0 AND X2>X1 AND X2>REF(X2,1),0,X2,0.8,0),COLOREE00EE;
STICKLINE(X2<0 AND X2>X1 AND X2>REF(X2,1),0,X2,0.4,0),COLORFF00FF;
资金动能2:X2,COLORRED,LINETHICK2;
资金动能1:X1,COLORYELLOW,LINETHICK2;
DRAWICON((crOSS(资金动能2,资金动能1) AND 资金动能1<-0.25),资金动能1,1);
资金买点:CROSS(资金动能2,资金动能1) AND 资金动能1<-0.25,LINETHICK2,COLOR0088FF;
DRAWICON((CROSS(资金动能1,资金动能2) AND 资金动能2>0.25),资金动能2,2);
VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
Mac3:=MA(C,3);
SHORT:=12;
LONG:=26;
MID:=9;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),NODRAW;
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,X2,0.4,0),COLOR00D8FF;
资金量能:OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),COLORRED,NODRAW;




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

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

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

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