{天量地量}
M1(1,100,5) M2(1 100 60) N(1 100 30) M(1 100 33)
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
AA:=SUMBARS(VOL,CAPITAL);
地量:IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL MA(VOL,AA)*N/100 AND VOL 0) ,LINETHICK0;
天量:IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL MA(VOL,AA)*M/10 ),NODRAW;
STICKLINE(地量,VOL,0,3,0),COLORYELLOW;
STICKLINE(天量,VOL,0,3,0),COLORRED;