VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3);
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8 20 AND VAR9 23 AND VARA
VARC:=VARB AND COUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=TROUGHBARS(3,6,1) 4 AND CROSS(VARD,VARE);
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH LOW+0.04,4,0);
VAR11:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR12:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR13:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR14:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR15:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR16:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR17:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR18:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
组合买: (VAR11+VAR13+VAR15+VAR17), COLORWHITE;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
VAR03:=CROSS(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1), MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2)) AND MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1)
VAR04:=CROSS(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1),0);
VAR05:=CROSS(MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1), MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2)) AND MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1)
买一: VAR03, STICK,COLORRED;
买二: VAR04 OR VAR05, STICK,COLORWHITE;
AA1:=IF((BARSCOUNT(C) 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
N:=IF((AA1 0.35),6,65);
B:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
YCZT:=CROSS(B,-2); LX1:=(EMA((AMOUNT/10000000),1) /3);
LX2:=(WINNER(C)/0.3); LX3:=IF(C 0,LX1,V); LX4:=IF(C 0,LX2,V);
LX5:=IF((BARSCOUNT(C) 100),LX3,LX4);
量:=LX5/1000;
动量:=(EMA(量,13)*1.5);
A01:=IF((量 动量),量,0);
A02:=BARSLAST((A01 A03:=REF(量,A02);
趋势:=IF((量 =A01),量,A03);
突破:=IF(((((量=趋势) AND (C REF(C,1))) AND (量 REF(量,1))) AND (REF(A02,2) 0)),888,0);
涨停:YCZT AND FILTER(突破 ,5 ),COLORRED;
DRAWTEXT(涨停 0,4.5,'★涨停'),COLORYELLOW;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA120:=MA(C,120);
MA250:=MA(C,250);
角度5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
角度20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
起爆:角度5 角度10 AND 角度10 角度20 AND 角度20 30,COLORWHITE;
黑龙: IF(TROUGHBARS(3,15,1)=0 AND HIGH LOW+0.5,100,0),LINETHICK3,COLORRED;
组合卖: (VAR12+VAR14+VAR16+VAR18), COLORYELLOW;
DRAWTEXT(VAR13,0.6,'●'), COLORRED;
DRAWICON(组合买,组合买,5);
DRAWICON(组合卖,组合卖,9);
DRAWICON(VAR10 0,4.2,3);
DRAWTEXT(VAR10 AND VARF AND VARC,2.8,' 30%下单莫错过!'), COLORMAGENTA;
DRAWTEXT(VAR18,3,'空仓'), COLORGREEN;
备买: IF(DRAWICON(VAR10 0,4.2,3) =3,1,0),COLORWHITE,LINETHICK1;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
RSV0:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
{黑马狂奔}
A2:=((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5))-REF((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),1))/REF((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),1) 90 AND A2 0,7),(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),'跑'),COLOR00FF00;
DRAWTEXT(CROSS((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)))AND (EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)) A5,(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),'黑马');
DRAWTEXT(CROSS((EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),A5)AND ((MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2))) 80,(EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)),'追涨');
DRAWTEXT(CROSS(((MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2))),0)AND (EMA((3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)),5)) 40,5,'大黑马');
机会来临:REF(IF((MA(C,5)-C)/C 0.04 AND (MA(C,10)-MA(C,5))/MA(C,5) 0.04,30,0),1),COLORF00FF0,LINETHICK2;
DEA :=EMA( EMA(CLOSE,12) - EMA(CLOSE,26),9);
基础:=( EMA(CLOSE,12) - EMA(CLOSE,26) -0.1 AND EMA(CLOSE,12) - EMA(CLOSE,26) DEA);
开仓区: IF(STICKLINE( 基础,LLV(L,30),LLV(L,30)*1.1,4,0) =3,1,0),COLORWHITE,LINETHICK1;
LCA:=REF(CLOSE,1);
RSII:=((SMA(MAX((CLOSE - LCA),0),3,1) / SMA(ABS((CLOSE - LCA)),3,1)) * 100);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
准备:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX 0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(准备=1,5),LOW-1.97,'★拉升'),COLORLIMAGENTA;
拉升: IF(DRAWTEXT(FILTER(准备=1,5),LOW-1.17,'★拉升') =3,1,0),COLORLIMAGENTA;
下单: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK ,COLORYELLOW, LINETHICK4;
DRAWTEXT(下单,38,'下单!'),COLORGREEN;
K:SMA(RSV0,M1,1),COLORYELLOW,LINETHICK1;
D:SMA(K,M2,1),COLORWHITE,LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J 0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K 90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D 85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K 80 AND D 80 AND CROSS(D,K),D,2);
金叉股: IF(DRAWICON(CROSS(J,1),J,1) =3,1,0),COLORYELLOW;
IF((VARO7 10),85,100) ,COLORBLACK,LINETHICK2;
ZKK:= KD.K#WEEK (9,3,3);
ZKD:= KD.D#WEEK (9,3,3);
KCD:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1) 30,13);
KCD1:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1) 30,13);
XG1:=KCD;
DIFW:= MACD.DIF#WEEK (12,26,9);
DEAW:= MACD.DEA#WEEK (12,26,9);
P:=10;A:=5;
FCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1) 0,13);
XG2:=FCA;
建仓区: IF((VARO7 10),80,100) ,COLORYELLOW,LINETHICK1;