通达信金牛趋势指标公式源码副图

{指标介绍:
(一)、绿横线出现是股价“下降”趋势出现,绿“加速”是继续下降信号,卖出为主,绿横线下方小绿柱是股价下降过程中的卖出信号。
(二)、红横线出现是股价“上升”趋势出现,红“加速”是继续上升信号,买入为主,红横线下方小红柱是股价上升过程中的买入信号。}

{DRAWGBK(CLOSE>0,RGB(0,10,10),RGB(88,0,0),0,2,0);}
Q0:=1;
X_111:=EMA((CLOSE-REF(CLOSE,1))/REF(CLOSE,3),10)*100;
X_222:=EMA(EMA(EMA(EMA(X_111,2),2),2),3);
X_333:=(CLOSE-MA(CLOSE,26))/MA(CLOSE,26)*100;
X_444:=1;
A555:=IF(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100>0 AND MA(CLOSE,5)>MA(CLOSE,10) AND X_333>EMA(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100,5) AND X_222>REF(X_222,1),MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100,0);
持股线:=(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100>0 AND MA(CLOSE,5)>MA(CLOSE,10) AND X_333>EMA(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100,5) AND DYNAINFO(17)>0)*A555/3.5,COLORRED;
X_555:=MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),3)*100;
X_666:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_777:=X_666+3*STD(X_666,10);
X_888:=MA(CLOSE,26)+2*STD(CLOSE,26);
X_999:=(vol>0 AND A555>0 AND X_222>REF(X_222,1))*EMA(A555,5);
X_1010:=(VOL>0 AND BARSLASTCOUNT(A555>0)=1 AND crOSS(EMA(CLOSE,2),HHV(EMA(CLOSE,5),26)))*EMA(A555,2);
X_1111:=(VOL>0 AND BARSLASTCOUNT(A555>0)=1 AND CROSS(EMA(CLOSE,2),HHV(EMA(CLOSE,5),26)))*(-3);
X_1212:=(VOL>0 AND EMA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),2)>MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),4) AND MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),4)>REF(MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28),4),1) AND SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),14,1)*100>64.5 AND EMA(CLOSE,1)>(X_777 OR X_888))*EMA(A555,5)/2.5,COLORCYAN;
负数现—防下跌:=(持股线-X_1212),COLORWHITE;{,NODRAW不画该线};
设置线:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10,COLORWHITE,LINETHICK2;
X_4:=(HIGH+LOW+OPEN+CLOSE)/4;
X_5:=EMA(X_4,13)-EMA(X_4,34);

源码未粘贴完...下载附件全源码




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

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

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