FB:=(C/REF(C,1)>=1.0982 AND C/REF(C,1)<=1.102) OR C/REF(C,1)>=1.1998;
BHD:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),COLORYELLOW;
SH:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),COLORGREEN,LINETHICK1;
BH:=BHD=100 AND SH=0;
TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
cci:=EMA((TYP-MA(TYP,84.0270012))/(0.015*AVEDEV(TYP,84.0270012)),2.0332),COLORWHITE;
QRX:=CCI,COLORWHITE;
YL:=HHV(MA(CCI,5),21),LINETHICK2,COLORGREEN;
CFX:=QRX>YL;
AHC1:=CLOSE*vol;
AHC2:=EMA((EMA(AHC1,3)/EMA(VOL,3)+EMA(AHC1,6)/EMA(VOL,6)+EMA(AHC1,12)/EMA(VOL,12)+EMA(AHC1,24)/EMA(VOL,24))/4,13);
DX:=1.13*AHC2;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
NG1:=CFX AND crOSS(C,DX) AND BH;
FN:=WINNER(C/1.35)*100,LINETHICK2,COLORFF00FF;
NG2:=CROSS(FN,30) AND FB AND BH;
N:=3;
VAR11:=MA(CLOSE,N);
VAR12:=MA(CLOSE,2*N);
VAR13:=MA(CLOSE,3*N);
VAR14:=MA(CLOSE,4*N);
VAR15:=MA((VAR11+VAR12+VAR13+VAR14)/4,5);
SG:=VAR15*1.08,COLORYELLOW,LINETHICK2;
ZS:=VAR15*1.05,COLORGREEN,LINETHICK1;
YXL:=CROSS(C,ZS) AND FB;
EXL:=CROSS(C,SG) AND FB;
TPSG:=EXL;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
M1:=V/700000000;
M2:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1);
M3:=2.5*MAX(M1,M2);
M4:=DMA(C,M3);
M5:=SMA(20*(M4/REF(M4,1)-1),2,1);
M6:=EMA(M5,2);
M7:=0.24;
M8:=C>=REF(C,1);
XX:= IF(M5>M7 AND M6>=0.005 AND M8,1,0);
XXX:=CROSS(XX,0.5) AND COUNT(XX>0.5,10)=1;
QB:=J-REF(J,1)>30 AND C/REF(C,1)>1.043 AND MACD>0 AND DEA>0;
LS:=C/REF(C,1)>1.03 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
LQ:=FILTER(LS,28)*100 AND L>REF(C,1)*0.93;
XG:=QB OR LQ AND XXX;
M11:=9;
M12:=10;
B1:=C/REF(C,1)>1+0.01*M11;
B2:=EXIST(C/REF(C,1)>1+0.01*M11,M12);
B3:=C/REF(C,1)>1+0.01*M11;
MM:=IF(B1+B2+B3=3,1,0);
CC:=(H-C)/(C-O)<0.33;
DD:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND (O-L)/(C-O)>=1.48 AND L<REF(L,1) AND L<REF(L,2);
EE:=(C/REF(C,1)-1)>=0.08;
AA:=V>REF(V,1)*1.9 AND C>REF(C,1) AND C/REF(C,1)-1>=0.049 AND CC;
BB:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND V>REF(V,1) AND V>REF(V,1)*2.5 AND CC;
CCB:=EMA(2.055*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5);
YDXG:=IF(FILTER(AA OR BB OR DD OR EE AND CCB>C,34),1,0) AND MM;
Q:=XG OR YDXG;
S1:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
S2:=FILTER(S1,10);
S3:=BARSLAST(S2);
S4:=REF(HIGH,S3+2);
S5:=REF(HIGH,S3+1);
S6:=REF(HIGH,S3);
S7:=MAX(S4,S5);
S8:=MAX(S7,S6);
S9:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
S10:=S3<150;
S11:=(OPEN-S8)/S8*100<30;
S12:=(CLOSE-LLV(LOW,S3))/LLV(LOW,S3)*100<50;
S13:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
S14:=VOL/MA(VOL,5)<3.5;
S15:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
S16:=S9 AND S10 AND S11 AND S12 AND S13 AND S14 AND S15;
S17:=FILTER(S16,15);
S18:=(((CLOSE-MA(CLOSE,54))/MA(CLOSE,54))<0.1);
S19:=(((CLOSE-MA(CLOSE,10))/MA(CLOSE,10))<0.3);
S20:=(((S18=1) AND (S19=1))*0.2);
S21:=((((S20=0) AND (REF(S20,1)=0.2)) AND (REF((COUNT((S20=0.2),10)=10),1)=1))*-0.1);
S22:=S21=-0.1;
S23:=(S17 OR S22);
S24:=(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);
B:=S23 AND C/REF(C,1)>1.03 AND S24,COLORWHITE;
VARR1:=V;
VARR2:=VARR1>MA(V,89);
VARR3:=EMA(C,5);
VARR4:=EMA(C,29);
VARR5:=VARR3>VARR4;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(Abs(CLOSE-LC),12,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),56,1)/SMA(ABS(CLOSE-LC),56,1)*100;
VARR6:=RSI1>RSI2 AND VARR5 AND VARR2;
VASS1:=HHV(H,30);
VASS2:=LLV(L,30);
VASS3:=REF((VASS1/VASS2-1)*100<=30,1);
A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);
YZ:=EMA(A2,200)*1.1;
YG:=CROSS(C,YZ) AND REF(C*1.097,1)<C AND VARR6 AND VASS3;
AB1:=(C-EMA(C,5))/EMA(C,5)*100;
AB2:=EMA(EMA(EMA(C,50),50),50)*1.1;
AB3:=EMA(EMA(EMA(C,10),10),10)*1.09;
HY:=CROSS(AB1,5) AND CROSS(C,AB2) AND CROSS(C,AB3);
NN:=120;
MID1:=MA(C,NN);
VART1:=POW((C-MID1),2);
VART2:=MA(VART1,NN);
VART3:=SQRT(VART2);
CMX:=MID1+2*VART3;
GZX:=CMX;
SMX:=(MA(C,25));
CH:=(CROSS(C,GZX)OR COUNT(C<REF(C,1),3)=3 AND C>GZX) AND C>SMX AND FB;
NG3:=(TPSG) AND (Q AND B) AND (YG OR HY) AND BH AND CH;
A51:=REF(HHV(H,21),1);
B51:=REF(HHV(V,21),1);
VAR4:=EMA(CLOSE,18);
QSX:=EMA(VAR4*1.1,5),LINETHICK2;
NG4:=CLOSE>=QSX AND CLOSE/REF(C,1)>=1.075 AND REF(C,1)/REF(C,2)>=1.098 AND REF(C,2)/REF(C,3)<1.098 AND CLOSE/QSX<1.35 AND CLOSE>A51 AND CLOSE/QSX>=1.04 AND L/QSX<=1.03 AND O/L<=1.047 AND VOL/REF(B51,1)<=5 AND L/REF(C,1)>=0.97 AND REF(V,1)/REF(B51,1)<=5.73 AND L/REF(L,1)>=1.0618 AND FB;
LT:=CFX AND CROSS(C,DX) AND ZT;
NNN:=2;
SB:=(COUNT(FB,NNN)=1 AND FB);
YBY:=CROSS(Q,1) AND SB;
QBLY:=Q AND B AND LT AND YBY;
QUI:=H=C;
A:=(C-REF(C,1))/REF(C,1)*100>=0.93 AND QUI;
T:=BARSLAST(QBLY);
NG5:=T AND A AND T<=1;
NG6:=CROSS(FN,30) AND FB;
JQX:=(-( HHV(EMA(C,5),14)-C)/C*5000);
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
MADKX:=MA(DKX,6);
MDD:=(DKX-MADKX)*1.2;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,6)-EMA(V1,55);
V3:=EMA(V2,6);
V5:=(V2-V3)*0.06;
V6:=MDD+V5;
ZLH:=V6>0;
M03:=MA(CLOSE,3),COLORRED,LINETHICK;
M13:=MA(CLOSE,13),COLORRED,LINETHICK;
M34:=MA(CLOSE,34),COLORRED,LINETHICK;
KH:=M03>=M13 AND M34>=REF(M34,1);
EXP12:=EMA(C,12);
EXP50:=EMA(C,50);
ZQH:=EXP12-EXP50>0;
ZF:=C/REF(C,1)-1;
SHX:=IF(KH,2,0)+IF(ZLH,2,0)+IF(ZQH,2,0)+ZF;
QD:=SHX/10+JQX/1000;
SC:=QD>REF(QD,1) AND CROSS(QD,0.8);
ZCJZD:=WINNER(C)*100 ,COLORMAGENTA,LINETHICK1;
ZSBH:=BHD=100 AND SH=0;
QY2:=TPSG AND Q AND B AND (YG OR HY) AND BH AND CH;
预备:QY2;