X_1:=EMA(EMA(CLOSE,13),13);
X_2:=4*(X_1-REF(X_1,1))/REF(X_1,1)*1000;
X_3:=REF(X_2,1);
X_4:=(-55);
OKA:X_2<X_4,NODRAW;
X_5:=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);
X_6:=CROSS(X_5,3);
X_7:=LLV(LOW,3)<=LLV(LOW,60);
X_8:=CLOSE>OPEN AND (CLOSE/OPEN>1.03 OR CLOSE>1.03*REF(CLOSE,1));
X_9:=IF(X_7 AND X_8,90,0);
X_10:=X_6 OR X_9;
X_11:=EMA(HHV(HIGH,500),21);
X_12:=EMA(HHV(HIGH,250),21);
X_13:=EMA(HHV(HIGH,90),21);
X_14:=EMA(LLV(LOW,500),21);
X_15:=EMA(LLV(LOW,250),21);
X_16:=EMA(LLV(LOW,90),21);
X_17:=EMA((X_14*0.96+X_15*0.96+X_16*0.96+X_11*0.558+X_12*0.558+X_13*0.558)/6,21);
X_18:=EMA((X_14*1.25+X_15*1.23+X_16*1.2+X_11*0.55+X_12*0.55+X_13*0.65)/6,21);
X_19:=EMA((X_14*1.3+X_15*1.3+X_16*1.3+X_11*0.68+X_12*0.68+X_13*0.68)/6,21);
X_20:=IF(MA(CLOSE,58),1,0);
X_21:=EMA((X_17*3+X_18*2+X_19)/6*1.738,21);
X_22:=REF(LOW,1);
X_23:=SMA(ABS(LOW-X_22),3,1)/SMA(MAX(LOW-X_22,0),3,1)*100;
X_24:=EMA(IF(CLOSE*1.35<=X_21,X_23*10,X_23/10),3);
X_25:=LLV(LOW,30);
X_26:=HHV(X_24,30);
X_27:=EMA(IF(LOW<=X_25,(X_24+X_26*2)/2,0),3)/618*X_20;
X_28:=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);
X_29:=60*(X_27>10 AND X_28<5);
X_30:=OKA AND X_10 AND EXIST(X_29>0,8);
X_31:=OKA AND EXIST(X_10,8) AND LAST(X_29>0,2,0);
XG:18*(X_30 OR X_31 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);
DRAWICON(金山,5,26);
JSYS:银山 OR 金山,NODRAW;