N:=30;M:=5;
VARR:=MA(CLOSE,5);
VAR3:=MA(CLOSE,10);
VAR4:=MA(CLOSE,20);
VAR5:=MA(CLOSE,30);
VAR6:=(VARR+VAR3+VAR4+VAR5)/4;
VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR9:=EMA(VAR7,8);
反转:VAR9 1*REF(VAR9,1),COLORRED,NODRAW;
STICKLINE(VAR9 1*REF(VAR9,1),VAR7,0,9,0),COLORRED;
持股:VAR7 1*REF(VAR7,1),COLOR4080FF,NODRAW;
STICKLINE(VAR7 1*REF(VAR7,1),VAR7,VAR9,9,0),COLOR4080FF;
持币:VAR7 1*REF(VAR7,1),COLORLIBLUE,NODRAW;
STICKLINE(VAR7 1*REF(VAR7,1),VAR7,VAR9,9,0),COLORLIBLUE;
洗盘:VAR7 1*REF(VAR7,1) AND VAR9 1*REF(VAR9,1),COLOR00FF00,NODRAW;
STICKLINE(VAR7 1*REF(VAR7,1) AND VAR9 1*REF(VAR9,1),VAR7,VAR9,9,0),COLOR00FF00;
VARR6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VARR7:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
VARR8:=EMA(VARR7,9);
VARR9:=2*(VARR7-VARR8);
V:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
GS0:=SMA(RSVV,3,1),COLORRED,LINETHICK1;
GS1:=SMA(GS0,3,1),COLORYELLOW,LINETHICK1;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
GS2:=SMA(RSV1,5,1),COLORFF00FF,LINETHICK1;
GS3:=SMA(GS2,10,1),COLORGREEN,LINETHICK1;
底:VARR7 (-50) AND VARR6 7 AND VARR7 VARR8,NODRAW,COLORRED;
DRAWTEXT(VARR7 (-50) AND VARR6 7 AND VARR7 VARR8,(-10), 底 ),COLORRED;
追:VARR7 (-50) AND VARR6 7 AND VARR7 =VARR8,NODRAW,COLORRED;
DRAWTEXT(VARR7 (-50) AND VARR6 7 AND VARR7 =VARR8,5, 追 ),COLORRED;
STICKLINE(VARR7 (-50) AND VARR6 7,0,(-10),9,0),COLORRED;
线1:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORRED;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
线2:=EMA(J,6),COLORYELLOW;
VARR99:=REF(LOW,1);
VAR39:=SMA(ABS(LOW-VARR99),3,1)/SMA(MAX(LOW-VARR99,0),3,1)*100;
VAR49:=EMA(IF(CLOSE*1.3,VAR39*10,VAR39/10),3);
VAR59:=LLV(LOW,30);
VAR69:=HHV(VAR49,30);
VAR79:=IF(MA(CLOSE,58),1,0);
VAR89:=EMA(IF(LOW =VAR59,(VAR49+VAR69*2)/2,0),3)/618*VAR79;
VAR99:=IF(VAR89 100,100,VAR89);
吸筹:VAR99,NODRAW,COLORFF80FF;
STICKLINE(VAR99 -120,0,VAR99,9,0),COLORFF80FF;
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
势:=CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;
买入:CROSS(线2,线1) AND 势 线2,COLORYELLOW,POINTDOT;
STICKLINE(CROSS(线2,线1) AND 势 线2 AND GS2 GS3,15,0,9,0),COLORYELLOW;