GSPT1:=(2*CLOSE+(CLOSE+HIGH+LOW+OPEN)/4+OPEN)/4;
GSPT2:=(2*LOW+3*GSPT1)/5;
GSPT3:=(2*HIGH+3*GSPT1)/5;
GSPT4:=(GSPT2+GSPT3)/2;
GSPT5:=ABS(GSPT2-EMA(GSPT4,13))/EMA(GSPT4,13);
GSPT6:=DMA(GSPT4,GSPT5);
GSPT7:=MA(CLOSE,20);
GSPT8:=CLOSE>MA(CLOSE,5);
GSPT9:=MA(CLOSE,5)>MA(CLOSE,10);
GSPT10:=CLOSE>MA(CLOSE,10);
GSPT11:=MA(CLOSE,5)>MA(CLOSE,20);
GSPT12:=CLOSE>MA(CLOSE,20);
GSPT13:=REF(GSPT7,1);
GSPT14:=GSPT7>GSPT13;
GSPT15:=IF(GSPT8,10,0-10)+IF(GSPT9,10,0-10);
GSPT16:=GSPT15+IF(GSPT10,10,0-10)+IF(GSPT11,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)*GSPT6,DOTLINE,COLORGRAY;
VAR22:=GSPT16+IF(GSPT12,10,0-10)+IF(GSPT14,10,0-10);
VAR23:=VAR22=60 AND LOW>NX AND CBJX>NX;
DRAWICON(VAR23,QF,23);