WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
換手:VOL/CAPITAL*100,POINTDOT;
十日換手:SUM(換手,10);
二十日換手:SUM(換手,20);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
{股旁網(wǎng)-股票公式網(wǎng)站 www.gupAng.com}
VOLUME:VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主買(mǎi):IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主賣(mài):IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(主買(mǎi)>0,0,主買(mǎi),2,0),COLORRED;
{STICKLINE(主賣(mài)>0,主買(mǎi),VOL,2,1),COLOR00FF80;}
STICKLINE(主買(mǎi)<REF(主買(mǎi),1)AND 主買(mǎi)>0,0,主買(mǎi),2,0),COLOR00FFFF;
V5:MA(VOLUME,5),LINETHICK3;
V10:MA(VOLUME,10),LINETHICK3;
V135:MA(VOLUME,135),LINETHICK3;
{DRAWICON(十日換手>30,-20000,1);}
DRAWICON(十日換手>80,-10000,23);
DRAWTEXT(CURRBARSCOUNT=40,HHV(V,80)*0.9,'10日換手>80出紅十字');
{DRAWICON(二十日換手>30,-40000,2);}
DRAWICON(二十日換手>80,-30000,17);
DRAWTEXT(CURRBARSCOUNT=80,HHV(V,80)*0.95,'20日換手>80出桔子'),COLOR00FFFF;
|