VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:=SMA(VAR13,3,1),COLORCYAN,LINETHICK1;
VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K2:=SMA(VAR21,3,1),COLORYELLOW,LINETHICK1;
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K3:=SMA(VAR34,3,1),COLORMAGENTA,LINETHICK1;
买点:=K1<20 AND K1>REF(K1,1) AND K2<20 AND K3<20,COLORRED;
STICKLINE(买点,105,100,2,0),COLORGREEN;