GSPT1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
GSPT2:=EMA(GSPT1,35);
GSPT3:=(HHV(GSPT2,10)+HHV(GSPT2,30)+HHV(GSPT2,90))/3;
GSPT4:=(LLV(GSPT2,10)+LLV(GSPT2,30)+LLV(GSPT2,90))/3;
GSPT5:=(HHV(GSPT3,5)+HHV(GSPT3,15)+HHV(GSPT3,30))/3;
GSPT6:=(LLV(GSPT4,5)+LLV(GSPT4,15)+LLV(GSPT4,30))/3;
VAR8:=EXPMA(CLOSE,6);
VAR9:=EXPMA(CLOSE,18);
AA:CROSS(CLOSE,REF(OPEN,1)) AND REF(CLOSE,1)/REF(CLOSE,2)<0.97;