青娱乐福利在线2_五月丁香亚洲综合499EE_免费a级毛片又大又粗又黑_少妇夜夜爽夜夜春_99国产精品自在自在久久_亚洲精品AAA揭晓

首頁 > 股票投資 > 股票技術(shù)指標公式 > 正文

【股票公式】換手率量柱與柱線指標公式

來源:【贏家江恩】責任編輯:fanxiaonan添加時間:2016-08-18 09:44:37
  換手率是反映股票流通性強弱的一個技術(shù)指標,也是股票買賣方法中的一種評判標準,但是在實戰(zhàn)的使用中,我們還可以結(jié)合量柱與柱線的源碼公式進行分析,換手率的變化,做好股票走勢的判斷,如果您想要了解更多的源碼,那么我們就一起來研究吧。

  (本文主要從三個方面進行換手率指標公式的分析,量柱換手率——換手率柱線——四象換手率)

  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));

  主買:=IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSE

  VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));

  買盤:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));

  主買占%:買盤/VOL*100,COLORMAGENTA,NODRAW;

  主賣:=IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE

  賣盤:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));

  主賣占%:-賣盤/VOL*100,COLORGREEN,POINTDOT,NODRAW;

  震動調(diào)整:=(買盤 + 賣盤);

  倍率:買盤/ABS(賣盤),COLORCYAN;

  {畫柱線}

  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;};

量柱換手率

  其中,換手率的大小不同,其對應的成交量柱的顏色顯示的也是不同的,投資者在進行觀察的時候,要注意其均線的走勢變化,做好其中的操作策略應對。

  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%,絕對地量'),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ù)柱線的走勢變化,我們能夠發(fā)現(xiàn),成交量的變化形式有絕對地量、成交低迷、溫和放大、溫和縮小等等不同的表現(xiàn)形式。而其柱線的大小與形態(tài)變化也是不同的,投資者可以依據(jù)其柱線的變化,進行分析。

  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;

四象換手率

  從以上的源碼中我們能夠獲得的是一個基本的走勢圖形,其下方的成交量變化,顯示了換手率的強弱,如果您還想要了解更多的股市指標公式,請點擊股票公式,學習更多的股票技術(shù)知識!

鄭州亨瑞軟件開發(fā)有限公司
版權(quán)所有

服務中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:www.xinsheng8.com

銷售熱線:0371-65350319
技術(shù)支持:13333833889

注冊下載;