总成交:=VOL;
超B:=L2_VOL(0,0);
大B:=L2_VOL(1,0);
大量:=超B+大B;
X_3 := COUNT(TRADEOUTNUM>0,0);
X_4 := MIN(X_3,30);
X_5 := MIN(X_3/3,120);
X_6:=大量/总成交;
资金活跃度:3*X_6*V/CAPITAL*100,NODRAW;
X_7 := X_6-EMA(X_6,X_5);
X_1 := EMA(X_7,X_4)*X_4;
X_2 := MA(X_1,5);
X_8 := X_1-X_2;
X_9 := X_8>0;
X_10 := X_8<=0;
X_11 := X_7>0;
X_12 := X_11 AND X_9;
X_13 := 资金活跃度<=6;
STICKLINE(X_12 AND X_13,0,资金活跃度,2,0),COLOR0000FF;
X_14 := X_11 AND X_10;
STICKLINE(X_14 AND X_13,0,资金活跃度,2,1),COLOR0000FF;
X_15 := 资金活跃度>6;
X_16 := X_12 AND X_15;
STICKLINE(X_16,6,资金活跃度,2,0),COLORFF00FF;
X_17 := X_14 AND X_15;
STICKLINE(X_17,6,资金活跃度,2,1),COLORFF00FF;
X_18 := X_7<=0;
X_19 := X_18 AND X_9;
STICKLINE(X_19 AND X_13,0,资金活跃度,2,1),COLOR00FF00;
X_20 := X_18 AND X_10;
STICKLINE(X_20 AND X_13,0,资金活跃度,2,0),COLOR00FF00;
X_21 := X_19 AND X_15;
STICKLINE(X_21,6,资金活跃度,2,1),COLOR00FF00;
X_22 := X_20 AND X_15;
STICKLINE(X_22,6,资金活跃度,2,0),COLOR00FF00;
STICKLINE(X_21,0,6,2,1),COLOR00FF00;
STICKLINE(X_22,0,6,2,0),COLOR00FF00;
STICKLINE(X_16,0,6,2,0),COLOR0000FF;
STICKLINE(X_17,0,6,2,1),COLOR0000FF;
生命线 : 1.56,COLORBLUE,DOTLINE;
强势线 : 3,COLOR0000FF,DOTLINE;
爆发线 : 6,COLORFF00FF,DOTLINE;
选红柱 : X_7>(0),COLOR000000,LINETHICK0;
X_23 := CROSS(X_8,0);
选红实柱 : X_11 AND X_23,COLOR000000,LINETHICK0;
选紫柱 : X_11 AND X_15,COLOR000000,LINETHICK0;
选红转紫 : X_11 AND CROSS(资金活跃度,6),COLOR000000,LINETHICK0;
选红虚线 : CROSS(X_8,0),COLOR000000,LINETHICK0;