n 1 100 6
VAR0:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=MA(VAR0,N);
VAR2:=VAR1-MA(VAR0,N/2)<0;
VAR3:=VAR1-MA(VAR0,N/2)>0;
VAR4:=BARSLAST(VAR2);
VAR5:=0-BARSLAST(VAR3);
AJX:=IF(VAR2<=0,VAR4,VAR5);
正买负卖:-1*AJX,VOLSTICK; 分界:0;
倍量:VOL>=REF(V,1)*1.90 AND C>REF(C,1),NODRAW,COLORYELLOW;
地量:VOL<REF(LLV(VOL,60),1),NODRAW,COLORCA00CA;
平量:ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,NODRAW,COLOR009F00;
倍缩:VOL<=REF(V,1)*0.5,NODRAW,COLOR9E3EFF;DRAWICON(倍缩,1,23);
低量13:VOL=LLV(VOL,13) AND BARSCOUNT(V)>=13,NODRAW,COLORFFFFFF;
低量五十:VOL=LLV(VOL,50) AND BARSCOUNT(V)>=50,NODRAW,COLORFF9B37;
地量百日:VOL=LLV(VOL,100) AND BARSCOUNT(V)>=100,NODRAW,COLOR55AAFF;
STICKLINE(地量,0,正买负卖,0.8,0),COLORCA00CA;
STICKLINE(倍量,0,正买负卖,0.8,0),COLORYELLOW;
STICKLINE(平量,0,正买负卖,0.8,0),COLOR009F00;
STICKLINE(倍缩,0,正买负卖,1,0),COLOR9E3EFF;
STICKLINE(低量13,0,正买负卖,1,0),COLORFFFFFF;
STICKLINE(低量五十,0,正买负卖,1,0),COLORFF9B37;
STICKLINE(地量百日,0,正买负卖,1,0),COLOR55AAFF;