AA:=EMA(CLOSE,9)-EMA(CLOSE,2*9+2),NODRAW;
MAXV:=CONST(HHV(VOL,96));
MAXD:=CONST(MAX(ABS(HHV(AA,96)),ABS(LLV(AA,96))));
BS:=MAXV/MAXD;
CC:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN*0.8/BS,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,CC,0,-1,-1),COLOR00C0C0;
VOLUME:=VOL*0.8/BS;
R:=VOL/((H-L)*2-ABS(O-C));
{股旁網-專業(yè)指標公式網站 www.gupang.com}
買:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,VOLUME,R*(C-L)*0.8/BS);
STICKLINE(VOLUME,0,VOLUME,2.2,0),COLORLIGREEN;
STICKLINE(買,0,買,2.2,0),COLORRED;
換手:=VOL/CAPITAL*100,COLORWHITE;
{股旁網-專業(yè)指標公式網站 WWW.GUPANG.COM}
換手冷清:STICKLINE(換手<3,VOLUME+0.01,VOLUME,2.2,0),COLORGRAY;
換手活躍:STICKLINE(換手>=3 AND 換手<7,VOLUME+0.01,VOLUME,2.2,0),COLORYELLOW;
換手熱烈:STICKLINE(換手>=7,VOLUME+0.01,VOLUME,2.2,0),COLORMAGENTA;
MAXV1:=CONST(HHV(換手,96));
BK:=MAXV1/MAXD;
換手線1:IF(換手<100,換手/5/BK,0),COLORBLACK,LINETHICK1;