AA:=(C*2+H+L+O)/5;
A1:=(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3;
A2:=(EMA(AA,9)+MA(AA,18)+MA(AA,36))/3;
A3:=(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3;
A4:=(EMA(AA,24)+MA(AA,48)+MA(AA,96))/3;
A10:=MAX(MAX(A1,A2),A3);
圆弧底:=LONGCROSS(A1,A3,30)AND (A4-A3)/A3<0.05 AND A10<A4;
跳空缺口:=HIGH<(REF(LOW,1)-0.001) || LOW>(REF(HIGH,1)+0.001);
十日圆弧底:=EXIST(圆弧底,10);
XG:十日圆弧底 AND 跳空缺口 AND L>REF(H,1) AND C>O;