{上轨}UB:=BOLL+2*STD(CLOSE,20);

{中轨}BOLL:=MA(CLOSE,20);

{下轨}LB:=BOLL-2*STD(CLOSE,20);

XG:C/REF(C,1)>1.06 AND C>UB;