通达信均线K线平台突破战法 擒龙主升浪 均线突破捉龙头信号准 源码

{均线K线平台突破战法 擒龙主图源码如下}

均线平台突破:=C;
N:=10;
M := 3;
M5:MA(均线平台突破,5);
M10:MA(均线平台突破,10),COLORCYAN;
M20:MA(均线平台突破,20);
M30:MA(均线平台突破,30),COLORYELLOW,LINETHICK2;
M60:MA(均线平台突破,60),COLORLIMAGENTA,LINETHICK2;
MA120:=MA(均线平台突破,120),COLOR80FF00;
MA250:=MA(均线平台突破,250),COLORFF0080;
MA10:=MA(均线平台突破,N);
VOLUME:=VOL;
MACD:=MACD.MACD;
KDJ_K:=KDJ.K;
KDJ_D:=KDJ.D;
RSI:=RSI.RSI1;
XG:=CROSS(C,M20) AND VOLUME>REF(VOLUME,1)*1.5 AND MACD>0 AND KDJ_K>KDJ_D AND RSI>50;
STICKLINE(XG,OPEN,均线平台突破,2.5,0)COLORYELLOW;
DRAWICON(XG, L, 1);
DRAWTEXT(XG,L*0.97,'↖均线突破战法'),LINETHICK1,COLORYELLOW;
突破颈线:IF(EXIST(CROSS(MA(C,40),MA(C,60)),60) AND HHV(C,20)=REF(HHV(C,20),1),HHV(C,20),DRAWNULL),COLORYELLOW,LINETHICK3;
STICKLINE(CURRBARSCOUNT=1,REF(突破颈线,5),REF(突破颈线,5),10,0),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,REF(突破颈线,5)*1.003,'注意突破口'),COLORMAGENTA;
A1:=EMA(C,14),COLORWHITE,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
突破:=REF(EMA(C,14),1),NODRAW;
距离:=(C-突破)/突破*100,NODRAW;
入场:=IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK1;
出逃:=IF(A1X< 0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK1;
钱袋子:=DRAWICON(CROSS(A1X,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097,L,9);
起爆点:=DRAWTEXT(CROSS(A1X,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097 ,H*1.018,'←起爆')COLORBLUE;
DRAWTEXT(CROSS(A1X,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097 AND C=H,H*1.008,'←打首板')COLOR4080FF;
STICKLINE(CROSS(A1X,0),(C+O)/2,O,1,0),COLORRED;
STICKLINE(CROSS(0,A1X),(C+O)/2,O,1,0),COLORYELLOW;
筹码擒龙突破1:=EMA(均线平台突破,7);
筹码擒龙突破2:=EMA(均线平台突破,21);
筹码擒龙突破3:=10;
筹码擒龙突破4:=CONST(HHVBARS(VOL,筹码擒龙突破3));
筹码擒龙突破5:=筹码擒龙突破3;
筹码擒龙突破6:=CONST(REF(HHVBARS(VOL,筹码擒龙突破5),筹码擒龙突破4+1)+筹码擒龙突破4+1);
突破天数:筹码擒龙突破6,NODRAW,COLOR40FF00;
筹码擒龙突破7:=IF(CURRBARSCOUNT<=筹码擒龙突破4+筹码擒龙突破5+3 AND CURRBARSCOUNT>=筹码擒龙突破4+1,CONST(REF(MAX(均线平台突破,OPEN),筹码擒龙突破6)),DRAWNULL);
DRAWTEXT(突破天数,L*1.02,'突破天数'),COLORYELLOW;
突破价格:筹码擒龙突破7,COLOR40FF00;
筹码擒龙突破8:=IF(CURRBARSCOUNT<=筹码擒龙突破4+筹码擒龙突破5+3 AND CURRBARSCOUNT>=筹码擒龙突破4+1,CONST(REF(HIGH,筹码擒龙突破6)),DRAWNULL);
筹码擒龙突破9:=DRAWICON(CURRBARSCOUNT=筹码擒龙突破6+1,筹码擒龙突破7,25);
筹码擒龙突破10:=CONST(LLVBARS(VOL,筹码擒龙突破5));
筹码擒龙突破11:=筹码擒龙突破6+1;
DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:指标大集'),COLORMAGENTA;
筹码擒龙突破12:=REF(MAX(均线平台突破,OPEN),筹码擒龙突破6);
筹码擒龙突破13:=IF(CURRBARSCOUNT<=筹码擒龙突破4+筹码擒龙突破5+3 AND CURRBARSCOUNT>=筹码擒龙突破4+1,CONST(REF(VOL,筹码擒龙突破6)),DRAWNULL);
筹码擒龙突破14:=CROSS(均线平台突破,筹码擒龙突破7) AND CROSS(VOL,筹码擒龙突破13) AND REF(MAX(均线平台突破,OPEN),筹码擒龙突破4+1)=HHV(MAX(REF(均线平台突破,1),REF(OPEN,1)),筹码擒龙突破4+1) AND 筹码擒龙突破11>=5 AND 筹码擒龙突破11<=11;
筹码擒龙突破15:=CROSS(均线平台突破,筹码擒龙突破7) AND CROSS(VOL,筹码擒龙突破13) AND LAST(MAX(REF(均线平台突破,1),REF(OPEN,1))<=REF(MAX(均线平台突破,OPEN),1),筹码擒龙突破11,1) AND 筹码擒龙突破11>=4 AND 筹码擒龙突破11<=11 AND 均线平台突破>OPEN;
筹码擒龙突破16:=CROSS(均线平台突破,筹码擒龙突破7) AND CROSS(VOL,筹码擒龙突破13) AND LAST(MAX(均线平台突破,OPEN)< 筹码擒龙突破8,筹码擒龙突破11-2,1) AND 筹码擒龙突破11>=5 AND 筹码擒龙突破11<=11 AND 均线平台突破>OPEN;
筹码擒龙突破17:=筹码擒龙突破16 AND CROSS(筹码擒龙突破1,筹码擒龙突破2);
DRAWTEXT(筹码擒龙突破17,L*0.962,'突破'),LINETHICK1,COLORYELLOW;
STICKLINE(CURRBARSCOUNT=筹码擒龙突破6+1,均线平台突破,OPEN,2,0),COLORYELLOW;
STICKLINE(筹码擒龙突破17,筹码擒龙突破7,OPEN,2,0),COLORMAGENTA;



{均线K线平台突破战法 擒龙副图源码如下}

均线平台突破:=C;
箱体突破1:=EMA(C,12)-EMA(C,25),NODRAW;
箱体突破2:=EMA(箱体突破1,6),NODRAW;
箱体突破3:=C>MA(C,5);
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
获利回吐:(箱体突破2>=0)*箱体突破2,COLORLIBLUE,LINETHICK1;
空头回补:(箱体突破2< 0)*箱体突破2,COLORMAGENTA,LINETHICK1;
坚绝做空:(箱体突破1< 0)*箱体突破1,COLORGREEN,LINETHICK1;
买入持股:(箱体突破1>=0)*箱体突破1,COLORRED,LINETHICK1;
STICKLINE(箱体突破2>=0,箱体突破2,0,3.2,0),COLORAAAAAA;
STICKLINE(箱体突破2>=0,箱体突破2,0,2.9,0),COLOR777777;
STICKLINE(箱体突破2>=0,箱体突破2,0,2.4,0),COLOR999999;
STICKLINE(箱体突破2>=0,箱体突破2,0,1.8,0),COLORBBBBBB;
STICKLINE(箱体突破2>=0,箱体突破2,0,1.1,0),COLORDDDDDD;
STICKLINE(箱体突破2>=0,箱体突破2,0,0.3,0),COLORFFFFFF;
STICKLINE(箱体突破2< 0,箱体突破2,0,3.2,0),COLORFF5500;
STICKLINE(箱体突破2< 0,箱体突破2,0,2.9,0),COLORYELLOW;
STICKLINE(箱体突破2< 0,箱体突破2,0,2.4,0),COLORYELLOW;
STICKLINE(箱体突破2< 0,箱体突破2,0,1.8,0),COLORYELLOW;
STICKLINE(箱体突破2< 0,箱体突破2,0,1.1,0),COLORYELLOW;
STICKLINE(箱体突破2< 0,箱体突破2,0,0.3,0),COLORYELLOW;
STICKLINE(箱体突破1< 0,箱体突破1,0,3.2,0),COLORCC0066;
STICKLINE(箱体突破1< 0,箱体突破1,0,2.9,0),COLOREE0066;
STICKLINE(箱体突破1< 0,箱体突破1,0,1.8,0),COLORFF2266;
STICKLINE(箱体突破1< 0,箱体突破1,0,1.1,0),COLORFF4466;
STICKLINE(箱体突破1< 0,箱体突破1,0,0.3,0),COLORFF6666;
持股区域判断:=IF(获利回吐 > 0,1,0);
持股流出天数:=REF(COUNT(箱体突破1< 箱体突破2,3),1) >=3;
持股强:=持股区域判断=1 AND 持股流出天数 AND 箱体突破1>箱体突破2;
回补区域判断:=IF(空头回补 < 0,1,0),NODRAW;
回补流出:=回补区域判断 AND ABS(箱体突破2)/ABS(箱体突破1)< 2,NODRAW;
回补流程天数:=REF(COUNT(回补流出,3),1) >=3,NODRAW;
回补强:=回补流程天数 AND ABS(箱体突破2)/ABS(箱体突破1) >= 2;
特殊区域强:=回补流程天数 AND REF(箱体突破1,1)< 0 AND 箱体突破1>0;
开始做空:REF(箱体突破1>箱体突破2,1) AND 箱体突破2>箱体突破1,COLORBLUE,NODRAW;
捉妖突破:REF(箱体突破1< 箱体突破2,1) AND 箱体突破2< 箱体突破1,COLORRED,NODRAW;
STICKLINE(捉妖突破 AND 箱体突破3 AND XG,买入持股+0.5,0,0.3,0),COLORFF6666;
DRAWICON(箱体突破1>=0,箱体突破2,5);
DRAWTEXT(捉妖突破 AND 箱体突破3 AND XG,买入持股+0.5,'★多★'),COLORYELLOW ,LINETHICK2;
DRAWICON(捉妖突破 AND 箱体突破3 AND XG,买入持股,1);




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

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

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

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