LOWV2:=LLV(LOW,14);
HIGHV2:=HHV(HIGH,14);
RSV2:=EMA((CLOSE-LOWV2)/(HIGHV2-LOWV2)*100,4);
K2:=EMA(RSV2,3);
D2:=MA(K2,3);
T1:=O>C*0.8;
VAR1:=LAST(T1,6,5);
VAR2:=REF(C,1)<C*1.03;
T2:=H<MA(C,10);
VAR4:=REF(COUNT(T2,8),1)>=4;
VAR5:=V<REF(V,6)*1.3 AND V>REF(V,6)*0.2;
VAR6:=REF(K2,3)-K2>0.5 AND REF(K2,1)-K2<1;
VAR8:=V<MA(V,100)*1.6;
VAR88:=REF(V<MA(V,15)*0.9,2);
VAR9:=REF(H,1)<REF(L,4)*1.01;
VAR10:=V<=LLV(V,16)*4.5;
VAR11:=EMA(C,120)/C>1.025;
VAR12:=REF(L,3)<=REF(L,5)*0.95;
T4:=MAX(O,C)/MIN(O,C)>1.05;
VAR13:=COUNT(T4,8)<=1;
VAR14:=L<REF(L,2)*1.035;
TYP2:=(HIGH+LOW+CLOSE)/3;
cci2:=(TYP2-MA(TYP2,16))/(0.015*AVEDEV(TYP2,16));
VAR15:=CCI2>=-200;
VAR16:=REF(O,4)/O>1.05;
T5:=EMA(C,7)/H>1.005;
VAR18:=COUNT(T5,6)<=4;
mtm1:=CLOSE-REF(CLOSE,12);
MTMMA1:=MA(MTM1,5);
VAR20:=MTMMA1<-0.15;
VAR21:=REF(C,2)/C<1.02;
VAR22:=MAX(O,C)/MIN(O,C)>1.005;
VAR222:=REF(MAX(O,C)/MIN(O,C),2)>1.01;
VAR23:=H/REF(L,1)>=1.015;
VAR24:=REF(O>C,2) AND H<REF(H,2)*1.025;
VAR25:=C/REF(C,1)>1.01;
XG1:=VAR1 AND VAR1 AND VAR4 AND VAR5 AND VAR6 AND VAR8 AND VAR9 AND VAR10 AND VAR11 AND
VAR12 AND VAR13 AND VAR14 AND VAR15 AND VAR16 AND VAR88 AND VAR18 AND VAR20 AND VAR21 AND
VAR21 AND VAR23 AND VAR24 AND VAR25;
TT1:=MA(C,8)>=MA(C,20);
AA1:=LAST(TT1,3,0);
AA2:=REF(C,1)<REF(MA(C,35),1) AND REF(O,1)>REF(C,1)*0.996;
AA3:=REF(C,1)<C ;
AA4:=REF(V,1)>REF(V,4)*0.7;
TT5:=V<=LLV(V,12)*1.0;
AA7:=COUNT(TT5,7)=0;
AA8:=H/C<1.04;
AA9:=H<REF(H,3)*1.03;
AA10:=REF(L,1)<=REF(L,6)*1.05;
AA12:=O/L<=1.07;
AA13:=REF(O/C<=1.0995,1);
AA14:=REF(C,1)<REF(C,4)*1.005;
LOWV1:=LLV(MIN(O,C),7);
HIGHV1:=HHV(MAX(O,C),10);
RSV1:=EMA((MAX(O,C)-LOWV1)/(HIGHV1-LOWV1)*100,5);
K1:=EMA(RSV2,2);
D1:=MA(K2,3);
AA15:=K1>30;
AA17:=ATAN((MA(C,18)/REF(MA(C,19),1)-1)*100)*180/3.14115926>10;
AA19:=C/REF(C,1)>1.02;
TT2:=O/C>1.008;
AA20:=COUNT(TT2,12)<=3;
AA21:=V<=REF(V,4)*1.05;
XG2:=AA1 AND AA2 AND AA3 AND AA4 AND AA7 AND AA8 AND AA9 AND AA10 AND AA12
AND AA13 AND AA14 AND AA15 AND AA17 AND AA19 AND AA20 AND AA21;
牛气冲天:XG1 OR XG2,LINETHICK2,COLORRED;
STICKLINE(牛气冲天,0,300,5,10),COLORRED;
STICKLINE(牛气冲天,1,300,3,0),COLOR0000FF;
STICKLINE(牛气冲天,1,300,2.8,0),COLOR6600FF;
STICKLINE(牛气冲天,1,300,2.1,0),COLORBB00FF;
STICKLINE(牛气冲天,1,300,1.8,0),COLORFF00FF;
STICKLINE(牛气冲天,1,300,1.6,0),COLORFF33FF;
STICKLINE(牛气冲天,1,300,0.8,0),COLORFF66FF;
STICKLINE(牛气冲天,1,300,0.4,0),COLORFF99FF;
STICKLINE(牛气冲天,0,150,5,10),COLORRED;
STICKLINE(牛气冲天,1,150,3,0),COLOR800000;
STICKLINE(牛气冲天,1,150,2.8,0),COLORAE0000;
STICKLINE(牛气冲天,1,150,2.1,0),COLORC40000;
STICKLINE(牛气冲天,1,150,1.8,0),COLORFB0000;
STICKLINE(牛气冲天,1,150,1.6,0),COLORFF3C3C;
STICKLINE(牛气冲天,1,150,0.8,0),COLORFF3C3C;
STICKLINE(牛气冲天,1,150,0.4,0),COLORFBDCD7;
DRAWICON(牛气冲天,300,29);
DRAWICON(牛气冲天,170,9);
DRAWICON(牛气冲天,20,26);