QS1:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORGREEN,LINETHICK2;
DRAWBAND(QS1,RGB(110,0,20),50,RGB(60,60,60));
QS2:=SMA(QS1,3,1),COLOR00FFFF,LINETHICK2;
趋势A:QS1;
趋势B:QS2;
DRAWBAND(趋势A,RGB(180,0,0),趋势B,RGB(0,150,180));
IF(QS1>QS2,QS2,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(QS1<QS2,QS2,DRAWNULL),COLORFFFF00,LINETHICK2;
GUP2:=REF(LOW,1);
GUP3:=SMA(ABS(LOW-GUP2),3,1)/SMA(MAX(LOW-GUP2,0),3,1)*100;
GUP4:=EMA(IF(CLOSE*1.3,GUP3*10,GUP3/10),3);
GUP5:=LLV(LOW,30);
GUP6:=HHV(GUP4,30);
GUP7:=IF(MA(CLOSE,58),1,0);
GUP8:=EMA(IF(LOW<=GUP5,(GUP4+GUP6*2)/2,0),3)/618*GUP7;
GUP9:=IF(GUP8>100,100,GUP8);
庄:IF(GUP9>-150,GUP9,0),COLORFF00FF,LINETHICK2;
洗:IF(GUP9<REF(GUP9,1),GUP9,0),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(QS1,QS2),QS1,1);
DRAWICON(CROSS(QS2,QS1),QS2,2);
STICKLINE(QS1>=90,102,112,1,0),COLOR00FFFF;
STICKLINE(QS1>=80,102,107,1,0),COLORFFFF00;
STICKLINE(QS1<=10,-1,-7,1,0),COLOR0000FF;