VAR1:=EMA(EMA(CLOSE,13),13);
VAR2:=4*(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
VAR3:=REF(VAR2,1);
VAR4:=(-55);
OKA:VAR2<VAR4,NODRAW;
VAR5:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR6:=CROSS(VAR5,3);
VAR7:=LLV(LOW,3)<=LLV(LOW,60);
VAR8:=CLOSE>OPEN AND (CLOSE/OPEN>1.03 OR CLOSE>1.03*REF(CLOSE,1));
VAR9:=IF(VAR7 AND VAR8,90,0);
VAR10:=VAR6 OR VAR9;
VAR11:=EMA(HHV(HIGH,500),21);
VAR12:=EMA(HHV(HIGH,250),21);
VAR13:=EMA(HHV(HIGH,90),21);
VAR14:=EMA(LLV(LOW,500),21);
VAR15:=EMA(LLV(LOW,250),21);
VAR16:=EMA(LLV(LOW,90),21);
VAR17:=EMA((VAR14*0.96+VAR15*0.96+VAR16*0.96+VAR11*0.558+VAR12*0.558+VAR13*0.558)/6,21);
VAR18:=EMA((VAR14*1.25+VAR15*1.23+VAR16*1.2+VAR11*0.55+VAR12*0.55+VAR13*0.65)/6,21);
VAR19:=EMA((VAR14*1.3+VAR15*1.3+VAR16*1.3+VAR11*0.68+VAR12*0.68+VAR13*0.68)/6,21);
VAR20:=IF(MA(CLOSE,58),1,0);
VAR21:=EMA((VAR17*3+VAR18*2+VAR19)/6*1.738,21);
VAR22:=REF(LOW,1);
VAR23:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;
VAR24:=EMA(IF(CLOSE*1.35<=VAR21,VAR23*10,VAR23/10),3);
VAR25:=LLV(LOW,30);
VAR26:=HHV(VAR24,30);
VAR27:=EMA(IF(LOW<=VAR25,(VAR24+VAR26*2)/2,0),3)/618*VAR20;
VAR28:=3.06*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3.8,1)-2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3.8,1),3.2,1);
VAR29:=60*(VAR27>10 AND VAR28<5);
VAR30:=OKA AND VAR10 AND EXIST(VAR29>0,8);
VAR31:=OKA AND EXIST(VAR10,8) AND LAST(VAR29>0,2,0);
XG:18*(VAR30 OR VAR31 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,1) AND (VOL<REF(VOL,1)*1.5 OR VOL<CAPITAL*0.1 OR REF(VOL,1)<CAPITAL*0.05)),COLORRED;
银山:XG AND REF(EXIST(XG,13),1) AND NOT(REF(EXIST(XG,33),14)),NODRAW;
金山:XG AND (REF(EXIST(XG,33),14) AND NOT(REF(EXIST(XG,13),1))),NODRAW;
DRAWICON(银山,3,9);{WWW.}
DRAWICON(金山,5,26);
JSYS:银山 OR 金山,NODRAW;