HGW1:=(2*CLOSE+(CLOSE+HIGH+LOW+OPEN)/4+OPEN)/4;
HGW2:=(2*LOW+3*HGW1)/5;
HGW3:=(2*HIGH+3*HGW1)/5;
HGW4:=(HGW2+HGW3)/2;
HGW5:=ABS(HGW2-EMA(HGW4,13))/EMA(HGW4,13);
HGW6:=DMA(HGW4,HGW5);
HGW7:=MA(CLOSE,20);
HGW8:=CLOSE>MA(CLOSE,5);
HGW9:=MA(CLOSE,5)>MA(CLOSE,10);
HGW10:=CLOSE>MA(CLOSE,10);
HGW11:=MA(CLOSE,5)>MA(CLOSE,20);
HGW12:=CLOSE>MA(CLOSE,20);
HGW13:=REF(HGW7,1);
HGW14:=HGW7>HGW13;
HGW15:=IF(HGW8,10,0-10)+IF(HGW9,10,0-10);
HGW16:=HGW15+IF(HGW10,10,0-10)+IF(HGW11,10,0-10);
QF:MA(LOW,20)*1.1,CIRCLEDOT,COLORGREEN;
NX:MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORYELLOW,LINETHICK2;
CBJX:(1+13/100)*HGW6,DOTLINE,COLORGRAY;
VAR22:=HGW16+IF(HGW12,10,0-10)+IF(HGW14,10,0-10);
VAR23:=VAR22=60 AND LOW>NX AND CBJX>NX;
DRAWICON(VAR23,QF,23);