m1:MA(C,BARPOS/250),COLORWHITE;
M2:MA(C,BARPOS/75),COLORYELLOW;
m3:MA(C,BARPOS/25),COLORMAGENTA;
m4:MA(C,BARPOS/10),COLORGREEN;
m5:MA(C,BARPOS/5),COLORFFC0FF;
相对成本:=MA(C,BARPOS),COLORFFC0FF;
绝对成本:IF(STKTYPE=0,相对成本,SUM(AMOUNT,BARPOS)/(SUM(V,BARPOS)*100)),COLORRED;