GSPT1:=REF(H,20)=HHV(H,2*20+1);
GSPT2:=FILTER(GSPT1,20);
GSPT3:=BACKSET(GSPT2,20+1);
GSPT4:=FILTER(GSPT3,20);
GSPT5:=REF(H,BARSLAST(GSPT4));
GSPT6:=REF(BARSLAST(H=GSPT5),1);
GSPT7:=REF(BARSLAST(H=GSPT5),GSPT6+2);
GSPT8:=CROSS(C,GSPT5) AND REF(GSPT5,GSPT6+2)>GSPT5;
GSPT16:=GSPT8 AND LLV(L,GSPT6)>REF(LLV(L,GSPT7),GSPT6+2);
GSPT18:=GSPT16 AND REF(HHV(H,GSPT6-1),1)<GSPT5;
双底xg:GSPT18 AND (HHV(H,100)-C)/HHV(H,100)*100>10;