{布林线分时}
C,COLORRED;
BOLL:ma(CLOSE,20),COLORWHITE;
UB:BOLL+2*STD(CLOSE,20),COLORCYAN,DOTLINE;
LB:BOLL-2*STD(CLOSE,20),COLORCYAN,DOTLINE;
上升:IF(BOLL>REF(BOLL,1),BOLL,DRAWNULL),COLORWHITE;
下降:IF(BOLL<REF(BOLL,1),BOLL,DRAWNULL),COLORYELLOW;
K:=IF(HOUR>12,(HOUR-13)*60+MINUTE+120,(HOUR-9)*60+MINUTE-30),NODRAW;
JJ:SUM(C*V,K)/SUM(V,K),COLORBLUE;