GSPT1:=EMA(HHV(HIGH,500),21);
GSPT2:=EMA(HHV(HIGH,250),21);
GSPT3:=EMA(HHV(HIGH,90),21);
GSPT4:=EMA(LLV(LOW,500),21);
GSPT5:=EMA(LLV(LOW,250),21);
GSPT6:=EMA(LLV(LOW,90),21);
GSPT7:=EMA((GSPT4*0.96+GSPT5*0.96+GSPT6*0.96+GSPT1*0.558+GSPT2*0.558+GSPT3*0.558)/6,21);
GSPT8:=EMA((GSPT4*1.25+GSPT5*1.23+GSPT6*1.2+GSPT1*0.55+GSPT2*0.55+GSPT3*0.65)/6,21);
GSPT9:=EMA((GSPT4*1.3+GSPT5*1.3+GSPT6*1.3+GSPT1*0.68+GSPT2*0.68+GSPT3*0.68)/6,21);
GSPT10:=IF(MA(CLOSE,58),1,0);
GSPT11:=EMA((GSPT7*3+GSPT8*2+GSPT9)/6*1.738,21);
GSPT12:=REF(LOW,1);
GSPT13:=SMA(ABS(LOW-GSPT12),3,1)/SMA(MAX(LOW-GSPT12,0),3,1)*100;
GSPT14:=EMA(IF(CLOSE*1.35<=GSPT11,GSPT13*10,GSPT13/10),3);
GSPT15:=LLV(LOW,30);
GSPT16:=HHV(GSPT14,30);
GSPT17:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27));
GSPT18:=(3*SMA(((GSPT17)*100),5,1));
VAR22:=(GSPT18-(2*SMA(SMA(((GSPT17)*100),5,1),3,1)));
VAR23:=IF(CROSS(VAR22,3),1,0);
DRAWTEXT_FIX(C>O,0,0.2,0,'股票指标网http://'),COLOR222222;
QZG:EMA(IF(LOW<=GSPT15,(GSPT14+GSPT16*2)/2,0),3)/618*GSPT10,COLORRED;
QZG2:EMA(IF(LOW<=GSPT15,(GSPT14+GSPT16*2)/2,0),3)/-618*GSPT10,COLORYELLOW;
STICKLINE(VAR23,0,10,2,0),COLORFFFFFF;