{参数1: N, 最小: 1, 最大: 1000, 缺省: 10}
N:=10;
X_1:=BARSLAST(CROSS(CLOSE,MA(CLOSE,N)));
X_2:=VOL<=HHV(VOL,6)/2 AND EVERY(CLOSE>MA(CLOSE,N),X_1) AND LLV(CLOSE,1)>MA(CLOSE,N);
X_3:=VOL>REF(VOL,1) AND VOL<LLV(VOL,5)*5 AND CLOSE>OPEN;
X_4:=VOL>=LLV(VOL,5)*5 AND CLOSE>OPEN;
X_5:=VOL!=X_4 OR VOL!=X_2 OR VOL!=X_3;
STICKLINE(X_5,0,VOL,2,1),COLORLIGRAY;
STICKLINE(X_4,0,VOL,2,0),COLORMAGENTA;
STICKLINE(X_2,0,VOL,2,0),COLORGREEN;
STICKLINE(X_3,0,VOL,2,0),COLORRED;
成交量:VOL,NODRAW;