V1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
V2:=REF(V1,1)<REF(V1,2) AND V1>REF(V1,1);
V3:=C>V1 AND O<V1;
V4:=(V1-O)/O>0.01 AND (C-V1)/(V1-O)>0.5;
小反弹:V2 AND V3 AND V4,COLORYELLOW;
DRAWTEXT(小反弹=1,0.5,'1穿三线'),COLORYELLOW;
LC:=REF(CLOSE,1);
WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
获利筹码:=CONST(WINNER(C)*100);
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
成本线:=EMA((VA-VB)/(VC-VB)*27,5);
成本均线:=EMA(成本线,3);
寻龙爆发:FILTER(WINNER(C)-REF(WINNER(C),1)>0.1 AND CAPITAL<1000000000 AND EVERY(成本线>17,3) AND EVERY(成本均线>17,3),30) ,LINETHICK3;
DRAWTEXT(寻龙爆发=1,0.4,'爆发'),COLORMAGENTA;
尖顶做多: ZIG(3,70/4)>REF(ZIG(3,70/4),1) AND REF(ZIG(3,70/4),1)<REF(ZIG
(3,70/4),2), COLORRED,LINETHICK2;
尖顶做空: ZIG(3,15)<REF(ZIG(3,15),1) AND REF(ZIG(3,15),1)>REF(ZIG
(3,15),2),COLORGREEN,LINETHICK2;
DRAWTEXT(尖顶做多=1,0.03,'观察底部'),COLORRED;
DRAWTEXT(尖顶做空=1,0.99,'主力逃'),COLORGREEN;
TJ:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
十拿九稳:CROSS(-27,TJ) AND COUNT(H=L,5)<1,COLORLICYAN;
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,10),2.1*FORCAST(V,10));
主升浪:FILTER(LS,28),COLORWHITE;
DRAWTEXT(主升浪=1,0.85,'主升浪拉升'),COLORWHITE;
小波段:CROSS(ZIG(3,60/5),REF(ZIG(3,60/5),1)),COLORGREEN;
DRAWTEXT(小波段=1,0.05,'回调买'),COLORWHITE;
A1:=EMA(C,5);A2:=EMA(C,10);A3:=EMA(C,20);A4:=EMA(C,26);A5:=EMA(C,60);
A6:=EMA(C,90);
A7:=ATAN((A1)/REF(A1,1)-1)*100*57.3>45;
选强势股:A7 AND CROSS(A1,A4) AND A4>=REF(A4,1) AND DYNAINFO(14)>0.01
AND FINANCE(7)<1000000000 AND C<45,COLORMAGENTA;
DRAWTEXT(选强势股=1,0.03,'强势'),COLORYELLOW;
MA3:=MA(C,3);
MA5:=MA(C,5);
MA11:=MA(C,10);
MA20:=MA(C,20);
V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)
AND MA(C,3)>MA(C,5) ;
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度MA10:=ATAN((MA11/REF(MA11,1)-1)*100)*180/3.1416;
角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
选股MA20:IF(角度MA3>45 AND 角度MA5>45 AND 角度MA10>60 AND 角度MA20>45 AND MA(C,250)>REF(MA(C,250),1),
1,0),COLOR00FF00;
MA10:=MA(CLOSE,10);
MA54:=MA(CLOSE,54);
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
HJ_9:=FILTER(HJ_8,10);
HJ_10:=BARSLAST(HJ_9);
HJ_11:=REF(HIGH,HJ_10+2);
HJ_12:=REF(HIGH,HJ_10+1);
HJ_13:=REF(HIGH,HJ_10);
HJ_14:=MAX(HJ_11,HJ_12);
HJ_15:=MAX(HJ_14,HJ_13);
HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
HJ_17:=HJ_10<150;
HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;
HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;
HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
HJ_21:=VOL/MA(VOL,5)<3.5;
HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;
暴利:=FILTER(HJ_25,15);
PL1:=(((CLOSE-MA54)/MA54)<0.1);
PL2:=(((CLOSE-MA10)/MA10)<0.3);
偏离率:=(((PL1=1) AND (PL2=1))*0.2);
平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利 OR 妖股突破);
VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
FLIGA:=(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);
妖股:XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,NODRAW;
XG5:XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,COLORYELLOW;
DRAWTEXT(XG5=1,0.3,'首板妖股'),COLORLIMAGENTA;
P1TS:=BARSLAST(C/REF(C,1)>1.091 AND C=H AND L<>H);
P2TS:=REF(P1TS,P1TS+1)+P1TS+1;
P1H:=REF(H,P1TS);
P2H:=REF(H,P2TS);
P1L:=MIN(REF(L,P1TS),REF(MAX(O,C),P1TS+1));
P2L:=MIN(REF(L,P2TS),REF(MAX(O,C),P2TS+1));
XG1:P1TS=0 AND P1H>P2H*0.50 AND P1L<P2H AND P2TS>1 AND HHV(H,P2TS)/HHV(L,P2TS)<1.25
AND P2TS<250,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(XG1=1,0.15,'双响炮'),COLORWHITE;
ZZAA1:=C<O;
ZZAA2:=C>O AND C<REF(C,1);
ZZBB1:=REF(ZZAA1,1) AND C>REF(O,1);
ZZBB2:=REF(ZZAA2,1) AND C>REF(C,1);
必买:=ZZBB1 OR ZZBB2;
工作线:=MA("KDJ.J"(11,3,2),5);
VAR1:=工作线;
持股:=IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL);
T:=BARSLAST(妖股);
XG:T>1 AND T<15 AND 必买 AND 持股 ;
DRAWTEXT(XG=1,0.9,'必买'),COLORMAGENTA;
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
黄金柱2:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;
DRAWTEXT(黄金柱2=1,0.8,'黄逃命'),COLORRED;
V01:=CLOSE/REF(CLOSE,3)>=1.1;
V02:BACKSET(V01,2);
VX3:=REF(CLOSE,3)*1.1;
VX4:=CROSS(C,VX3);
DRAWTEXT(V02=1,0.6,'十字星'),COLORRED;