N:=20;DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0);:MA(CLOSE,N),COLORGREEN,LINETHICK2;IF(BOLL>REF(BOLL,1),BOLL,DRAWNULL),COLORRED,LINETHICK2;UPPER:BOLL+2*STD(CLOSE,N),COLORCYAN;LOWER:BOLL-2*STD(CLOSE,N),COLOR0088FF;{平台}N1:=30;T1:=CONST(HHVBARS(V,N1));T0:IF(CURRBARSCOUNT<=N1+7,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),LINETHICK3;IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT;DRAWTEXT(ISLASTBAR,T0,' 量能平台');STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,100,0),COLORWHITE,LINETH