X_1:=IF(AMOUNT>=FINANCE(40)*0.05/100 AND DCLOSE>=DOPEN,AMOUNT/10000,0);
X_2:=IF(AMOUNT>=FINANCE(40)*0.05/100 AND DCLOSE<=DOPEN,AMOUNT/10000,0);
X_3:=IF(AMOUNT>=FINANCE(40)*0.025/100 AND AMOUNT<FINANCE(40)*0.05/100 AND DCLOSE>=DOPEN,AMOUNT/10000,0);
X_4:=IF(AMOUNT>=FINANCE(40)*0.025/100 AND AMOUNT<FINANCE(40)*0.05/100 AND DCLOSE<=DOPEN,AMOUNT/10000,0);
X_5:=IF(AMOUNT>=FINANCE(40)*0.005/100 AND AMOUNT<FINANCE(40)*0.025/100 AND DCLOSE>=DOPEN,AMOUNT/10000,0);
X_6:=IF(AMOUNT>=FINANCE(40)*0.005/100 AND AMOUNT<FINANCE(40)*0.025/100 AND DCLOSE<=DOPEN,AMOUNT/10000,0);
X_7:=IF(AMOUNT<FINANCE(40)*0.005/100 AND DCLOSE>=DOPEN,AMOUNT/10000,0);
X_8:=IF(AMOUNT<FINANCE(40)*0.005/100 AND DCLOSE<=DOPEN,AMOUNT/10000,0);
X_9:=SUM(X_1,0)-SUM(X_2,0)+(SUM(X_3,0)-SUM(X_4,0))+(SUM(X_5,0)-SUM(X_6,0))+(SUM(X_7,0)-SUM(X_8,0));
X_10:=X_9;
X_11:=SUM(X_1,0)-SUM(X_2,0)+(SUM(X_3,0)-SUM(X_4,0));
超:SUM(X_1,0)-SUM(X_2,0),COLORYELLOW;
大:SUM(X_3,0)-SUM(X_4,0),COLORMAGENTA;
中:SUM(X_5,0)-SUM(X_6,0),COLORGREEN;
X_12:=SUM(X_7,0)-SUM(X_8,0);
X_13:=SUM(IF(CLOSE>REF(CLOSE,1),vol/CAPITAL*100,IF(CLOSE<REF(CLOSE,1),(-VOL)/CAPITAL*100,0)),0);
X_14:=VOL*CLOSE/100;
X_15:=SUM(IF(X_14/8>20 AND CLOSE>REF(CLOSE,1),X_14,0),0);
X_16:=SUM(IF(X_14/8>20 AND CLOSE<REF(CLOSE,1),X_14,0),0);
X_17:=SUM(IF(X_14/8<20 AND CLOSE>REF(CLOSE,1),X_14,0),0);
X_18:=SUM(IF(X_14/8<20 AND CLOSE<REF(CLOSE,1),X_14,0),0);
X_19:=X_15+X_16+X_17+X_18;
X_20:=IF(ISLAstBAR,100*X_15/X_19,0);
X_21:=IF(ISLASTBAR,100*X_16/X_19,0);
X_22:=IF(ISLASTBAR,100*X_17/X_19,0);
X_23:=IF(ISLASTBAR,100*X_18/X_19,0);
X_24:=X_15;
X_25:=X_16;
机:超+大,NODRAW,COLORRED;
净:超+大+中,NODRAW,COLORYELLOW;
进出:X_24-X_25,COLORRED,LINETHICK3;