超买:=IF((ISBUYORDER,AMOUNT =(FINANCE(40)*0.05/100))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
超卖:=IF((AMOUNT =(FINANCE(40)*0.05/100))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
大买:=IF(((ISBUYORDER,AMOUNT = (FINANCE(40)*0.025/100))AND(ISBUYORDER,AMOUNT (FINANCE(40)*0.05/100)))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
大卖:=IF(((AMOUNT =(FINANCE(40)*0.025/100))AND(AMOUNT (FINANCE(40)*0.05/100)))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
中买:=IF(((ISBUYORDER,AMOUNT = (FINANCE(40)*0.005/100))AND(ISBUYORDER,AMOUNT (FINANCE(40)*0.025/100)))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
中卖:=IF(((AMOUNT =(FINANCE(40)*0.005/100))AND(AMOUNT (FINANCE(40)*0.025/100)))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
散买:=IF((ISBUYORDER,AMOUNT (FINANCE(40)*0.005/100))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
散卖:=IF((AMOUNT (FINANCE(40)*0.005/100))AND(DCLOSE =DOPEN),AMOUNT/10000,0);
Z:=(SUM(超买,0)-SUM(超卖,0))+(SUM(大买,0)-SUM(大卖,0))+(SUM(中买,0)-SUM(中卖,0))+(SUM(散买,0)-SUM(散卖,0));
★总净(柱):Z,COLORSTICK;
★主净(黄):(SUM(超买,0)-SUM(超卖,0))+(SUM(大买,0)-SUM(大卖,0)),LINETHICK8,COLORYELLOW;
★超净(红):SUM(超买,0)-SUM(超卖,0),LINETHICK3,COLORRED;
★大净(粉):SUM(大买,0)-SUM(大卖,0),LINETHICK3,COLORMAGENTA;
★中净(蓝):SUM(中买,0)-SUM(中卖,0),LINETHICK2,COLORBLUE;
★散净(绿):SUM(散买,0)-SUM(散卖,0),LINETHICK2,COLORGREEN;