VAR1:=HIGH-LOW;
VAR2:=ABS(OPEN-CLOSE);
VAR3:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
VAR4:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
VAR5:=VAR2/VAR1*VOL;
VAR6:=VAR3/VAR1*VOL;
VAR7:=VAR4/VAR1*VOL;
VAR8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
MA5:=MA(VOL,5),COLORRED;
成交量:VOL,NODRAW;
流通比: CAPITAL/TOTALCAPITAL*100,NODRAW;
多头成交口: STICKLINE(CLOSE>MA(H,20),0,VOL,3,1),COLORRED;
空头成交口: STICKLINE(CLOSE
没有趋势口: STICKLINE(CLOSEMA(L,20),0,VOL,3,1),COLORCYAN;
向上攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE>OPEN,0,VAR5,2.5,0),COLORRED;
向下攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE
上探量: STICKLINE(VAR6>VAR5 ANDVAR6>VAR7,0,VAR6,2,0),COLORLIGRAY;
下探量: STICKLINE(VAR7>VAR5 ANDVAR7>VAR6,0,VAR7,2,0),COLORLICYAN;
相对地量: STICKLINE(VAR8>2 AND VOL
放量: STICKLINE(VOL>(MA(VOL,20)*3),0,VOL,3,0),COLORWHITE;
逢高出货: DRAWTEXT(VAR6>VAR5 AND VAR6>VAR7 ANDCLOSE>MA(CLOSE,5)
AND CLOSE>MA(CLOSE,34) AND HIGH>MA(CLOSE,55) ANDVOL>MA5
AND VAR6>MA(VOL,5),VOL,'$'),COLORRED;
倍量:STICKLINE(VOL>REF(VOL,1)*2,0,VOL,1.1,0),COLORYELLOW,LINETHICK1;
M5: MA(VOL,5),COLORRED;
MA40: MA(VOL,40),COLORGREEN;
MA135: MA(VOL,135),COLORBLUE;
OBV
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,30);