WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,vol*240/FROMOPEN,DRAWNULL);
VOLUME:VOL/10000,POINTDOT;
VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN)/10000);
买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
买线:(买/卖)*10000000,COLORWHITE,LINETHICK1;
{- }
平均线:MA(买线,10),COLORLIMAGENTA;
DRAWICON(crOSS(买线,平均线),买线,1);