首页 > > 详细

通达信追击尾盘主副图 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);



联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。