VAR1:=EMA((EMA(CLOSE*VOL,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)+EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,18);
VAR2:=1.06*VAR1;
VAR3:=MA(CLOSE,5);
VAR4:=XS.LUP;
VAR5:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;
VAR6:=CLOSE>REF(CLOSE,1)*1.098 AND CLOSE=HIGH;
VAR7:=REF(COUNT(VAR3>VAR4,7)>=1 AND (VAR3>REF(VAR3,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) AND CROSS(CLOSE,VAR3) AND CLOSE>VAR2 AND VAR3>REF(VAR3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015;
VAR8:=REF(COUNT(VAR3>VAR4,8)>=1 AND CROSS(CLOSE,VAR3),1) AND VAR3>REF(VAR3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015;
VAR9:=REF(COUNT(EVERY(VAR6 AND CLOSE>OPEN,3),6)>=1 AND (VAR3>REF(VAR3,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) AND CROSS(CLOSE,VAR3) AND CLOSE>VAR2 AND VAR3>REF(VAR3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015;
金准打牛:VAR7 OR VAR8 OR VAR9,COLORWHITE,LINETHICK2;
DRAWTEXT(金准打牛,0.58,44),COLORWHITE;