BOLL:=MA(CLOSE,99);
UB:=BOLL+2*STD(CLOSE,99);
LB:=BOLL-2*STD(CLOSE,99);
A1:=C>BOLL && REF((C<BOLL),1);
A2:=BETWEEN(BARSLAST(A1),4,13);
REF(A2,2) && A1 ;
BOLL:=MA(CLOSE,99);
UB:=BOLL+2*STD(CLOSE,99);
LB:=BOLL-2*STD(CLOSE,99);
A1:=C>BOLL && REF((C<BOLL),1);
A2:=BETWEEN(BARSLAST(A1),4,13);
REF(A2,2) && A1 ;