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

【股票指標(biāo)公式】Vol能量指標(biāo)公式源碼實戰(zhàn)解說

來源:【贏家江恩】責(zé)任編輯:fanxiaonan添加時間:2016-08-04 09:53:15
  在股市的行情分析中,量能是一個不可缺少的分析指標(biāo),而其專業(yè)的術(shù)語可以用vol表示,那么vol指標(biāo)的源碼公式在實戰(zhàn)中有哪些表現(xiàn)和操作應(yīng)用,不僅僅是日線圖中的成交量變化,還包含有分時圖中的量峰變化,具體的內(nèi)容從基本的源碼和圖形走勢進(jìn)行分析。

  【vol能量指標(biāo)公式】

  RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

  K:=SMA(RSV,5,1);

  D:=SMA(K,3,1);

  J:=3*K-2*D;

  STICKLINE(CROSS(J,7.6),HHV(V,20),0,2.38,0),LINETHICK4,COLORWHITE;

  STICKLINE(CROSS(J,7.6),HHV(V,20),0,1.5,1),LINETHICK4,COLORWHITE;

  AT:=IF(CAPITAL=0,AMOUNT/100000000,VOL/CAPITAL*100);

  ATM1:=EMA(AT,6);

  ATM2:=MA(AT,19);

  階段地量:=AT

  STICKLINE(階段地量,0,HHV(V,15),2.38,0),COLOR009900;

  STICKLINE(階段地量,0,HHV(V,15),0.35,0),COLOR00FF00;

  VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL)COLORWHITE,NODRAW;

  STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;

  VOLUME:VOL,VOLSTICK;

  啟動線:MA(VOLUME,5)COLORYELLOW;

  洗盤線:MA(VOLUME,35)COLORMAGENTA;

  異動線:MA(VOLUME,135)COLORGREEN;

  A:=(啟動線 CROSS 洗盤線);

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

  買:=BUYVOL;

  賣:=SELLVOL;

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

  主買:主動買/10000,COLORRED,LINETHICK0;

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

  主賣:-主動賣/10000,COLORGREEN,LINETHICK0;

  參與度:主買/(主買+主賣),LINETHICK0;

  WW:=VOL/REF(VOL,1)>2;

  GG:=C>O;

  STICKLINE ((WW AND GG) OR (C>REF(C,1) AND C=O AND WW),0,VOL,0.01225,0),COLORGREEN;

  QQ:=C

  STICKLINE ((WW AND QQ) OR (C

  0,COLORRED;

  {預(yù)測成交量}

  VVOL1:=IF(CURRBARSCOUNT=1 AND PERIOD=5,V*240/FROMOPEN,DRAWNULL),NODRAW;

  STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL1,0,-1,-1),COLOR00C0C0;

  {柱體買賣}

  DRAWTEXT_FIX(1,0.00,0,0,'白燭建倉★黃燭加倉★粉燭操盤★紅多綠空☆藍(lán)燭清倉☆尾綠出貨☆ BY:CHH322')COLORYELLOW;

  DRAWTEXT_FIX(1,0.00,0.05,0,'')COLOR00FF00;

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

  成交:=VOL;

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

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

  買賣差:=(買盤 + 賣盤);

  STICKLINE((VOL > 0),VOL,0,3,1),COLORFFFFFF;

  STICKLINE((買賣差 > 0),0,買賣差,3,0),COLOR0000FF;

  STICKLINE((買賣差 < 0),0,買賣差,1,0),LINETHICK1,COLOR66FF00;

  量比1:=(VOL / MA(VOL,5));

  VAR10:=買盤;

  VAR20:=賣盤;

  JX1:=BARSSINCE(買盤);

  JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);

  JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);

  VAR30:=MA(VOL,JY2);

  動神:=買盤;

  鬼力:=VAR20;

  神比:=(動神 / VAR30);

  鬼比:=(鬼力 / VAR30);

  VAR2:=(HIGH - LOW);

  VAR3:=ABS((OPEN - CLOSE));

  VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));

  VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);

  VAR6:=((VAR3 / VAR2) * VOL);

  VAR7:=((VAR4 / VAR2) * VOL);

  VAR8:=((VAR5 / VAR2) * VOL);

  VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));

  VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);

  VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));

  VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));

  VARD:=REF(CLOSE,1);

  VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);

  VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,動神) + 動神) / 2);

  VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,動神) + 動神) / 2);

  VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,動神) + 動神) / 2);

  VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);

  三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);

  三日下攻:=MA(VAR50,JY2);

  多頭:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;

  空頭:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),COLOR00FF00;

  STICKLINE((鬼力 > 0),鬼力,0,3,0),COLORFF3399;

  加倉:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,3,0),COLOR00FFFF;

  減倉:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,3,0),COLORFF0000;

  洗盤:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,3,0),COLORFFFFFF;

  高賣:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,3,0),COLORFF00FF;

  相對地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);

  {柱體加注}

  量:V,NODRAW;

  倍量:(V/REF(V,1)>=1.91 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.91),NODRAW,COLOR3366FF;

  低量:V<=REF(LLV(V,15),1),NODRAW,COLOR7FFF00;

  地量:V<=REF(LLV(V,100),1),NODRAW,COLORRED;

  平量:ABS(V-HHV(REF(V,1),5))/HHV(REF(V,1),5)<=0.03 OR ABS(V-REF(V,1))/REF(V,1)<=0.03,NODRAW,COLOR824173;

  倍縮:V<=REF(V,1)*0.5,NODRAW,COLOR5C3317;

  梯量:COUNT(V>REF(V,1),3)=3 AND COUNT(C>O,3)=3,NODRAW,COLOR9932CD;

  縮量漲:COUNT(C>REF(C,1),2)=2 AND COUNT(V

  DRAWTEXT(倍量,V*1.06,'倍'),COLOR3366FF;

  DRAWTEXT(低量,V*1.09,'低'),COLOR7FFF00;

  DRAWTEXT(地量,V*1.12,'地'),COLORRED;

  DRAWTEXT(平量,V*1.15,'平'),COLOR824173;

  DRAWTEXT(倍縮,V*1.06,'縮'),COLOR5C3317;

  DRAWTEXT(梯量,V*1.18,'梯'),COLOR9932CD;

  DRAWTEXT(縮量漲,V*1.21,'縮漲'),COLOR996600;

  STICKLINE(倍量,0,V,0.1,0),COLOR3366FF;

  STICKLINE(低量,0,V,0.1,0),COLOR7FFF00;

  STICKLINE(地量,0,V,0.1,0),COLORRED;

  STICKLINE(平量,0,V,0.1,0),COLOR824173;

  STICKLINE(倍縮,0,V,0.1,0),COLOR5C3317;

  STICKLINE(梯量,0,V,0.1,0),COLOR9932CD;

  STICKLINE(縮量漲,0,V,0.1,0),COLOR996600;

  {畫線}

  趨勢:VOL,NODRAW;

  MA5:MA(V,5),COLORWHITE; {5日均量線是主力啟動線}

  MA10:MA(V,10),COLORYELLOW;{10日均量線是主力洗盤線,不同個股不同設(shè)置};

  DRAWICON(CROSS(MA5, MA10),MA5,1);

  DRAWICON(CROSS(MA10, MA5),MA10,2);

  H1:CONST(HHV(V,13))DOTLINE,COLORWHITE;

vol能量指標(biāo)公式

  從基本的源碼公式走勢中,可以看出其中主要的走勢是階段性的地量、啟動線、洗盤線、成交量的走勢形態(tài)以及倍量、縮量等等的形態(tài)都會從基本的圖形中進(jìn)行顯示,具體的內(nèi)容可以從圖中獲得,投資者可以仔細(xì)的研讀。

  【vol量能觀測指標(biāo)】

  A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;

  實際量:VOL,LINETHICK0;

  {VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);

  VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;

  預(yù)測:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2)/10000;

  預(yù)測量:STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2),VAR1,0,7,1),COLORGRAY;}

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

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

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

  換手率%:VOL/CAPITAL*100,POINTDOT,COLORWHITE;

  STICKLINE(C>=REF(C,1) ,0,VOL,2.5,1),COLORRED;

  STICKLINE(C

  STICKLINE(主買>0,0,主買,2.5,0),COLORRED;

  STICKLINE(主賣<0 ,0,主賣,2.5,0),COLORGREEN;

  資金異動:VOL/MA(VOL,55)*100,COLORYELLOW;

  STICKLINE(資金異動>100 ,0,VOL,0.6,0),COLORYELLOW;

  MA5:MA(V,5),COLORWHITE;

  MA13:MA(V,13),COLORRED;

  DRAWTEXT(CROSS(MA5,MA13),(V *1.05),'★關(guān)注'),COLORYELLOW;

vol量能觀測指標(biāo)公式

  表現(xiàn)的是量能的實際變化和預(yù)測的能力走勢,以及換手率和資金異動的走勢形態(tài),在圖中的走勢形態(tài)會提示投資者需要仔細(xì)關(guān)注的點位。

  【vol捕捉莊家】

  成交額:AMOUNT,LINETHICK0;

  STICKLINE(成交額,成交額,0,2.5,1),COLORGRAY;

  JJ:=(HIGH+LOW+CLOSE)/3;

  QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);

  主買:ABS(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,LINETHICK0;

  主賣:(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;

  散買:(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;

  散賣:ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;

  主買賣差:=主買-主賣,LINETHICK0;

  散買賣差:=散買-散賣,COLORRED,LINETHICK0;

  STICKLINE(主買賣差>=0,0,主買賣差,2,0),COLORRED;

  STICKLINE(主買賣差<0,0,主買賣差,2,0),COLORLIBLUE;

  今天資金進(jìn)出:(主買+散買)-(主賣+散賣),COLORWHITE,LINETHICK0;

  STICKLINE(散買-散賣>0 AND 主買賣差>0,散買-散賣+主買賣差,主買賣差,2,0),COLORLIRED;

  STICKLINE(散買-散賣>0 AND 主買賣差<0,散買-散賣,0,2,0),COLORLIRED;

  STICKLINE(散買-散賣<0 AND 主買賣差<0,散買-散賣+主買賣差,主買賣差,2,0),COLORLIGRAY;

  STICKLINE(散買-散賣<0 AND 主買賣差>0,散買-散賣,0,2,0),COLORLIGRAY;

  STICKLINE(今天資金進(jìn)出>0,今天資金進(jìn)出*1.003,今天資金進(jìn)出,2.5,0),COLORYELLOW;

  STICKLINE(今天資金進(jìn)出<0,今天資金進(jìn)出*0.98,今天資金進(jìn)出,2.5,0),COLORBLUE;

  0,COLORGRAY;

  V5:MA(AMOUNT,5);

  V20:MA(AMOUNT,20);

vol捕捉莊家公式

  該源碼中,主要講解的是在實戰(zhàn)中的買賣技巧以及散戶買賣的資金進(jìn)出情況,以及資金的流動方向,來分析主力的走勢變化,以及實戰(zhàn)中的操作形態(tài)。

  【vol分時圖公式】

  AMOUNT/V/100,COLORYELLOW;

  現(xiàn)價:CLOSE,COLORWHITE,LINETHICK2;

  成交量:VOL,NODRAW;

  PK2:VAR2STR(V,0),NODRAW;

  DRAWTEXT(V>=1000,現(xiàn)價,PK2),COLORGREEN;

vol分時圖指標(biāo)公式

  在分時圖中的走勢主要是量峰結(jié)構(gòu)的走勢變化,有最大值和最小值,也可以根據(jù)其量值的變化,選擇股票的買賣點位置和后期的走勢預(yù)測。

  以上就是本文講解的關(guān)于股市交易中的成交量指標(biāo)的實戰(zhàn)源碼公式以及操作技巧,如果您還想要了解更多的股市技術(shù)指標(biāo)公式,請關(guān)注贏家財富網(wǎng),或者是點擊股票分析指標(biāo)大全

  

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

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

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

注冊下載;