首页 > 股票投资 > 股票技术指标公式 > 正文

【股票公式】换手率量柱与柱线指标公式

来源:【赢家江恩】责任编辑:fanxiaonan添加时间:2016-08-18 09:44:37
  换手率是反映股票流通性强弱的一个技术指标,也是股票买卖方法中的一种评判标准,但是在实战的使用中,我们还可以结合量柱与柱线的源码公式进行分析,换手率的变化,做好股票走势的判断,如果您想要了解更多的源码,那么我们就一起来研究吧。

  (本文主要从三个方面进行换手率指标公式的分析,量柱换手率——换手率柱线——四象换手率)

  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;

  震动调整:=(买盘 + 卖盘);

  倍率:买盘/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;

换手率柱线

  从中依据柱线的走势变化,我们能够发现,成交量的变化形式有绝对地量、成交低迷、温和放大、温和缩小等等不同的表现形式。而其柱线的大小与形态变化也是不同的,投资者可以依据其柱线的变化,进行分析。

  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;

四象换手率

  从以上的源码中我们能够获得的是一个基本的走势图形,其下方的成交量变化,显示了换手率的强弱,如果您还想要了解更多的股市指标公式,请点击股票公式,学习更多的股票技术知识!

郑州亨瑞软件开发有限公司
版权所有

服务中心:郑州市金水区农业路经三路
邮编:450002 网址:www.yingjia360.com

销售热线:0371-65350319
技术支持:13333833889

注册下载;