GSKZ1:=POW(10,6);
GSKZ2:=IF(GSKZ1>0,1,0);
GSKZ3:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
GSKZ4:=HIGH-REF(HIGH,1);
GSKZ5:=REF(LOW,1)-LOW;
GSKZ6:=SUM(IF(GSKZ4>0 AND GSKZ4>GSKZ5,GSKZ4,0),20);
GSKZ7:=SUM(IF(GSKZ5>0 AND GSKZ5>GSKZ4,GSKZ5,0),20);
GSKZ8:=LLV(LOW,240);
GSKZ9:=HHV(HIGH,240);
趋势线:=(CLOSE-GSKZ8)/GSKZ8*100;
中线:=GSKZ7/GSKZ3/2*100;
散户线:=(GSKZ9-CLOSE)/CLOSE*100;
HH:=趋势线/散户线;
GSKZ10:=HHV(CLOSE,20);
GSKZ11:=EMA(GSKZ10,30)*1.03;
GSKZ12:=EMA(GSKZ10,120)*1.03;
GSKZ13:=(CLOSE+HIGH+LOW)/3;
GSKZ14:=EMA(GSKZ13,10);
GSKZ15:=REF(GSKZ14,1);
看涨:=IF(趋势线>15 AND 趋势线>中线,趋势线,DRAWNULL);
超强:=IF(趋势线>30 AND 趋势线>散户线,趋势线,DRAWNULL);
XG:(FILTER(看涨 OR 超强 AND 趋势线>=HHV(趋势线,10) AND OPEN/GSKZ14<1.08 AND OPEN/GSKZ11<1.1 AND OPEN/GSKZ12<1.2 AND CLOSE>GSKZ11 AND CLOSE>=REF(CLOSE,1)*1.05 AND 散户线<60 AND 趋势线<120,30))*GSKZ2;