通达信追击尾盘主副图 T+1 设计交易模型 源码附图

{追击尾盘副图源码如下}
X_1:=STRCAT(HYBLOCK,2);
X_2:=STRCAT(X_1,DYBLOCK);
X_3:=STRCAT(X_2,2);
X_4:=VOL/CAPITAL*100>5;
X_5:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_6:=EMA(X_5,9);
X_7:=(X_5-X_6)*2;
X_8:=CLOSE>OPEN AND X_7<0 AND X_7>REF(X_7,1) AND REF(X_7,1)<REF(X_7,2) AND REF(X_7,2)<REF(X_7,3) AND REF(X_7,3)<REF(X_7,4) AND REF(X_7,4)<REF(X_7,5);
X_9:=REF(X_7,1)<0 AND REF(X_7,2)<0 AND REF(X_7,3)<0 AND REF(X_7,4)<0 AND REF(X_7,5)<0 AND X_4;
X_10:=CLOSE/REF(CLOSE,1);
X_11:=REF(X_10<1.01,1) AND X_10<1.03 AND X_5<0;
XG:X_11 AND X_8 AND X_9;

{追击尾盘主图源码如下}

X_1:=STRCAT(HYBLOCK,2);
X_2:=STRCAT(X_1,DYBLOCK);
X_3:=STRCAT(X_2,2);
X_4:=VOL/CAPITAL*100>5;
X_5:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_6:=EMA(X_5,9);
X_7:=(X_5-X_6)*2;
X_8:=CLOSE>OPEN AND X_7<0 AND X_7>REF(X_7,1) AND REF(X_7,1)<REF(X_7,2) AND REF(X_7,2)<REF(X_7,3) AND REF(X_7,3)<REF(X_7,4) AND REF(X_7,4)<REF(X_7,5);
X_9:=REF(X_7,1)<0 AND REF(X_7,2)<0 AND REF(X_7,3)<0 AND REF(X_7,4)<0 AND REF(X_7,5)<0 AND X_4;
X_10:=CLOSE/REF(CLOSE,1);
X_11:=REF(X_10<1.01,1) AND X_10<1.03 AND X_5<0;
X_12:=X_8 AND X_9 AND X_11;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(X_3,GNBLOCK)),COLORYELLOW;
工作线:MA(CLOSE,8),COLORYELLOW,LINETHICK2;
生命线:MA(CLOSE,30),COLORMAGENTA;
趋势线:MA(CLOSE,60),DOTLINE,COLORBLUE;
DRAWTEXT_FIX(CLOSE>OPEN,0,0.07,0,1),COLORMAGENTA;
STICKLINE(X_12,HIGH,LOW,0,1),COLORYELLOW;
STICKLINE(X_12,CLOSE,OPEN,1.5,0),COLOR11DDDD;
STICKLINE(X_12,CLOSE,OPEN,1,0),COLOR44FFFF;
DRAWICON(X_12,LOW,9);






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

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

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