(本文主要從三個(gè)方面進(jìn)行換手率指標(biāo)公式的分析,量柱換手率——換手率柱線——四象換手率)
1、量柱換手率
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
成交量:VOL,VOLSTICK;
換手:VOL/CAPITAL*100,COLORYELLOW,NODRAW;
低換手小于2:換手<2,COLORFFFF00,NODRAW;
溫和換手2到5:換手>2 AND 換手<5,COLORMAGENTA,NODRAW;
熱換手5到11:換手>5 AND 換手<11,COLORYELLOW,NODRAW;
燙手換手11到17:換手>11 AND 換手<17,COLORRED,NODRAW;
高潮換手大于17:換手>17,COLORGREEN,NODRAW;
{五日均換手:MA(換手,5);
十日均換手:MA(換手,10);}
VAR0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主買(mǎi):=IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSE
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
買(mǎi)盤(pán):=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
主買(mǎi)占%:買(mǎi)盤(pán)/VOL*100,COLORMAGENTA,NODRAW;
主賣:=IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
賣盤(pán):=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));
主賣占%:-賣盤(pán)/VOL*100,COLORGREEN,POINTDOT,NODRAW;
震動(dòng)調(diào)整:=(買(mǎi)盤(pán) + 賣盤(pán));
倍率:買(mǎi)盤(pán)/ABS(賣盤(pán)),COLORCYAN;
{畫(huà)柱線}
STICKLINE(換手<2,0,VOL,3,0),COLORFF4400;
STICKLINE(換手<2,0,VOL,1.8,0),COLORFF6600;
STICKLINE(換手<2,0,VOL,1.2,0),COLORFF9900;
STICKLINE(換手<2,0,VOL,0.6,0),COLORFFCC00;
STICKLINE(換手<2,0,VOL,0.3,0),COLORGREEN;
STICKLINE(換手>2 AND 換手<5,0,VOL,3,0)COLORFF0033;
STICKLINE(換手>2 AND 換手<5,0,VOL,1.8,0)COLORFF0066;
STICKLINE(換手>2 AND 換手<5,0,VOL,1.2,0)COLORFF0099;
STICKLINE(換手>2 AND 換手<5,0,VOL,0.6,0)COLORFF00CC;
STICKLINE(換手>2 AND 換手<5,0,VOL,0.3,0)COLORFF00FF;
STICKLINE(換手>5 AND 換手<11,0,VOL,3,0)COLOR0035FF;
STICKLINE(換手>5 AND 換手<11,0,VOL,1.8,0)COLOR0064FF;
STICKLINE(換手>5 AND 換手<11,0,VOL,1.3,0)COLOR0093FF;
STICKLINE(換手>5 AND 換手<11,0,VOL,0.8,0)COLOR00C2FF;
STICKLINE(換手>5 AND 換手<11,0,VOL,0.3,0)COLOR00FFFF;
STICKLINE(換手>11 AND 換手<17,0,VOL,3,0),COLOR000055;
STICKLINE(換手>11 AND 換手<17,0,VOL,2,0),COLOR000077;
STICKLINE(換手>11 AND 換手<17,0,VOL,1.8,0),COLOR000099;
STICKLINE(換手>11 AND 換手<17,0,VOL,1.5,0),COLOR0000BB;
STICKLINE(換手>11 AND 換手<17,0,VOL,0.9,0),COLOR0000DD;
STICKLINE(換手>11 AND 換手<17,0,VOL,0.3,0),COLOR0000FF;
STICKLINE(換手>17,0,VOL,3,0),COLOR006000;
STICKLINE(換手>17,0,VOL,2.1,0),COLOR007500;
STICKLINE(換手>17,0,VOL,1.8,0),COLOR009100;
STICKLINE(換手>17,0,VOL,1.3,0),COLOR00A600;
STICKLINE(換手>17,0,VOL,0.8,0),COLOR00BB00;
STICKLINE(換手>17,0,VOL,0.3,0),COLOR00CC00;
DRAWICON(換手>25,VOL,15);
{成交量均線}
MAVOL100:MA(VOL,100),COLORWHITE;
{MAVOL10:MA(VOL,10),COLORYELLOW;};
其中,換手率的大小不同,其對(duì)應(yīng)的成交量柱的顏色顯示的也是不同的,投資者在進(jìn)行觀察的時(shí)候,要注意其均線的走勢(shì)變化,做好其中的操作策略應(yīng)對(duì)。
2、換手率柱線
{}
DRAWGBK(O>=0,RGB(1,2,3),RGB(3,2,1),0,'0',0);
{}
STICKLINE(C>0,3,3,25,-1)COLORWHITE;
STICKLINE(C>0,7,7,25,-1)COLORWHITE;
STICKLINE(C>0,10,10,25,-1)COLORWHITE;
{}
換手率%:DYNAINFO(37)*100,VOLSTICK,COLORWHITE;
{STICKLINE(C>0,換手率%,0,0,-1)COLORLIRED;}
{}
STICKLINE(換手率%>15,換手率%,15,1.5,0)COLOR800080;
{}
DYNAINFO(37)*100,COLORYELLOW;
DYNAINFO(37)*100,COLORYELLOW,CIRCLEDOT;
{}
DRAWRECTREL(0,0,105,900,RGB(64,64,36))NOFRAME;
DRAWTEXT_FIX(C>0,0.005,0.00,0,'小于 1%,絕對(duì)地量'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.005,0.10,0,'1% — 2%,成交低靡'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.005,0.20,0,'2% — 3%,成交溫和'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.005,0.30,0,'3% — 5%,成交活躍'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.005,0.40,0,'5% — 8%,帶量'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.005,0.50,0,'8% — 15%,放量'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.005,0.60,0,'15% — 25%,巨量'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.005,0.70,0,'大于 25%,成交怪異'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.125,0.00,0,'大于15%,紫色柱線'),COLORMAGENTA;
{}
DRAWTEXT(ISLASTBAR,3,' ▇▇'),COLORBLACK;
DRAWTEXT(ISLASTBAR,7,' ▇▇'),COLORBLACK;
DRAWTEXT(ISLASTBAR,10,' ▇▇'),COLORBLACK;
DRAWTEXT(ISLASTBAR,3,' 3'),COLORWHITE;
DRAWTEXT(ISLASTBAR,7,' 7'),COLORWHITE;
DRAWTEXT(ISLASTBAR,10,' 10'),COLORWHITE;
從中依據(jù)柱線的走勢(shì)變化,我們能夠發(fā)現(xiàn),成交量的變化形式有絕對(duì)地量、成交低迷、溫和放大、溫和縮小等等不同的表現(xiàn)形式。而其柱線的大小與形態(tài)變化也是不同的,投資者可以依據(jù)其柱線的變化,進(jìn)行分析。
3、四象換手率
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;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,1,0),COLORYELLOW;
從以上的源碼中我們能夠獲得的是一個(gè)基本的走勢(shì)圖形,其下方的成交量變化,顯示了換手率的強(qiáng)弱,如果您還想要了解更多的股市指標(biāo)公式,請(qǐng)點(diǎn)擊股票公式,學(xué)習(xí)更多的股票技術(shù)知識(shí)!
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:efofrzj.cn
銷售熱線:0371-65350319
技術(shù)支持:13333833889