通达信超牛大涨指标公式

DIF:=EMA(CLOSE,13)-EMA(CLOSE,28),NODRAW;
DEA:=EMA(DIF,8),NODRAW;
macd:(DIF-DEA)*5,NODRAW;
STICKLINE((MACD > 0),0,MACD,3.2,0),COLOR000033;
STICKLINE((MACD > 0),0,MACD,2.7,0),COLOR000066;
STICKLINE((MACD > 0),0,MACD,2.1,0),COLOR000099;
STICKLINE((MACD > 0),0,MACD,1.5,0),COLOR0000CC;
STICKLINE((MACD > 0),0,MACD,0.9,0),COLOR0000FF;
STICKLINE((MACD > 0),0,MACD,0.3,0),COLORCC66FF;
STICKLINE((MACD <= 0),0,MACD,3,2),COLOR990000;
STICKLINE((MACD <= 0),0,MACD,2.7,0),COLORCC0000;
STICKLINE((MACD <= 0),0,MACD,2.1,0),COLORFF4400;
STICKLINE((MACD <= 0),0,MACD,1.5,0),COLORFF8800;
STICKLINE((MACD <= 0),0,MACD,0.9,0),COLORFFCC00;
STICKLINE((MACD <= 0),0,MACD,0.3,0),COLORCYAN;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,3,2),COLOR990000;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,2.7,0),COLORCC0000;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,2.1,0),COLORFF4400;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,1.5,0),COLORFF8800;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,0.9,0),COLORFFCC00;
STICKLINE((MACD<REF(MACD,1)AND MACD>0),0,MACD,0.3,0),COLORCYAN;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,3.2,0),COLOR000033;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,2.7,0),COLOR000066;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,2.1,0),COLOR000099;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,1.5,0),COLOR0000CC;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,0.9,0),COLOR0000FF;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),0,MACD,0.3,0),COLORCC66FF;
VA1:=DMA((((H+L) + (C*2)) / 4),0.9);
VA2:=REF(EMA(VA1,3),1);
VA3:(MA((C-VA2)*10,2))*0.1,NODRAW;
VA4:=V*100/CAPITAL;
VA5:=MA(VA4,4);
VA6:=MA(VA4,9);
VA7:=MA(VA4,17);
VA8:=MA(VA4,34);
VA9:=(VA5+VA6+VA7+VA8)/4;
VB1:(VA5-VA9)COLORMAGENTA,NODRAW;
VB2:(VA6-VA9)COLORYELLOW,NODRAW;
VB3:(VA7-VA9)COLORLIBLUE,NODRAW;
VB4:(VA8-VA9)COLORBLUE,NODRAW;
VB5:STICKLINE(VB1>=0 AND VB1>=REF(VB1,1),5,5+VB1,1.5,0),COLORRED;
VB6:STICKLINE(VB1>=0 AND VB1< REF(VB1,1),5,5+VB1,1.5,0),COLORYELLOW;
VB7:STICKLINE(VB1<0 AND VB1>=REF(VB1,1),5,5+VB1,1.5,0),COLORGREEN;
VB8:STICKLINE(VB1<0 AND VB1< REF(VB1,1),5,5+VB1,1.5,0),COLORGREEN;
VB54:STICKLINE(VA3>=0 AND VA3>=REF(VA3,1),10,10+VA3,1.5,0),COLORRED;
VB64:STICKLINE(VA3>=0 AND VA3< REF(VA3,1),10,10+VA3,1.5,0),COLORRED;
VB74:STICKLINE(VA3<0 AND VA3>=REF(VA3,1),10,10+VA3,1.5,0),COLORGREEN;
VB84:STICKLINE(VA3<0 AND VA3< REF(VA3,1),10,10+VA3,1.5,0),COLORGREEN;



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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