通达信趋势启动指标公式

X_1:=2*CLOSE;
X_2:=X_1+HIGH;
X_3:=(X_2+LOW)/4;
X_4:=LLV(LOW,34);
X_5:=HHV(HIGH,34);
X_6:=EMA((X_3-X_4)/(X_5-X_4)*100,13);
X_7:=EMA(0.667*REF(X_6,1)+0.333*X_6,2);
X_8:=X_3-X_4;
X_9:=X_5-X_4;
X_10:=X_8/X_9*100;
X_11:=SLOPE(CLOSE,21);
X_12:=X_11*20+CLOSE;
X_13:=MA(HIGH,13);
X_14:=LLV(LOW,20);
X_15:=CLOSE/REF(CLOSE,1)>=1.07;
X_16:=EMA(X_10,8);
X_17:=EMA(X_16,5);
X_18:=EMA(CLOSE,2);
X_19:=EMA(X_12,42);
X_20:=HHV(X_13,13);
X_21:=LLV(X_13,1);
X_22:=EMA(CLOSE,4);
X_23:=X_18>=X_19 AND X_21=X_20 AND X_18>X_22 AND CLOSE>X_21 AND REF(X_21,1)<REF(X_20,1);
X_24:=BARSLAST(X_23)+1;
X_25:=LLV(LOW,X_24)*1.3;
X_26:=X_14*1.418;
X_27:=X_18>=X_19 AND X_21=X_20 AND X_15 AND X_24<=30 AND CLOSE<=X_25 AND CLOSE<=X_26;
X_28:=X_27 AND FILTER(X_27,X_24);
X_29:=X_18>=X_19 AND X_21=X_20 AND CLOSE/REF(CLOSE,1)>=1.035;
X_30:=X_29 AND X_24<=30 AND CLOSE<=X_25 AND CLOSE<=X_26;
X_31:=X_30 AND FILTER(X_30,20);
DRAWTEXT_FIX(CLOSE>OPEN,0,0.2,0,10),COLOR666666;
启动决策线:EMA(X_7,5),COLORYELLOW,LINETHICK2;
启动:IF(启动决策线>=REF(启动决策线,1),启动决策线,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(X_16-X_17>0,X_16,X_17,3,0),COLORRED;
STICKLINE(X_16-X_17<0,X_16,X_17,3,0),COLORA67D3D;
DRAWICON(crOSS(X_16-X_17>0,启动决策线>=REF(启动决策线,1)) AND 启动决策线<50,启动决策线,13);
DRAWTEXT(CROSS(X_16-X_17>0,启动决策线>=REF(启动决策线,1)) AND 启动决策线<50,启动决策线,'趋势启动'),COLORYELLOW;



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

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

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

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