{虚拟量} TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL); CTIME:=IF(MTIME<0.5,TOTAL,MTIME); VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;{虚拟量}; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL/2,0,-1,-1),COLOR00C0C0;{虚拟量}; {==============================} {}量:VOL,VOLSTICK; 空心阴量:STICKLINE(C<O OR ( C<=O AND C<REF(C,1)),0,V,2.6,1),COLORFFFF80;{空心阴量} {量缩31} STICKLINE( REFX(V,1)<=(2*V)/3,V/2,V/2,2,0),COLORAF60FF; STICKLINE( REFX(V,1)<=(2*V)/3,(2*V)/3,(2*V)/3,1.2,1),COLORAF60FF; STICKLINE( REFX(V,1)<=(2*V)/3,V/3,V/3,1.2,1),COLORAF60FF; STICKLINE( REF(V,1)<=(2*V)/3,V/2,V/2,2,0),COLORAF60FF; STICKLINE( REF(V,1)<=(2*V)/3,(2*V)/3,(2*V)/3,1.2,1),COLORAF60FF; STICKLINE( REF(V,1)<=(2*V)/3,V/3,V/3,1.2,1),COLORAF60FF; |