gsptUX:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
gsptSE:=SMA(gsptUX,3,1);
gsptJO:=SMA(gsptSE,3,1);
gsptFW:=C-REF(C,1);
gsptJ2:=100*EMA(EMA(gsptFW,6),6)/EMA(EMA(ABS(gsptFW),6),6);
gsptHQ:=LLV(gsptJ2,2)=LLV(gsptJ2,7) AND COUNT(gsptJ2< 0,2) AND CROSS(gsptJ2,MA(gsptJ2,2));
gsptZN:=(2*CLOSE+HIGH+LOW)/4;
gspt8B:=IF(YEAR>=2099 AND MONTH>2,0,1);
gspt36:=LLV(LOW,5);
gsptYW:=HHV(HIGH,4);
gsptTL:=EMA((gsptZN-gspt36)/(gsptYW-gspt36)*100,4)*gspt8B;
gsptPX:=EMA(0.667*REF(gsptTL,1)+0.333*gsptTL,2)*gspt8B;
gsptP7:=EMA(CLOSE,3);
gsptSB:=EMA(CLOSE,21);
gsptN1:FINANCE(40)/100000000,NODRAW,COLORRED;
STICKLINE(C>=O,H,L,0,0),COLORFFD700;
STICKLINE(C>=O,C,O,3,1),COLORFFD700;
STICKLINE(C>=O,C,O,0.5,1),COLORWHITE;
STICKLINE(C< O,H,L,0,0),COLOR555555;
STICKLINE(C< O,C,O,3,0),COLOR555555;
STICKLINE(C< O,C,O,0.5,0),COLOR333333;
gsptMK:MA(CLOSE,34),LINETHICK1,COLORAAAAAA,DOTLINE;
gsptC9:MA(CLOSE,56),LINETHICK1,COLOR888888,DOTLINE;
gsptP5:MA(CLOSE,3),LINETHICK1,COLORYELLOW,DOTLINE;
gsptJI:MA(CLOSE,7),LINETHICK1,COLORWHITE,DOTLINE;
gsptRF:MA(CLOSE,13),LINETHICK1,COLORFF00FF,DOTLINE;
gsptPA:MA(C,18),LINETHICK1,COLORGREEN,DOTLINE;
DRAWICON(FILTER(gsptHQ=1,5),LOW*0.98,1);
DRAWTEXT(FILTER(gsptHQ=1,5),LOW*0.96,'←游资买'),COLORYELLOW,DRAWABOVE;
STICKLINE(gsptHQ,OPEN,CLOSE,4,0),COLORYELLOW;
DRAWTEXT(CROSS(gsptTL,gsptPX) AND gsptTL< 30,LOW*0.96,'★低吸'),COLORRED,DRAWABOVE;
DRAWTEXT(CROSS(gsptPX,gsptTL) AND gsptTL>70,HIGH*1.02,'★高抛'),COLORGREEN,DRAWABOVE;
DRAWNUMBER_FIX(1,0.01,0.01,0,FINANCE(40)/100000000),COLORRED;
DRAWTEXT_FIX(1,0.01,0.01,0,'流通盘(亿):'),COLORWHITE;