VAR1:=(CLOSE-LLV(LOW,63))/(HHV(HIGH,63)-LLV(LOW,63))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
DRAWTEXT(FILTER(VAR6,10)=1,LOW,'抄底'),LINETHICK3 ;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
DRAWTEXT(FILTER(VAR7,5)=1,HIGH,'逃顶'),LINETHICK3 ,COLORYELLOW;