通达信【懂牛紫红黄】龙头主升龙头火箭启动金钻套装指标公式源码,擒牛胜率高
【懂牛紫红黄】龙头主升主图指标公式:
N:=6;
总收入同比:FINANCE(44),NODRAW;
净利润同比:FINANCE(43),NODRAW;
主力攻击线:EMA(CLOSE,7),COLORWHITE;
主力控盘线:EMA(CLOSE, 21),COLORYELLOW,LINETHICK2;
LF:=IF(主力攻击线>REF(主力攻击线,1),主力攻击线,DRAWNULL),COLORLIRED;
涨停:=C>=ZTPRICE(REF(C,1),IF((FINANCE(3)=4 OR (DATE>1200822&&FINANCE(3)=3)),0.2,0.1));
首涨停:=涨停 AND REF(涨停,1)<>1;
擒牛信号1:BARSLASTCOUNT(涨停)=2 OR BARSLASTCOUNT(涨停)=3 ,NODRAW;
DRAWICON(擒牛信号1,L*0.98,9);
擒牛信号2:BARSLASTCOUNT(涨停)=1 OR BARSLASTCOUNT(涨停)=2;
DRAWICON(擒牛信号2,L*0.96,1);
牛股强势1:=涨停;
STICKLINE(牛股强势1,H,L,0,0),COLORFF00FF;
STICKLINE(牛股强势1,C,O,3,0),COLOR990099;
STICKLINE(牛股强势1,C,O,2,0),COLORBB00BB;
STICKLINE(牛股强势1,C,O,1,0),COLORDD00DD;
STICKLINE(牛股强势1,C,O,0.2,0),COLORWHITE;
STICKLINE(首涨停,O,C,3,0),COLORYELLOW;
STICKLINE(首涨停,H,L,0,0),COLORYELLOW;
昨日最低:=REF(L,1);
现价:DYNAINFO(7),COLORYELLOW,DOTLINE;
DRAWTEXT_FIX(1,0,0,0, STRCAT(HYBLOCK,STRCAT(' + ', STRCAT(GNBLOCK,STRCAT('+ ', EXTERNSTR(0,1)))))),COLORWHITE;
牛股:=2*(CLOSE+OPEN+HIGH+LOW)*100;
{TT:=(2*CLOSE+OPEN+HIGH+LOW);}
主导动能:=牛股/EMA(牛股,4)-1,COLORRED ;
指标:=主导动能*100,COLORRED ;
DRAWICON(CROSS(-1.5,指标),L,134);
DRAWTEXT(CROSS(-1.5,指标),L*0.98,' 警 明低于今L价买'),COLORYELLOW;
STICKLINE(REF(CROSS(-1.5,指标),1),昨日最低,昨日最低,9,0),COLORRED ;
【懂牛紫红黄】龙头主升龙头模型副图指标公式:
擒牛捉妖1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
擒牛捉妖2:=EMA(擒牛捉妖1,35);
擒牛捉妖3:=(HHV(擒牛捉妖2,10)+HHV(擒牛捉妖2,30)+HHV(擒牛捉妖2,90))/3;
擒牛捉妖4:=(LLV(擒牛捉妖2,10)+LLV(擒牛捉妖2,30)+LLV(擒牛捉妖2,90))/3;
擒牛捉妖5:=(HHV(擒牛捉妖3,5)+HHV(擒牛捉妖3,15)+HHV(擒牛捉妖3,30))/3;
擒牛捉妖6:=(LLV(擒牛捉妖4,5)+LLV(擒牛捉妖4,15)+LLV(擒牛捉妖4,30))/3;
擒牛捉妖7:=EXPMA(CLOSE,6);
擒牛捉妖8:=EXPMA(CLOSE,18);M1:=500*(擒牛捉妖7-擒牛捉妖8)/擒牛捉妖8+2,COLORYELLOW,LINETHICK2;
ZZ:=M1>2 AND EMA(EMA(擒牛捉妖1,2),2)>擒牛捉妖6;
共振追涨紫:ZZ AND ZZ>=REF(ZZ,1),NODRAW,COLORMAGENTA ;
STICKLINE(共振追涨紫,4,8,1,0),COLORMAGENTA ;
DRAWTEXT(共振追涨紫,7.7,'紫'),COLORYELLOW;
好运加倍1:=INDEXH;
好运加倍2:=INDEXO;
好运加倍3:=INDEXL;
好运加倍4:=INDEXC;
好运加倍5:=INDEXV;
好运加倍6:=(3*CLOSE+HIGH+LOW+OPEN)/6;
好运加倍7:=EMA(好运加倍6,35);好运加倍8:=(HHV(好运加倍7,5)+HHV(好运加倍7,15)+HHV(好运加倍7,30))/3;
好运加倍9:=(LLV(好运加倍7,5)+LLV(好运加倍7,15)+LLV(好运加倍7,30))/3;
牛线:=(HHV(好运加倍8,5)+HHV(好运加倍8,15)+HHV(好运加倍8,30))/3,COLORYELLOW;
好运加倍10:=(LLV(好运加倍9,5)+LLV(好运加倍9,15)+LLV(好运加倍9,30))/3;
好运加倍11:=好运加倍4/EMA(好运加倍4,120);
大盘中线:=EMA(EMA(CLOSE,120)*好运加倍11,2),COLORRED;
好运加倍12:=好运加倍6>=牛线 AND 好运加倍6>=大盘中线;
牛股强势起爆紫:好运加倍12=1,NODRAW,COLORMAGENTA;
STICKLINE(牛股强势起爆紫,4,7,3.5,0),COLORMAGENTA ;
DRAWTEXT(牛股强势起爆紫,6.7,'紫'),COLORYELLOW;
TT:=(2*CLOSE+OPEN+HIGH+LOW)*100;
FF:=TT/EMA(TT,4)-1;
动能2红:FF>REF(FF,1) AND FF>0,NODRAW,COLORRED ;
STICKLINE(动能2红,4,6,4,0),COLORRED ;
DRAWTEXT(动能2红,5.7,'红'),COLORYELLOW;
动能2黄:FF<REF(FF,1) AND FF>0 ,NODRAW,COLORYELLOW ;
STICKLINE(动能2黄,4,6,2,0),COLORYELLOW ;
DRAWTEXT(动能2黄,5.7,'黄'),COLORRED;
擒牛捉妖1A:=EMA(EMA(C,8),39),NODRAW;
控盘度:=((擒牛捉妖1A-REF(擒牛捉妖1A,1))/REF(擒牛捉妖1A,1)*1000)+50,NODRAW;
低控盘:IF(控盘度>50 AND 控盘度<58,控盘度,0),NODRAW,COLORYELLOW;
STICKLINE(控盘度>50 ,4,5,5,0),COLORYELLOW;
DRAWTEXT(控盘度>50,4.7,'黄'),COLORRED;ACB1:=CLOSE/REF(CLOSE,1)>=1.098 AND C=H;
ACB22:=COUNT(ACB1,2)>=1 AND NOT(COUNT(ACB1,3)>=2);
妖启:=FILTER(ACB22,13),COLORDDDDDD;
ACB23:=COUNT(ACB1,3)>=2 AND NOT(COUNT(ACB1,4)>=3);
龙头启动:妖启 AND COUNT(妖启,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),NODRAW,COLORBLUE;
STICKLINE(龙头启动,0,0.75,2,0),COLORBLUE;
DRAWTEXT(龙头启动,0.35,'龙头启动'),COLORWHITE;
DRAWTEXT(龙头启动,0.35,' 火箭'),COLORRED;
妖升:=FILTER(ACB23,13),COLORGREEN;
龙头主升:妖升 AND COUNT(妖升,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),NODRAW,COLORWHITE;
STICKLINE(龙头主升,1,1.75,2,0),COLORWHITE;
DRAWTEXT(龙头主升,1.35,'龙头主升'),COLORRED;
DRAWTEXT(龙头主升,1.35,' '),COLORYELLOW;
主力攻击:=EMA(CLOSE,5),COLORRED;
主力攻击线:=(MA(CLOSE,4)+MA(CLOSE,6)+MA(CLOSE,5)+MA(CLOSE,10))/4,COLORWHITE;
主力控盘线:=EMA(CLOSE, 21),COLORYELLOW,LINETHICK2;
攻击控盘买:=CROSS(主力攻击,主力攻击线)AND REF(主力攻击,1)<REF(主力控盘线,1);
创业板块XG:={主力攻击线>主力控盘线 AND} C>REF(C,1)*1.045 AND C<REF(C,1)*1.07 AND L<主力攻击线 AND IF(CODELIKE('300'),1,0) AND C>主力攻击线,COLORMAGENTA;
TTA:=(2*CLOSE+OPEN+HIGH+LOW)*100;
FFA:=TTA/EMA(TTA,4)-1;
趋势动能:=ROUND2(FFA*100,1);
趋势龙头:CROSS(趋势动能,2) AND 趋势动能>=5 AND IF(CODELIKE('300'),1,0),NODRAW,COLORGREEN;
STICKLINE(趋势龙头 OR 创业板块XG,0,1,6,0),COLORGREEN;
DRAWTEXT(趋势龙头 OR 创业板块XG,0.65,'趋势龙头'),COLORRED;
DRAWTEXT(趋势龙头 OR 创业板块XG,0.65,' 旗帜'),COLORYELLOW;
0,COLORWHITE;4,COLORYELLOW;
紫紫红黄:=共振追涨紫 AND 牛股强势起爆紫 AND 动能2红 AND 控盘度>50 ;
首紫紫红黄:=紫紫红黄 AND REF(紫紫红黄,1)<>1;
STICKLINE(首紫紫红黄,2.85,3.5,0,0),COLORRED;
DRAWTEXT(首紫紫红黄,3.41,'参考买点'),COLORRED;
首动能2黄:=动能2黄 AND REF(动能2黄,1)<>1;
STICKLINE(首动能2黄,2,2.5,0,0),COLORYELLOW;
DRAWTEXT(首动能2黄,2.5,'参考卖点'),COLORYELLOW;
【懂牛紫红黄】动能二号副图指标公式:
牛股指标:=(2*CLOSE+OPEN+HIGH+LOW)*100;
主导动能:(牛股指标/EMA(牛股指标,4)-1)*100,COLORSTICK;
黄金坑:=主导动能;
获利回吐:STICKLINE(黄金坑<REF(黄金坑,1)AND 黄金坑>0,0,黄金坑,2,0),COLOR33DFDD;
做空卖出:STICKLINE(黄金坑<REF(黄金坑,1)AND 黄金坑<0,0,黄金坑,2,0),COLOR00DD00;
空头回补:STICKLINE(黄金坑>REF(黄金坑,1)AND 黄金坑<0,0,黄金坑,2,0),COLORFFAA00;
做多买进:STICKLINE(黄金坑>REF(黄金坑,1)AND 黄金坑>0,0,黄金坑,2,0),COLOR0000DD;
0;擒牛捉妖10:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,黄金坑=HHV(ABS(黄金坑),10),0);
擒牛捉妖20:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,黄金坑=HHV(ABS(黄金坑),20),0);
擒牛捉妖30:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,黄金坑=HHV(ABS(黄金坑),30),0);
擒牛捉妖50:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,黄金坑=HHV(ABS(黄金坑),50),0);
擒牛捉妖100:=IF(BARSCOUNT(C)>60 AND DYNAINFO(4)>0,黄金坑=HHV(ABS(黄金坑),80),0);
动能级别:(擒牛捉妖10+擒牛捉妖20+擒牛捉妖30+擒牛捉妖50+擒牛捉妖100)/50*100,LINETHICK3;
DRAWTEXT(擒牛捉妖100 ,ABS(黄金坑)*1.1,'超强'),COLORWHITE;
懂牛紫红黄龙头狙击选股指标公式:
擒牛捉妖1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
擒牛捉妖2:=EMA(擒牛捉妖1,35);
擒牛捉妖3:=(HHV(擒牛捉妖2,10)+HHV(擒牛捉妖2,30)+HHV(擒牛捉妖2,90))/3;
擒牛捉妖4:=(LLV(擒牛捉妖2,10)+LLV(擒牛捉妖2,30)+LLV(擒牛捉妖2,90))/3;
擒牛捉妖5:=(HHV(擒牛捉妖3,5)+HHV(擒牛捉妖3,15)+HHV(擒牛捉妖3,30))/3;
擒牛捉妖6:=(LLV(擒牛捉妖4,5)+LLV(擒牛捉妖4,15)+LLV(擒牛捉妖4,30))/3;
擒牛捉妖7:=EXPMA(CLOSE,6);
擒牛捉妖8:=EXPMA(CLOSE,18);M1:=500*(擒牛捉妖7-擒牛捉妖8)/擒牛捉妖8+2,COLORYELLOW,LINETHICK2;
ZZ:=M1>2 AND EMA(EMA(擒牛捉妖1,2),2)>擒牛捉妖6;
好运加倍1:=INDEXH;
好运加倍2:=INDEXO;
好运加倍3:=INDEXL;
好运加倍4:=INDEXC;
好运加倍5:=INDEXV;
好运加倍6:=(3*CLOSE+HIGH+LOW+OPEN)/6;
好运加倍7:=EMA(好运加倍6,35);好运加倍8:=(HHV(好运加倍7,5)+HHV(好运加倍7,15)+HHV(好运加倍7,30))/3;
好运加倍9:=(LLV(好运加倍7,5)+LLV(好运加倍7,15)+LLV(好运加倍7,30))/3;
牛线:=(HHV(好运加倍8,5)+HHV(好运加倍8,15)+HV(好运加倍8,30))/3,COLORYELLOW;
好运加倍10:=(LLV(好运加倍9,5)+LLV(好运加倍9,15)+LLV(好运加倍9,30))/3;
好运加倍11:=好运加倍4/EMA(好运加倍4,120);
大盘中线:=EMA(EMA(CLOSE,120)*好运加倍11,2),COLORRED;
好运加倍12:=好运加倍6>=牛线 AND 好运加倍6>=大盘中线;
牛股强势起爆紫:=好运加倍12=1;
TT:=(2*CLOSE+OPEN+HIGH+LOW)*100;
FF:=TT/EMA(TT,4)-1;
动能2红:=FF>REF(FF,1) AND FF>0;
动能2黄:=FF<REF(FF,1) AND FF>0;
ACB1:=CLOSE/REF(CLOSE,1)>=1.098 AND C=H;
擒牛捉妖1A:=EMA(EA(C,8),39);
控盘度:=((擒牛捉妖1A-REF(擒牛捉妖1A,1))/REF(擒牛捉妖1A,1)*1000)+50;
低控盘:=IF(控盘度>50 AND 控盘度<58,控盘度,0);
ACB22:=COUNT(ACB1,2)>=1 AND NOT(CUNT(ACB1,3)>=2);
妖启:=FILTER(ACB22,13),COLORDDDDD;
ACB23:=COUNT(ACB1,3)>=2 AND NOT(COUNT(ACB1,4)>=3);
龙头启动:妖启 AND COUNT(妖启,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODLIKE('00'),1,0));