通达信【龙腾初升套装】主副图 介入稳定的初升点—战法 源码 附图

X_1:=MA(HIGH,7)*0.99;
空线:MA(CLOSE,25),COLORGREEN;
X_2:=空线>REF(空线,1);
多线:IF(X_2,空线,DRAWNULL),COLORRED;
X_3:=MA(CLOSE,34);
X_4:=REF(LOW,1)=LLV(LOW,30) AND REF(CLOSE>OPEN*1.2,1) AND LOW>REF(LOW,1);
X_5:=BARSLAST(X_4);
X_6:=COUNT(CROSS(CLOSE,空线),X_5) AND X_2 AND CROSS(CLOSE,空线);
DRAWICON(X_6,LOW,9);
X_7:=HIGH>X_1 AND OPEN<X_1 AND X_1>REF(X_1,1) AND REF(X_1>REF(X_1,1),2) AND REF(X_1>空线,2) AND 空线>REF(空线,1) AND X_1>空线 AND OPEN/空线<1.036 AND X_1/空线<1.036 AND DYNAINFO(4)!=0;
STICKLINE(CLOSE>=X_3 AND CLOSE>=OPEN,CLOSE,OPEN,2.8,0),COLORRED;
STICKLINE(CLOSE>=X_3 AND CLOSE>=OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE>=X_3 AND CLOSE<OPEN,CLOSE,OPEN,2.8,1),COLORRED;
STICKLINE(CLOSE>=X_3 AND CLOSE<OPEN,OPEN,HIGH,0,0),COLORRED;
STICKLINE(CLOSE>=X_3 AND CLOSE<OPEN,CLOSE,LOW,0,0),COLORRED;
STICKLINE(CLOSE<X_3 AND CLOSE>OPEN,CLOSE,OPEN,2.8,1),COLORCYAN;
STICKLINE(CLOSE<X_3 AND CLOSE<=OPEN,CLOSE,OPEN,2.8,1),COLORCYAN;
STICKLINE(CLOSE<X_3 AND CLOSE<=OPEN,HIGH,LOW,0,1),COLORCYAN;
STICKLINE(CLOSE<X_3 AND CLOSE>OPEN,CLOSE,HIGH,0,1),COLORCYAN;
STICKLINE(CLOSE<X_3 AND CLOSE>OPEN,OPEN,LOW,0,1),COLORCYAN;
X_8:=MA(CLOSE,5);
X_9:=MA(CLOSE,15);
X_10:=CROSS(X_8,X_9);
STICKLINE(X_10 AND CLOSE<X_3,HHV(HIGH,4),HHV(HIGH,4),50,1),COLORGREEN;
DRAWTEXT(X_10 AND CLOSE<X_3,HHV(HIGH,4),142),COLORGREEN;
STICKLINE(X_10 AND CLOSE>=X_3,LLV(LOW,4),LLV(LOW,4),50,1),COLORMAGENTA;
DRAWTEXT(X_10 AND CLOSE>=X_3,LLV(LOW,4),143),COLORMAGENTA;
X_11:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*59.299999;
X_12:=X_11>40;
X_13:=CLOSE/REF(CLOSE,1)>1.095;
X_14:=BARSLAST(X_13);
X_15:=LOW<=(REF(HIGH,X_14)+REF(LOW,X_14))/2*0.98;
X_16:=COUNT(X_15,X_14)=1 AND X_15 AND X_14<10 AND CLOSE>LOW AND X_12;
X_17:=BARSLAST(X_16);
X_18:=HIGH>0.01*REF(LOW,X_17)*X_3;
X_19:=COUNT(X_18,X_17)=1 AND X_18 AND X_17<10;
STICKLINE(X_13,CLOSE,OPEN,2,0),COLORMAGENTA;
STICKLINE(X_16,CLOSE,OPEN,2,0),COLORBLUE;
STICKLINE(X_19,CLOSE,OPEN,2,0),COLORYELLOW;
DRAWICON(X_16,LOW,27);
STICKLINE(X_16,LOW,LOW,0,0),COLORGREEN;
DRAWTEXT(X_16,LOW,144),COLORGREEN;
DRAWICON(X_19,HIGH,26);
STICKLINE(X_19,HIGH,HIGH,0,0),COLORYELLOW;
DRAWTEXT(X_19,HIGH,145),COLORYELLOW;
STICKLINE(X_7,CLOSE,OPEN,3,0),COLORGREEN;
X_20:=BARSLAST(X_6);
X_21:=COUNT(LOW<REF(CLOSE,X_20),X_20)=1 AND LOW<REF(CLOSE,X_20) AND X_20<5;
X_22:=MA(OPEN,7)*0.96;
X_23:=REF(CLOSE<X_22,1) AND OPEN<X_22 AND LOW<X_22 AND REF(MA(HIGH,3),1)>REF(MA(HIGH,3),2) AND MA(OPEN,3)>MA(OPEN,6);
X_24:=MA(OPEN,7);
X_25:=MA(HIGH,7);
X_26:=X_24>REF(X_24,1) AND REF(X_24,1)<REF(X_24,2);
X_27:=BARSLAST(X_26);
X_28:=REF(CLOSE<X_24,1) AND OPEN<X_24 AND X_24>REF(X_24,1)*1.0019 AND REF(X_25,1)>REF(X_25,2)*1.009;
X_29:=COUNT(X_28,X_27)=1 AND X_28 AND REF(MA(HIGH,3),1)>REF(MA(HIGH,3),2);
X_30:=X_23 OR X_29;
X_31:=BARSLAST(X_30);
X_32:=HIGH>REF(OPEN,X_31)*1.05 OR REF(OPEN,X_31)/LOW>1.05;
X_33:=COUNT(X_32,X_31)=1 AND X_32 AND X_31>=1 AND X_31<6;
X_34:=FILTER(X_30,2);
X_35:=X_33;
STICKLINE(X_34,(OPEN+CLOSE)/2,OPEN,2.3,0),COLORGREEN;
STICKLINE(X_35,(OPEN+CLOSE)/2,CLOSE,2.3,0),COLORYELLOW;
DRAWTEXT(X_34,LOW,147),COLORYELLOW;
DRAWTEXT(X_35,HIGH,147),COLORRED;


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

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

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