通达信【牛市龙头低吸】套装指标 注意龙头急跌低吸 源码

{龙回头主图源码如下}

ABC1:=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);
ABC2:=HIGH/REF(CLOSE,1)>=1.041;
ABC3:=ABC1 AND ABC2;
ABC4:=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);
ABC5:=HIGH/REF(CLOSE,1)>=1.041;
ABC6:=REF(CLOSE,4)/OPEN>1.02;
ABC7:=ABC4 AND ABC5 AND ABC6;
ABC8:=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);
ABC9:=HIGH/REF(CLOSE,1)>=1.041;
ABC10:=ABC8 AND ABC9;
ABC11:=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);
ABC12:=HIGH/REF(CLOSE,1)>=1.041;
ABC13:=ABC11 AND ABC12;
ABC14:=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);
ABC15:=HIGH/REF(CLOSE,1)>=1.041;
ABC16:=ABC14 AND ABC15;
ABC17:=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;
ABC18:=ABC3 OR ABC7 OR ABC10 OR ABC13 OR ABC16 AND ABC17;
ABC19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
ABC20:=ABC18 AND ABC19;
ABC21:=ABC20 AND BARSCOUNT(CLOSE)< 90;
ABC22:=ABC20 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);
ABC23:=ABC21 OR ABC22;
STICKLINE(ABC23,0,1,2,0),COLORYELLOW;
DRAWICON(ABC23,1,1);
DRAWTEXT(ABC23,0.8,' ★低吸'),COLORMAGENTA;

{龙回头副图源码如下}



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(MA10,90),COLORRED,LINETHICK2;
ABC1:=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);
ABC2:=HIGH/REF(CLOSE,1)>=1.041;
ABC3:=ABC1 AND ABC2;
ABC4:=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);
ABC5:=HIGH/REF(CLOSE,1)>=1.041;
ABC6:=REF(CLOSE,4)/OPEN>1.02;
ABC7:=ABC4 AND ABC5 AND ABC6;
ABC8:=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);
ABC9:=HIGH/REF(CLOSE,1)>=1.041;
ABC10:=ABC8 AND ABC9;
ABC11:=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);
ABC12:=HIGH/REF(CLOSE,1)>=1.041;
ABC13:=ABC11 AND ABC12;
ABC14:=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);
ABC15:=HIGH/REF(CLOSE,1)>=1.041;
ABC16:=ABC14 AND ABC15;
ABC17:=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;
ABC18:=ABC3 OR ABC7 OR ABC10 OR ABC13 OR ABC16 AND ABC17;
ABC19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
ABC20:=ABC18 AND ABC19;
ABC21:=ABC20 AND BARSCOUNT(CLOSE)< 90;
ABC22:=ABC20 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);
ABC23:=ABC21 OR ABC22;
STICKLINE(ABC23,OPEN,CLOSE,2.5,0),COLORYELLOW;
DRAWICON(ABC23,LOW*0.97,1);
DRAWTEXT(ABC23,LOW*0.94,'★低吸'),COLORMAGENTA;



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

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

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

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