VOLUME:=VOL,VOLSTICK;

现价:=C,NODRAW;

LH:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);

J:=EMA(LH,21);

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

{DRAWTEXT(ISLASTBAR=1,-5000,' 评级'),COLORYELLOW;}

X1:=LH>J;

X2:=DIF>DEA;

X3:=K>D;

X4:=CCI>100;

X5:=C>SAR.SAR AND TIME<=0932;

X6:=RSI.RSI1>50 AND TIME<=0932;

{STICKLINE((X6),L,L*2,2,0),COLORYELLOW;}

XJ:=X1 + X2 + X3 + X4 + X5 + X6,NODRAW;

{STICKLINE(1,0,-30000,3,1),COLOR666666;}

{DRAWNUMBER(XJ<5,-1000,XJ),COLORLIGRAY;}

DRAWNUMBER(XJ=6,500,XJ),COLORGREEN;

{DRAWNUMBER(XJ=5,-1000,XJ),COLORGREEN;}

XG:=X1 AND X2 AND X3 AND X4 AND X5 AND X6,NODRAW;

{};