N:=5; N1:=21;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
尝试买: IF(CROSS(VAR1,VAR2),50,0),LINETHICK2,COLORLIBLUE;
DRAWTEXT(尝试买,85,'试买'),COLORYELLOW,COLORLIBLUE;
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
趋势线:MA(K,3);
低进1:=CROSS(趋势线,8) AND 尝试买;
低进2:=尝试买;
超短买:低进1 OR 低进2,COLOR0099FF,NODRAW;
STICKLINE(超短买,-1,20,3,0),COLOR0090FF;
STICKLINE(超短买,-1,15,1,-1),COLORRED;