{龙头起涨点主图源码如下}
DRAWTEXT_FIX(1,0.300,0.1,0,DYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.384,0.1,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.460,0.1,0,'【概念】:'),COLOR00A5FF;
DRAWTEXT_FIX(1,0.520,0.1,0,GNBLOCK),COLOR00A5FF;
龙头起涨点:=(3*CLOSE+LOW+OPEN+HIGH)/6;
龙头起涨点121:=(21*龙头起涨点+20*REF(龙头起涨点,1)+19*REF(龙头起涨点,2)+18*REF(龙头起涨点,3)+17*REF(龙头起涨点,4)+16*REF(龙头起涨点,5)+15*REF(龙头起涨点,6)+14*REF(龙头起涨点,7)+13*REF(龙头起涨点,8)+12*REF(龙头起涨点,9)+11*REF(龙头起涨点,10)+10*REF(龙头起涨点,11)+9*REF(龙头起涨点,12)+8*REF(龙头起涨点,13)+7*REF(龙头起涨点,14)+6*REF(龙头起涨点,15)+5*REF(龙头起涨点,16)+4*REF(龙头起涨点,17)+3*REF(龙头起涨点,18)+2*REF(龙头起涨点,19)+REF(龙头起涨点,21))/231;
龙头起涨点13:=(3*龙头起涨点+2*REF(龙头起涨点,1)+REF(龙头起涨点,2))/6;
ABC1:EMA(龙头起涨点13,4),COLORLIMAGENTA ,LINETHICK2;
ABC2:=EMA(ABC1,3),COLORRED;
ABC3:=EMA(ABC1,7),COLORRED;
K1:=(ABC1<REF(ABC1,1),2);
K2:=(ABC2<REF(ABC2,1),2);
K3:=(ABC3<REF(ABC3,1),2);
ABC4:=EMA(龙头起涨点121,5),COLORYELLOW,LINETHICK2;
ABC5:EMA(龙头起涨点121,13),COLORGREEN,LINETHICK2;
ABC6:EMA(龙头起涨点121,60),COLORBLUE,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;YX2:=D>REF(D,1);
YX3:= ABC4> ABC6 AND ABC5> ABC6;
YX4:=CLOSE> ABC4 AND CLOSE/ ABC4<1.1;
YX5:= ABC1> ABC2 AND ABC2> ABC3;
BCA:=YX2 AND YX3 AND YX4;
多线:=BCA AND COUNT(BCA,10)=1 AND COUNT(YX5,10)<5;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
BCA0:=CROSS(MACD,0);
BCA1:=CROSS(CLOSE, ABC1) AND CROSS(CLOSE, ABC2) AND CROSS(CLOSE, ABC3) AND BARSLAST(BCA0)<=5 AND CLOSE< ABC4 ;
龙头起涨点1:=EMA(龙头起涨点121,12);
ZF:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
龙头起涨点2:=龙头起涨点1+2*STD(CLOSE,20);
龙头起涨点3:=龙头起涨点1-2*STD(CLOSE,20);
龙头起涨点4:=EMA(龙头起涨点2,3);
龙头起涨点5:=EMA(龙头起涨点3,3);
龙头起涨点6:=龙头起涨点4/REF(龙头起涨点4,1)>1.0035;
龙头起涨点7:=龙头起涨点1>REF(龙头起涨点1,1);
龙头起涨点8:=龙头起涨点5<REF(龙头起涨点5,1);
龙头起涨点9:=LOW/龙头起涨点4<1.01 AND CLOSE/龙头起涨点4>0.99 AND (OPEN+LOW)/2.1<龙头起涨点4 ;
龙头起涨点10:=CLOSE>OPEN AND ((HIGH-CLOSE)+(OPEN-LOW))/(CLOSE-OPEN)<1.2 AND HIGH/CLOSE<1.035;
龙头起涨点11:=100*(龙头起涨点4-龙头起涨点5)/龙头起涨点1;
龙头起涨点12:=龙头起涨点11<15 AND LLV(龙头起涨点11,8)<10;
龙头起涨点113:=龙头起涨点6 AND 龙头起涨点7 AND 龙头起涨点9 AND 龙头起涨点10 AND 龙头起涨点12;
龙头起涨点16:=COUNT(龙头起涨点13,20);
韩一刀:=龙头起涨点13 AND 龙头起涨点16=1 AND COUNT(龙头起涨点6,10)<10 AND HIGH/HHV(HIGH,5)>0.98;
ACB3:=LLV(HIGH,240);
ACB4:=100*(CLOSE-ACB3)/ACB3;
ACB5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
ACB6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
ACB7:=0;
ACB8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
ACB9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
ACB10:=IF((3,16,1)=0 AND HIGH>LOW+0.04,4,0);
ACB11:=(3,6)>REF((3,6),1) AND REF( (3,6),1)<=REF( (3,6),2) AND REF( (3,6),2)<=REF( (3,6),3);
ACB12:=(3,6)<REF((3,6),1) AND REF( (3,6),1)>=REF( (3,6),2) AND REF( (3,6),2)>=REF( (3,6),3);
ACB13:=(3,22)>REF((3,22),1) AND REF((3,22),1)<=REF( (3,22),2) AND REF( (3,22),2)<=REF( (3,22),3);
ACB14:=(3,22)<REF((3,22),1) AND REF((3,22),1)>=REF( (3,22),2) AND REF( (3,22),2)>=REF( (3,22),3);
ACB15:=(3,51)>REF((3,51),1) AND REF((3,51),1)<=REF( (3,51),2) AND REF( (3,51),2)<=REF( (3,51),3);
ACB16:=(3,51)<REF((3,51),1) AND REF( (3,51),1)>=REF( (3,51),2) AND REF( (3,51),2)>=REF( (3,51),3);
ACB17:=(3,72)>REF((3,72),1) AND REF( (3,72),1)<=REF( (3,72),2) AND REF( (3,72),2)<=REF( (3,72),3);
ACB18:=(3,72)<REF((3,72),1) AND REF( (3,72),1)>=REF( (3,72),2) AND REF( (3,72),2)>=REF( (3,72),3);
ACB19:=EMA(CLOSE,2)-EMA(CLOSE,150);
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停,O,C,1,0),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF<-9.9,O,C,1,0),COLORBLUE;
CBA1:=REF(V,1);
CBA2:=DVOL;
CBA3:=CBA2/CBA1;
LNX:=CBA3-REF(CBA3,1);
E1:=REF(C,1);
E2:= DCLOSE;
E3:=(E2-E1)/E1*100;
QMX:=E3-REF(E3,1);
XBCA:=CROSS(LNX,500) AND CROSS(QMX,10);
DRAWTEXT(XBCA=1,L*0.998,'★起涨点'),,COLORYELLOW;
STICKLINE(XBCA=1,O,C,1,0),COLORYELLOW;
DRAWICON(XBCA=1,L*0.999,34);
LA:=BARSLAST(C>REF(C,1)*1.098);
LC:=REF(CLOSE,LA);
LO:=REF(OPEN,LA);
LAL:=REF(L,LA);
LAH:=REF(H,LA);
一:=EVERY(C/REF(C,1)>=1.097 AND C=H,1);
二:=EVERY(C/REF(C,1)>=1.097 AND C=H,2);
三:=EVERY(C/REF(C,1)>=1.097 AND C=H,3) AND H>L;
指标汇集1A:=EXIST((C/REF(C,2)-1)*100>20,2) AND COUNT(LC>LO,3)>=1 AND O<REF(C,1) AND C<REF(C,1) AND C>O AND C>REF(O,1) AND REF(C,1)>REF(C,2) ;
指标汇集1B:=EXIST(二,3) AND COUNT(LC>LO,4)>=1 AND O<REF(C,1) AND C<REF(C,1) AND C>O AND C>REF(O,1) AND REF(C,1)>REF(C,2) ;
龙头起涨点17:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
龙头起涨点18:=EXIST(一,5) AND 龙头起涨点17>75 AND C>REF(C,1);
龙头起涨点20:=龙头起涨点17>75 AND C>REF(C,1) {AND (H/C)<1.038};
DRAWTEXT(龙头起涨点18,LOW,'↖'),COLORYELLOW;
{龙头起涨点副图源码如下}
M1:=3;M2:=3;
ABCF:=(2*CLOSE+HIGH+LOW)/4;
ACB4:=LLV(LOW,34);
ACB5:=HHV(HIGH,34);
ACB6:=EMA((ABCF-ACB4)/(ACB5-ACB4)*100,6);
ACB7:=EMA(0.667*REF(ACB6,1)+0.333*ACB6,4);
底现:=STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(ACB6>ACB7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),1.5,0,6,0),COLORBLUE;
STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(ACB6>ACB7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),-100,-35,2,0),COLORBLUE;
DRAWTEXT(底现,-54,'--见底预期'),COLORCYAN;
ABC1S:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
ABC4AS:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE<1.01);
游资进场S:=(FILTER(ABC4AS>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;
A10S:=10;LSS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升S:=FILTER(LSS,58);
STICKLINE(拉升S,-100,-35,2,0),COLORYELLOW;
DRAWTEXT(拉升S,-47,' --龙头起涨'),COLORCYAN;
DRAWICON(拉升S,-38.2,9);
ABC1:=(CLOSE*2+HIGH+LOW)/1;
ABC2:=EMA(ABC1,3)-EMA(ABC1,10);
ABC3:=EMA(ABC2,3);
{龙头起涨点:=(-2)*(ABC2-ABC3)*3.8;}
好股网:=2*(ABC2-ABC3)*3.8;
STICKLINE(好股网>0,0,好股网*10,3.2,1),COLORRED;
STICKLINE(好股网<0,0,好股网*10,3.2,1),COLORGREEN;
RSVF:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0;
KF:=SMA(RSVF,3,1);
DF:=SMA(KF,3,1);
JF:=3*KF-2*DF,LINETHICK0;
能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0;
威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
五指AF:=WMA((能量线+RSI+JF-威廉WR+CCI)/3,3),COLORBROWN;
流通盘:=CAPITAL/1000000,COLOR7F00FF,LINETHICK0;
ZLCM:=EMA(WINNER(CLOSE)*90,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
散户线F:=INTPART(ZSHTL),COLORBLACK,LINETHICK2;
OUT666:=CROSS(五指AF,散户线F);
STICKLINE(OUT666,-100,-35,2,0),COLORWHITE;DRAWTEXT(OUT666,-50,''),COLORWHITE;
ABC3AP:=IF((CLOSE>REF(CLOSE,1)),88,0);
ABC4AP:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (ABC3AP>0),91,0);异动:=(FILTER((ABC4AP>90),45)),COLORYELLOW;
STICKLINE(异动,-100,-35,2,0),COLORGREEN;
DRAWTEXT(异动>0,-51,''),COLORYELLOW;