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