N:=38;
N1:=8;
N2:=3;
N3:=10;
M:=3;
PW:=(vol * (CLOSE - OPEN)) / (CLOSE + OPEN);
PW1:=EMA((VOL * (CLOSE - OPEN)) / (CLOSE + OPEN),N);
ME:=EMA(PW1,N1);
ME1:=MA(ME,N2);
ME2:=MA(ME,N3);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
ZX:=(MA5 + MA10) / 2;
QSXS:=(MA5 >= MA30) AND (MA30 > REF(MA30,1));
GD:=(ZX >= REF(ZX,1)) AND (REF(ZX,1) < REF(ZX,2));
YB:=C > (REF(((O - C) / 2) + C,2));
买:=(crOSS(C,ZX) AND (GD OR YB)) AND QSXS;
买入易涨停:=买 AND (MA5 > REF(MA5,1));
量能:=VOL;
量能rsi1:=(SMA(MAX(C-(EMA(REF(((L+H)/2),2),1)),0),13,1)/SMA(Abs(C-(EMA(REF(((L+H)/2),2),1))),13,1)*EMA(VOL,13)*3),LINETHICK2,COLORFFFFFF;
量能RSI2:=SMA(MAX(C-SMA(REF(C,2),2,1),0),34,1)/SMA(ABS(C-SMA(REF(C,2),2,1)),34,1)*SMA(VOL,13,1)*2.8,LINETHICK2,COLOR00FFFF;
量能RSI3:=SMA(MAX(C-SMA(REF(C,2),2,1),0),68,1)/SMA(ABS(C-SMA(REF(C,2),2,1)),68,1)*SMA(VOL,34,1)*2.8,LINETHICK2,COLOR5050FF;
EZT:=HIGH>REF(CLOSE,1)*1.093;
EZTO:=EXIST(EZT,N);
XG : CROSS(ME,ME1) AND ((C > O) AND ((((C - O) / REF(C,1)) * 100) > 1.5)) AND EXIST(CROSS(量能RSI1,量能RSI3),M);