X_1:=TIMETOSEC(MACHINEWEEK);
X_2:=IF(MACHINEWEEK>93000 AND MACHINEWEEK<150000,IF(MACHINEWEEK<113000,(X_1-34200)/60,IF(MACHINEWEEK>130000,(X_1-39600)/60,120)),240);
X_3:=240-X_2;
X_4:=IF(BARSTATUS=2 AND DYNAINFO(4)!=0 AND MACHINETIME=DATE,AMOUNT+MA(VOL,5)*CLOSE*100*X_3/240,AMOUNT);
X_5:=IF(X_4<FINANCE(40),X_4,AMOUNT);
X_6:=COUNT(TRADEOUTNUM>0,0);
X_7:=MIN(X_6,30);
X_8:=MIN(X_6,N);
X_9:=L2_VOL(0,0)/VOL*X_5/100;
X_10:=L2_VOL(0,1)/VOL*X_5/100;
X_11:=EMA(X_9,X_7);
X_12:=EMA(X_10,X_7);
X_13:=X_9/X_11;
X_14:=X_10/X_12;
X_15:=X_13>X_14;
X_16:=X_13<=1;
X_17:=X_15 AND X_16;
X_18:=X_13<=X_14;
X_19:=X_18 AND X_16;
X_20:=X_13>=3;
X_21:=X_15 AND X_20;
X_22:=X_18 AND X_20;
X_23:=BETWEEN(X_13,1,3);
X_24:=X_15 AND X_23;
X_25:=X_18 AND X_23;
超大买增量:X_9/X_11,NODRAW,COLOR1EC8E6;
超大卖增量:X_10/X_12,NODRAW,COLORGREEN;
N日飘红:COUNT(X_13>1,N),NODRAW,COLORRED;
N日飘紫:COUNT(X_13>3,N),NODRAW,COLORD15DD0;
N日增量:COUNT(X_15 AND X_13>=1,N),NODRAW;
爆发线:3,DOTLINE,COLORMAGENTA;
强势线:2,DOTLINE,COLORWHITE;
生命线:1,DOTLINE,COLORGREEN;
STICKLINE(X_17,0,X_14,2,0),COLORWHITE;
STICKLINE(X_17,X_14,X_13,2,0),COLOR1EC8E6;
STICKLINE(X_19,0,X_13,2,0),COLORWHITE;
STICKLINE(X_19,X_13,X_14,2,1),COLORGREEN;
STICKLINE(X_21,X_14,X_13,2,0),COLOR1EC8E6;
STICKLINE(X_21,0,X_14,2,0),COLORMAGENTA;
STICKLINE(X_22,0,X_13,2,0),COLORMAGENTA;
STICKLINE(X_22,X_13,X_14,2,1),COLORGREEN;
STICKLINE(X_24,0,X_14,2,0),COLORRED;
STICKLINE(X_24,X_14,X_13,2,0),COLOR1EC8E6;
STICKLINE(X_25,X_13,X_14,2,1),COLORGREEN;
STICKLINE(X_25,0,X_13,2,0),COLOR0E0EFF;