HGW1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
HGW2:=(2*CLOSE+HIGH+LOW)/4;
HGW3:=LLV(LOW,34);
HGW4:=HHV(HIGH,34);
HGW5:=EMA((HGW2-HGW3)/(HGW4-HGW3)*100,13);
VAR18:=EMA(0.667*REF(HGW5,1)+0.333*HGW5,2);
VAR19:=SMA(HGW1,20,1);
STICKLINE(VAR19-SMA(VAR19,5,1)>0,VAR19,SMA(VAR19,5,1),4,1),COLORYELLOW;
STICKLINE(VAR19-SMA(VAR19,5,1)<0,VAR19,SMA(VAR19,5,1),4,1),COLORLIBLUE;
STICKLINE(HGW5-VAR18>0,HGW5,VAR18,2,0),COLORRED;
STICKLINE(HGW5-VAR18<0,HGW5,VAR18,2,0),COLORGREEN;