GG0:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3);
GG1:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
GG2:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20);
GG3:=(CLOSE-REF(CLOSE,60))/REF(CLOSE,60);
GG4:=(CLOSE-REF(CLOSE,120))/REF(CLOSE,120);
GG5:=(CLOSE-REF(CLOSE,250))/REF(CLOSE,250);
GG6:=(CLOSE-REF(CLOSE,10))/REF(CLOSE,10);
DP0:=(INDEXC-REF(INDEXC,3))/REF(INDEXC,3);
DP1:=(INDEXC-REF(INDEXC,5))/REF(INDEXC,5);
DP2:=(INDEXC-REF(INDEXC,20))/REF(INDEXC,20);
DP3:=(INDEXC-REF(INDEXC,60))/REF(INDEXC,60);
DP4:=(INDEXC-REF(INDEXC,120))/REF(INDEXC,120);
DP5:=(INDEXC-REF(INDEXC,250))/REF(INDEXC,250);
DP6:=(INDEXC-REF(INDEXC,10))/REF(INDEXC,10);
RS3:=GG0-DP0;
RS5:=GG1-DP1;
RS10:=GG6-DP6;
RS20:=GG2-DP2;
RS60:=GG3-DP3;
RS120:=GG4-DP4;
RS250:=GG5-DP5;
NF:=(6*RS3+5*RS5+4*RS20+3*RS60+2*RS120+RS250)/21*25,LINETHICK2,colorred;
TX:=3.5,LINETHICK2,colorgreen;
XG:=CROSS(NF,TX);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
AA10:=MA(CLOSE,10);
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
DM:=CROSS(K,D) AND (BB10>1);
T1:=5;
T2:=4;
P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
VGAR4:=LLV(LOW,T1);
VGAR5:=HHV(HIGH,T2);
SH:=EMA(((P - VGAR4)/(VGAR5 - VGAR4))*(100),T2);
ZJ:=EMA((0.667)*(REF(SH,1)) + (0.333)*(SH),2),LINETHICK2,colorgreen;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
ZL:=(EMA(CS,3)-50)*5,LINETHICK2,colorred;
主力起爆:CROSS(ZL,ZJ) AND DM AND XG AND O<20
AND FINANCE(40)/100000000<260,colorred,LINETHICK2;
DRAWTEXT(主力起爆,0.5,'主力'),colorred;
GL:=IF(CODELIKE('300')OR CODELIKE('688'),0,1);
九十成本集中:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
成本价:=COST(九十成本集中);
DF2:=(C-REF(C,1))/REF(C,1)*100>5;
DF3:=(C-O)/O*100>4;
V型反转:=L<成本价 AND DF2;
V型反转2:=CROSS(C,成本价) AND DF2;
V型反转3:=L<成本价 AND DF3;
DF4:=V/CAPITAL>0.02 AND AMOUNT/10000000>6;
智牛选:V型反转 OR V型反转2 OR V型反转3 AND GL AND DF4,coloryellow;
DRAWTEXT(智牛选,0.5,'智牛'),coloryellow;
BB:=CLOSE>REF(CLOSE,1)*1.095;
A1:=BARSLAST(BB);
A2:=BETWEEN(C,REF(C,A1)*1.03,REF(C,A1)*0.97) AND A1<=30;
A3:=REF(O,3)>REF(O,2);
A4:=REF(O,2)>REF(O,1);
A5:=CLOSE>REF(CLOSE,1)*1.03 AND C>O;
A6:=BETWEEN(C,REF(O,A1)*1.03,REF(O,A1)*0.97) AND A1<=30;
B1:=A2 AND A3 AND A4 AND A5;
B2:=A6 AND A3 AND A4 AND A5;
B:=B1 OR B2;
强势回调:FILTER(B,5),color8E2323 ;
DRAWTEXT(强势回调,0.5,'回调'),color8E2323;
AA:=((REF(C,2)-C)/C)*100>6;
BB:=REF(C<O,1) AND C<O;
CC:= ((H-O)/C)*100<2 ;
DD:=(REF(C,1)-L)/REF(C,1)>0.02;
EE:=V/CAPITAL>0.03;
反转:AA AND BB AND CC AND DD AND EE,COLOR00FF00 ;
DRAWTEXT(反转,0.5,'反转'),COLOR00FF00;
BA1:=EXIST(CROSS(MA(C,5),MA(C,10)),3);
BA2:=EXIST(CROSS(MA(C,5),MA(C,20)),3);
BA3:=CROSS(MA(C,10),MA(C,20));
BA4:=MA(C,20)>=REF((MA(C,20)),1);
三军会师:BA1 AND BA2 AND BA3 AND BA4,COLORFF7F00 ;
DRAWTEXT(三军会师,0.4,'会师'),COLORFF7F00 ;
AA1:=V/REF(V,1)>=3;
AA2:=(C-REF(C,1))/REF(C,1)*100<8;
AA3:=V>=HHV(V,50);
AA4:=C>O;
突破生命线:AA1 AND AA2 AND AA3 AND AA4,COLOR0000DD;
DRAWTEXT(突破生命线,0.4,'突破'),COLOR0000DD;
Z9:=C>=C/(REF(C,1)>1.096) AND H>L;
T:=BARSLAST(Z9);
回阴买:RANGE(T,2,7) AND O<MA(C,5) AND C<REF(O,1) AND ABS(L-REF(L,T))/C AND REF(EVERY(V<REF(V,1),2),1) AND (C-REF(C,4))/REF(C,4)*100<30 AND (CLOSE/REF(CLOSE,3)-1)*100>-13 AND
C>MA(C,21) AND C>MA(C,34) AND C<O AND (C-REF(C,1))/REF(C,1)*100>-5.7 AND MA(C,21)>MA(C,34) AND MA(C,34)>MA(C,60)
AND SUM(V,4)/CAPITAL*100<30 AND SUM(V,5)/CAPITAL*100<40,colorffccoo;
DRAWTEXT(回阴买,0.4,'回阴买'),colorffccoo;
A11:=C/REF(C,1)-1>=0.04/REF(C,1) AND C=H ;
A1:=REF(VOL,1)>=REF(V,2)*1.8 AND REF(VOL,1)>VOL;
A2:=REF(A1,1);
A3:=REF(A11,2);
A4:=C<REF(C,1) AND REF(H,1)>REF(C,2) AND REF(L,1)>L AND REF(C,1)<REF(H,1);
A5:=A3 AND A1 AND A4 AND C<20;
A9:=((C-REF(C,1))/REF(C,1))*100;
Q1:=VOL<REF(VOL,1) AND REF(VOL,1)>REF(VOL,2);
A44:=C<REF(C,1) AND REF(H,2)>REF(C,3) AND REF(L,1)>L AND REF(L,1)<REF(L,2) AND REF(C,2)<REF(H,2);
Q11:=VOL<REF(VOL,1) AND REF(VOL,1)<REF(VOL,2) AND REF(VOL,2)>REF(VOL,3);
A33:=REF(A11,3);
XX:=A44 AND Q11 AND A33;
XG:=A3 AND A4 AND Q1;
XXX:=XX OR XG;
回调23阴线:XXX AND MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,60) AND C<20;
DRAWTEXT(回调23阴线,0.4,'23阴线'),colorblue;
LB:=V/REF(MA(V,5),1);LBTJ:=LB>2;HL:=(H-L)/L*100;
HLTJ:=HL>8;ZF:=(C-REF(C,1))/REF(C,1)*100;
火箭: LBTJ AND HLTJ AND RANGE(ZF,1,9.5);
DRAWTEXT(火箭,0.4,'火箭'),colorred;
大阳缩阴:REF(V,3)/REF(V,4)>2 AND REF(C>O,3) AND REF(V,2)<REF(V,3) AND REF(V,1)<REF(V,2) AND V<REF(V,1) AND C<MA(C,5) AND MA(C,5)>MA(C,20) AND MA(C,10)>MA(C,20) AND C>REF(L,3) AND REF(C,3)/REF(C,4)>1.04;
DRAWTEXT(大阳缩阴,0.2,'缩阴');
XYZ_6:=CLOSE/REF(CLOSE,1)<1.06 AND CLOSE/REF(CLOSE,1)>0.91 AND REF(CLOSE,1)/REF(CLOSE,2)>1.09 AND CLOSE/MA(CLOSE,30)<1.16;
XYZ_7:=VOL>REF(VOL,1)*2;
涨停试盘:XYZ_6 AND XYZ_7;
DRAWTEXT(涨停试盘,0.2,'试盘');
XYZ_8:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20);
XYZ_9:=CLOSE/REF(CLOSE,1)>1.02 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL>2*REF(VOL,1) AND CLOSE<30;
XYZ_10:=XYZ_9 AND OPEN<MA(CLOSE,60);
XYZ_11:=BARSLAST(XYZ_10);
倍量:XYZ_9 AND XYZ_11>4 AND XYZ_11<20 AND CLOSE>REF(CLOSE,XYZ_11) AND CLOSE/REF(CLOSE,XYZ_11)<1.15;
上影线:MA(C,5)>MA(C,10) AND C>O AND C/REF(C,1)>=1.03 AND H/C>=1.04 AND ZYLTGB/100000000>=0.6 AND TOTALCAPITAL/1000000*C>=30 AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,5),coloryellow;
DRAWTEXT(上影线,0.2,'上影线'),colorred;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
起涨:CROSS(D1,K1);
DRAWTEXT(起涨,0.2,'起涨'),colorred;
T1:=REF(C,1)/REF(C,2)>=1.095;
T2:=O>REF(C,1) AND C>O;
T3:=H>C AND O>L AND L>=REF(C,1);
T4:=V>REF(V,1);
天鹰:T1 AND T2 AND T3 AND T4;
DRAWTEXT(天鹰,0.2,'天鹰开路');