公式名稱:虛擬量 用法:無(wú)任何提示買賣,只是直觀描敘,下面成交量,上方疊加凈流入,主買主賣方框,紫色成交量代表陰線且收盤價(jià)大于昨收盤價(jià).. 趨勢(shì)是王道,資金是輔助,下圖數(shù)據(jù)是5檔的資金數(shù)據(jù),招商資金站點(diǎn),和高級(jí)數(shù)據(jù)對(duì)比了下,基本一致.. 運(yùn)行環(huán)境:5.83及以上本壇的特別版(可以登錄5檔資金站點(diǎn))即可。 漲家:INDEXADV,NODRAW,COLORLIRED; 跌家:INDEXDEC,NODRAW,COLORLIBLUE; 套盤:=(1-WINNER(C))*100,COLORGREEN,NODRAW; 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; 虛擬換:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME/CAPITAL*100,DRAWNULL),COLORGREEN,NODRAW; 換手:VOL/CAPITAL*100,POINTDOT,NODRAW,COLORMAGENTA; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0; 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=L2_AMO(0,3)/10000.0; 大S:=L2_AMO(1,3)/10000.0; 中S:=L2_AMO(2,3)/10000.0; 小S:=L2_AMO(3,3)/10000.0; 凈流入:(超B+大B+中B+小B)-(超S+大S+中S+小S),NODRAW; N:=30; ZJD:=HHV(凈流入,N); ZJX:=LLV(凈流入,N); CJ:=HHV(V,N); BEIS:=CJ/(ZJD-ZJX); 值:=CONST(CJ+ABS(ZJX)*BEIS); STICKLINE(凈流入>0 ,值,值+凈流入*BEIS,2,0),COLOR0000AA; STICKLINE(凈流入<=0 ,值,值+凈流入*BEIS,2,0),COLOR00AA00; DRAWTEXT(ISLASTBAR=1 AND 凈流入<=0,值*1.12,' 凈流入'),COLORGREEN; DRAWTEXT(ISLASTBAR=1 AND 凈流入>0,值*0.88,' 凈流入'),COLORRED; VOLUME:VOL,VOLSTICK; V1:=MA(VOLUME,5); V2:=MA(VOLUME,10); V3:=MA(VOLUME,30); {空中加油} STICKLINE(C<O AND C>REF(C,1),0,V,2,0),COLORMAGENTA;
量1:V1,COLORWHITE; 量2:=V2,COLORYELLOW; 量3:=V3,COLORGREEN; 主買A:=ACTINVOL,COLORRED,NODRAW; 主賣A:=ACTOUTVOL,COLORGREEN,NODRAW; 主買:主買A*100/(主買A+主賣A),NODRAW,COLORRED; 主賣:主賣A*100/(主買A+主賣A),NODRAW,COLORGREEN; XX:=CONST(主買*500/(主買+主賣)+50),NODRAW; DRAWRECTREL(50,0,CONST(主買*500/(主買+主賣)+50),120,RGB(230,65,0)); DRAWRECTREL(50,150,CONST(主賣*500/(主買+主賣)+50),270,RGB(0,104,0)); DRAWTEXT_FIX(CURRBARSCOUNT=1,0.005,0,0,'主買'),COLORLIRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.005,0.170,0,'主賣'),COLORGREEN; DRAWNUMBER_FIX(CURRBARSCOUNT=1,CONST(主買*500/(主買+主賣)+55)/1000,0.001,0,ROUND(主買)); DRAWNUMBER_FIX(CURRBARSCOUNT=1,CONST(主賣*500/(主買+主賣)+55)/1000,0.170,0,ROUND(主賣));
|