通达信龙头出现主图


章鱼:=REF(C,1);
鱼哥:=IF(((((C - 章鱼) * 100) / 章鱼) >= (10 - ((0.01 * 100) / 章鱼))),1,0);
DIF:=(EMA(C,12) - EMA(C,26));
DEA:=EMA(DIF,9);MACD:=((DIF - DEA) * 2);
章鱼Q2:=(CLOSE * VOL);
章鱼Q3:=EMA((((((EMA(章鱼Q2,3) / EMA(VOL,3)) + (EMA(章鱼Q2,6) / EMA(VOL,6))) + (EMA(章鱼Q2,12) / EMA(VOL,12))) + (EMA(章鱼Q2,24) / EMA(VOL,24))) / 4),13);
章鱼Q4:=EMA(CLOSE,9);
ZYG1:=MA(CLOSE,10);
ZYG2:=MA(CLOSE,54);
ZYG3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ZYG4:=FILTER(ZYG3,10);
ZYG5:=BARSLAST(ZYG4);
ZYG6:=REF(HIGH,ZYG5+2);
ZYG7:=REF(HIGH,ZYG5+1);
ZYG8:=REF(HIGH,ZYG5);
ZYG9:=MAX(ZYG6,ZYG7);
ZYG10:=MAX(ZYG9,ZYG8);
ZYG11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ZYG12:=ZYG5< 150;
ZYG13:=(OPEN-ZYG10)/ZYG10*100< 30;
ZYG14:=(CLOSE-LLV(LOW,ZYG5))/LLV(LOW,ZYG5)*100< 50;
ZYG15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ZYG16:=VOL/MA(VOL,5)< 3.5;
ZYG17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ZYG18:=ZYG11 AND ZYG12 AND ZYG13 AND ZYG14 AND ZYG15 AND ZYG16 AND ZYG17;
ZYG19:=FILTER(ZYG18,15);
ZYG20:=(CLOSE-ZYG2)/ZYG2< 0.1;
ZYG21:=(CLOSE-ZYG1)/ZYG1< 0.3;
ZYG22:=(ZYG20=1 AND ZYG21=1)*0.2;
ZYG23:=(ZYG22=0 AND REF(ZYG22,1)=0.2 AND REF(COUNT(ZYG22=0.2,10)=10,1)=1)*(-0.1);ZYG24:=ZYG23=(-0.1);ZYG25:=ZYG19 OR ZYG24;
ZYG26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
ZYG27:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
ZYG28:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
章鱼哥:=ZYG25 AND CLOSE/REF(CLOSE,1)>1.095 AND ZYG28 AND ZYG27,NODRAW,COLORRED;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
章鱼线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 20) / 100));
鱼哥线线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 6) / 100));
章鱼哥线:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);
压力线:=EMA((章鱼Q4 * 1.14),5);
盈损线:=(LLV(REF(LOW,1),2) + ((HHV(REF(HIGH,1),2) - LLV(REF(LOW,1),2)) / 2));
QD:=(((C > 鱼哥线线) AND (C > 章鱼哥线)) AND (C > 盈损线));
小妖:=((COUNT(QD,10) = 1) AND QD);
XYJJ:=BARSLAST(小妖);
JS:=CROSS(C,压力线);
YH:=((COUNT(JS,XYJJ) <= 1) AND JS);
HX1:=((REF(YH,1) AND (O > 压力线)) AND (C > 压力线));
HX2:=((REF(YH,1) AND CROSS(C,章鱼线)) AND (C > 压力线));
YHQS:=(小妖 AND YH);
YHJS:=(HX1 OR HX2);
YH王:=((((REF(鱼哥,1) AND (O > 压力线)) AND (O > REF(H,1))) AND (REF(H,1) < REF(压力线,1))) AND (L >= 压力线));
XG:=((YHQS OR YHJS) OR YH王)AND C>REF(C,1)*1.05;
AAAA:=MA(C,1);
AAA:=SMA(SMA(SMA(AAAA,2,1),2,1),2,1);
BBB:=MA(AAA,3);
DRAWBAND(AAA,RGB(255,255,0),BBB,RGB(0,0,255));
CCC:=(3*C+L+O+H)/6;
牛线:=(20*CCC+19*REF(CCC,1)+18*REF(CCC,2)+17*REF(CCC,3)+16*REF(CCC,4)+15*REF(CCC,5)+14*REF(CCC,6)+13*REF(CCC,7)+12*REF(CCC,8)+11*REF(CCC,9)+10*REF(CCC,10)+9*REF(CCC,11)+8*REF(CCC,12)+7*REF(CCC,13)+6*REF(CCC,14)+5*REF(CCC,15)+4*REF(CCC,16)+3*REF(CCC,17)+2*REF(CCC,18)+REF(CCC,20))/210,COLORRED,LINETHICK2;
马线:=MA(牛线,5);DRAWBAND(牛线,RGB(255,40,0),马线,RGB(256,200,0));
STICKLINE(XG=1,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(XG=1,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWICON(章鱼哥,L*1.0,34);
DRAWTEXT(章鱼哥,L,' ↖龙头出现'),COLORYELLOW;
通达信龙头出现副图



ZYG1:=MA(CLOSE,10);
ZYG2:=MA(CLOSE,54);
ZYG3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ZYG4:=FILTER(ZYG3,10);
ZYG5:=BARSLAST(ZYG4);
ZYG6:=REF(HIGH,ZYG5+2);
ZYG7:=REF(HIGH,ZYG5+1);
ZYG8:=REF(HIGH,ZYG5);
ZYG9:=MAX(ZYG6,ZYG7);
ZYG10:=MAX(ZYG9,ZYG8);
ZYG11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ZYG12:=ZYG5< 150;
ZYG13:=(OPEN-ZYG10)/ZYG10*100< 30;
ZYG14:=(CLOSE-LLV(LOW,ZYG5))/LLV(LOW,ZYG5)*100< 50;
ZYG15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ZYG16:=VOL/MA(VOL,5)< 3.5;
ZYG17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ZYG18:=ZYG11 AND ZYG12 AND ZYG13 AND ZYG14 AND ZYG15 AND ZYG16 AND ZYG17;
ZYG19:=FILTER(ZYG18,15);
ZYG20:=(CLOSE-ZYG2)/ZYG2< 0.1;
ZYG21:=(CLOSE-ZYG1)/ZYG1< 0.3;
ZYG22:=(ZYG20=1 AND ZYG21=1)*0.2;
ZYG23:=(ZYG22=0 AND REF(ZYG22,1)=0.2 AND REF(COUNT(ZYG22=0.2,10)=10,1)=1)*(-0.1);
ZYG24:=ZYG23=(-0.1);
ZYG25:=ZYG19 OR ZYG24;
ZYG26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
ZYG27:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
ZYG28:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
龙头:ZYG25 AND CLOSE/REF(CLOSE,1)>1.095 AND ZYG28 AND ZYG27,NODRAW,COLORRED;
STICKLINE(龙头,94,115,1,0),COLORRED;
STICKLINE(龙头,94,115,0,0),COLORYELLOW
;DRAWTEXT(龙头,100,' ↖龙头出现'),COLORYELLOW;
通达信龙头出现选股


ZYG1:=MA(CLOSE,10);
ZYG2:=MA(CLOSE,54);
ZYG3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ZYG4:=FILTER(ZYG3,10);
ZYG5:=BARSLAST(ZYG4);
ZYG6:=REF(HIGH,ZYG5+2);
ZYG7:=REF(HIGH,ZYG5+1);
ZYG8:=REF(HIGH,ZYG5);
ZYG9:=MAX(ZYG6,ZYG7);
ZYG10:=MAX(ZYG9,ZYG8);
ZYG11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ZYG12:=ZY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