gspt1:=MA(CLOSE,6);
gspt2:=MA(CLOSE,5);
gspt3:=EMA(MEMA(CLOSE,14),14);
gspt4:=EMA(MEMA(CLOSE,84),84);
gspt5:=MA(CLOSE,10);
gspt6:=MA(CLOSE,20);
gspt7:=MA(CLOSE,54);
gspt8:=FILTER(((REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5),10);
gspt9:=REF(HIGH,(BARSLAST(gspt8))+2);
gspt10:=REF(HIGH,(BARSLAST(gspt8))+1);
gspt11:=REF(HIGH,(BARSLAST(gspt8)));
gspt12:=MAX((MAX(gspt9,gspt10)),gspt11);
gspt13:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
gspt14:=(BARSLAST(gspt8))< 150;
gspt15:=(OPEN-gspt12)/gspt12*100< 30;
gspt16:=(CLOSE-LLV(LOW,(BARSLAST(gspt8))))/LLV(LOW,(BARSLAST(gspt8)))*100< 50;
gspt17:=(CLOSE-REF(OPEN,5))/REF(OP...省略