通达信【龙头回探】套装指标 使用方法 指标源码 附图

{龙头回探主图源码如下}

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
趋势线:HHV(MA5,90),COLORRED,LINETHICK2;
X_1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_2:=HIGH/REF(CLOSE,1)>=1.041;
X_3:=X_1 AND X_2;
X_4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_5:=HIGH/REF(CLOSE,1)>=1.041;
X_6:=REF(CLOSE,4)/OPEN>1.02;
X_7:=X_4 AND X_5 AND X_6;
X_8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND REF(OPEN,5)>REF(MA(CLOSE,10),5);
X_9:=HIGH/REF(CLOSE,1)>=1.041;
X_10:=X_8 AND X_9;
X_11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND REF(OPEN,6)>REF(MA(CLOSE,10),6);
X_12:=HIGH/REF(CLOSE,1)>=1.041;
X_13:=X_11 AND X_12;
X_14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND REF(OPEN,7)>REF(MA(CLOSE,10),7);
X_15:=HIGH/REF(CLOSE,1)>=1.041;
X_16:=X_14 AND X_15;
X_17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND OPEN<MA(CLOSE,5) AND REF(CLOSE,2)/REF(CLOSE,3)<1.099 AND (REF(CLOSE,1)<REF(MA(CLOSE,5),1) OR LOW<MA(CLOSE,10)) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND OPEN/REF(CLOSE,1)<1.09 AND CLOSE>OPEN;
X_18:=X_3 OR X_7 OR X_10 OR X_13 OR X_16 AND X_17;
X_19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
X_20:=X_18 AND X_19;
X_21:=X_20 AND BARSCOUNT(CLOSE)<90;
X_22:=X_20 AND MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
X_23:=X_21 OR X_22;
STICKLINE(X_23,OPEN,CLOSE,2.5,0),COLORMAGENTA;
DRAWICON(X_23,LOW*0.97,9);
DRAWTEXT(X_23,LOW*0.94,'回探'),COLORYELLOW;




{龙头回探副图源码如下}



X_1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_2:=HIGH/REF(CLOSE,1)>=1.041;
X_3:=X_1 AND X_2;
X_4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_5:=HIGH/REF(CLOSE,1)>=1.041;
X_6:=REF(CLOSE,4)/OPEN>1.02;
X_7:=X_4 AND X_5 AND X_6;
X_8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND REF(OPEN,5)>REF(MA(CLOSE,10),5);
X_9:=HIGH/REF(CLOSE,1)>=1.041;
X_10:=X_8 AND X_9;
X_11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND REF(OPEN,6)>REF(MA(CLOSE,10),6);
X_12:=HIGH/REF(CLOSE,1)>=1.041;
X_13:=X_11 AND X_12;
X_14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND REF(OPEN,7)>REF(MA(CLOSE,10),7);
X_15:=HIGH/REF(CLOSE,1)>=1.041;
X_16:=X_14 AND X_15;
X_17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND OPEN<MA(CLOSE,5) AND REF(CLOSE,2)/REF(CLOSE,3)<1.099 AND (REF(CLOSE,1)<REF(MA(CLOSE,5),1) OR LOW<MA(CLOSE,10)) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND OPEN/REF(CLOSE,1)<1.09 AND CLOSE>OPEN;
X_18:=X_3 OR X_7 OR X_10 OR X_13 OR X_16 AND X_17;
X_19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
X_20:=X_18 AND X_19;
X_21:=X_20 AND BARSCOUNT(CLOSE)<90;
X_22:=X_20 AND MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
回探:X_21 OR X_22;





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

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

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

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