【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);
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;
啟動(dòng)線:MA(VOLUME,5)COLORYELLOW;
洗盤(pán)線:MA(VOLUME,35)COLORMAGENTA;
異動(dòng)線:MA(VOLUME,135)COLORGREEN;
A:=(啟動(dòng)線 CROSS 洗盤(pán)線);
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買(mǎi):=BUYVOL;
賣(mài):=SELLVOL;
主動(dòng)買(mǎi):=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE
主買(mǎi):主動(dòng)買(mǎi)/10000,COLORRED,LINETHICK0;
主動(dòng)賣(mài):=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
主賣(mài):-主動(dòng)賣(mài)/10000,COLORGREEN,LINETHICK0;
參與度:主買(mǎi)/(主買(mǎi)+主賣(mài)),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
0,COLORRED;
{預(yù)測(cè)成交量}
VVOL1:=IF(CURRBARSCOUNT=1 AND PERIOD=5,V*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL1,0,-1,-1),COLOR00C0C0;
{柱體買(mǎi)賣(mài)}
DRAWTEXT_FIX(1,0.00,0,0,'白燭建倉(cāng)★黃燭加倉(cāng)★粉燭操盤(pán)★紅多綠空☆藍(lán)燭清倉(cāng)☆尾綠出貨☆ BY:CHH322')COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.05,0,'')COLOR00FF00;
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
成交:=VOL;
買(mǎi)盤(pán):=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
賣(mài)盤(pán):=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));
買(mǎi)賣(mài)差:=(買(mǎi)盤(pán) + 賣(mài)盤(pán));
STICKLINE((VOL > 0),VOL,0,3,1),COLORFFFFFF;
STICKLINE((買(mǎi)賣(mài)差 > 0),0,買(mǎi)賣(mài)差,3,0),COLOR0000FF;
STICKLINE((買(mǎi)賣(mài)差 < 0),0,買(mǎi)賣(mài)差,1,0),LINETHICK1,COLOR66FF00;
量比1:=(VOL / MA(VOL,5));
VAR10:=買(mǎi)盤(pán);
VAR20:=賣(mài)盤(pán);
JX1:=BARSSINCE(買(mǎi)盤(pán));
JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);
JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);
VAR30:=MA(VOL,JY2);
動(dòng)神:=買(mǎi)盤(pán);
鬼力:=VAR20;
神比:=(動(dòng)神 / 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,動(dòng)神) + 動(dòng)神) / 2);
VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,動(dòng)神) + 動(dòng)神) / 2);
VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,動(dòng)神) + 動(dòng)神) / 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;
加倉(cāng):STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,3,0),COLOR00FFFF;
減倉(cāng):STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,3,0),COLORFF0000;
洗盤(pán):STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,3,0),COLORFFFFFF;
高賣(mài):STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,3,0),COLORFF00FF;
相對(duì)地量:=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;
{畫(huà)線}
趨勢(shì):VOL,NODRAW;
MA5:MA(V,5),COLORWHITE; {5日均量線是主力啟動(dòng)線}
MA10:MA(V,10),COLORYELLOW;{10日均量線是主力洗盤(pán)線,不同個(gè)股不同設(shè)置};
DRAWICON(CROSS(MA5, MA10),MA5,1);
DRAWICON(CROSS(MA10, MA5),MA10,2);
H1:CONST(HHV(V,13))DOTLINE,COLORWHITE;
從基本的源碼公式走勢(shì)中,可以看出其中主要的走勢(shì)是階段性的地量、啟動(dòng)線、洗盤(pán)線、成交量的走勢(shì)形態(tài)以及倍量、縮量等等的形態(tài)都會(huì)從基本的圖形中進(jìn)行顯示,具體的內(nèi)容可以從圖中獲得,投資者可以仔細(xì)的研讀。
【vol量能觀測(cè)指標(biāo)】
A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;
實(shí)際量:VOL,LINETHICK0;
{VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
預(yù)測(cè):=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2)/10000;
預(yù)測(cè)量:STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2),VAR1,0,7,1),COLORGRAY;}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主買(mǎi):IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
主賣(mài):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(主買(mǎi)>0,0,主買(mǎi),2.5,0),COLORRED;
STICKLINE(主賣(mài)<0 ,0,主賣(mài),2.5,0),COLORGREEN;
資金異動(dòng):VOL/MA(VOL,55)*100,COLORYELLOW;
STICKLINE(資金異動(dòng)>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;
表現(xiàn)的是量能的實(shí)際變化和預(yù)測(cè)的能力走勢(shì),以及換手率和資金異動(dòng)的走勢(shì)形態(tài),在圖中的走勢(shì)形態(tài)會(huì)提示投資者需要仔細(xì)關(guān)注的點(diǎn)位。
【vol捕捉莊家】
成交額:AMOUNT,LINETHICK0;
STICKLINE(成交額,成交額,0,2.5,1),COLORGRAY;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
主買(mǎi):ABS(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,LINETHICK0;
主賣(mài):(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;
散買(mǎi):(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散賣(mài):ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主買(mǎi)賣(mài)差:=主買(mǎi)-主賣(mài),LINETHICK0;
散買(mǎi)賣(mài)差:=散買(mǎi)-散賣(mài),COLORRED,LINETHICK0;
STICKLINE(主買(mǎi)賣(mài)差>=0,0,主買(mǎi)賣(mài)差,2,0),COLORRED;
STICKLINE(主買(mǎi)賣(mài)差<0,0,主買(mǎi)賣(mài)差,2,0),COLORLIBLUE;
今天資金進(jìn)出:(主買(mǎi)+散買(mǎi))-(主賣(mài)+散賣(mài)),COLORWHITE,LINETHICK0;
STICKLINE(散買(mǎi)-散賣(mài)>0 AND 主買(mǎi)賣(mài)差>0,散買(mǎi)-散賣(mài)+主買(mǎi)賣(mài)差,主買(mǎi)賣(mài)差,2,0),COLORLIRED;
STICKLINE(散買(mǎi)-散賣(mài)>0 AND 主買(mǎi)賣(mài)差<0,散買(mǎi)-散賣(mài),0,2,0),COLORLIRED;
STICKLINE(散買(mǎi)-散賣(mài)<0 AND 主買(mǎi)賣(mài)差<0,散買(mǎi)-散賣(mài)+主買(mǎi)賣(mài)差,主買(mǎi)賣(mài)差,2,0),COLORLIGRAY;
STICKLINE(散買(mǎi)-散賣(mài)<0 AND 主買(mǎi)賣(mài)差>0,散買(mǎi)-散賣(mài),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);
該源碼中,主要講解的是在實(shí)戰(zhàn)中的買(mǎi)賣(mài)技巧以及散戶買(mǎi)賣(mài)的資金進(jìn)出情況,以及資金的流動(dòng)方向,來(lái)分析主力的走勢(shì)變化,以及實(shí)戰(zhàn)中的操作形態(tài)。
【vol分時(shí)圖公式】
AMOUNT/V/100,COLORYELLOW;
現(xiàn)價(jià):CLOSE,COLORWHITE,LINETHICK2;
成交量:VOL,NODRAW;
PK2:VAR2STR(V,0),NODRAW;
DRAWTEXT(V>=1000,現(xiàn)價(jià),PK2),COLORGREEN;
在分時(shí)圖中的走勢(shì)主要是量峰結(jié)構(gòu)的走勢(shì)變化,有最大值和最小值,也可以根據(jù)其量值的變化,選擇股票的買(mǎi)賣(mài)點(diǎn)位置和后期的走勢(shì)預(yù)測(cè)。
以上就是本文講解的關(guān)于股市交易中的成交量指標(biāo)的實(shí)戰(zhàn)源碼公式以及操作技巧,如果您還想要了解更多的股市技術(shù)指標(biāo)公式,請(qǐng)關(guān)注贏家財(cái)富網(wǎng),或者是點(diǎn)擊股票分析指標(biāo)大全。
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:hbzcqc.cn
銷(xiāo)售熱線:0371-65350319
技術(shù)支持:13333833889