EMA30:=EMA(C,10);
EMA60:=EMA(C,20);
QS:=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);
JD:=10;
AA:=CROSS(QS,JD) AND MA(C,8) REF(MA(C,8),1);
DRAWTEXT(AA,L*2.67, '↖潜伏4号'),COLORYELLOW;
STICKLINE(AA,55,15,1,0),COLORRED;
STICKLINE(AA,15,6,2,0),COLORRED;
STICKLINE(AA,6,0,3,0),COLORYELLOW;
STICKLINE(AA,55,0,1,0),COLORBLUE;
STICKLINE(AA,6,15,2,0),COLORRED;
STICKLINE(AA,6,55,3,0),COLORRED;
STICKLINE(AA,6,55,1,0),COLORMAGENTA;
STICKLINE(AA,15,55,1,0),COLORYELLOW;