通达信顺势寻牛指标公式源码

X_1:=REF(CLOSE,1);
X_2:=(X_1-CLOSE)*100/X_1;
X_3:=X_2>4 AND Abs(CLOSE-OPEN)/CLOSE>0.05;
X_4:=CLOSE<OPEN AND CLOSE<0.98*MA(CLOSE,5) AND ABS(CLOSE-OPEN)/CLOSE>0.03;
X_5:=X_4 AND (MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>=1/3 AND X_2>=3;
X_6:=CONST(REF(LOW,BArslAST(X_5>0)));
X_7:=0.033;
X_8:=ABS(X_6-LOW)<=X_7 OR ABS(X_6-MIN(OPEN,CLOSE))<=X_7 OR ABS(X_6-HIGH)<=X_7 OR ABS(X_6-MAX(OPEN,CLOSE))<=X_7;
X_9:=COUNT(X_8,30)>=1;
X_10:=vol<=0.505*REF(VOL,1);
X_11:=REF(X_9,1) AND X_10 AND COUNT(X_3,10);
X_12:=SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,5)<1;
X_13:=(HIGH-LOW)/LOW*100>5 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>5;
X_14:=X_12 AND X_13;
X_15:=IF(CODELIKE(1),0,1);
X_16:=IF(CODELIKE(2),0,1);
X_17:=IF(CODELIKE(3),0,1);
X_18:=IF(CODELIKE(4),0,1);
X_19:=COUNT(X_11,3)>1;
X_20:=X_10 OR X_3 OR X_8 AND X_15 AND X_16 AND X_17 AND X_18 AND COUNT(X_10,3)>1;
STICKLINE(X_20,0,0.8,3,0),COLORRED;



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

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

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

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