【vol能量指标公式】
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;
启动线: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
0,COLORRED;
{预测成交量}
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,'白烛建仓★黄烛加仓★粉烛操盘★红多绿空☆蓝烛清仓☆尾绿出货☆ 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日均量线是主力洗盘线,不同个股不同设置};
DRAWICON(CROSS(MA5, MA10),MA5,1);
DRAWICON(CROSS(MA10, MA5),MA10,2);
H1:CONST(HHV(V,13))DOTLINE,COLORWHITE;
从基本的源码公式走势中,可以看出其中主要的走势是阶段性的地量、启动线、洗盘线、成交量的走势形态以及倍量、缩量等等的形态都会从基本的图形中进行显示,具体的内容可以从图中获得,投资者可以仔细的研读。
【vol量能观测指标】
A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;
实际量:VOL,LINETHICK0;
{VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
预测:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2)/10000;
预测量: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(主买>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),'★关注'),COLORYELLOW;
表现的是量能的实际变化和预测的能力走势,以及换手率和资金异动的走势形态,在图中的走势形态会提示投资者需要仔细关注的点位。
【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;
今天资金进出:(主买+散买)-(主卖+散卖),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(今天资金进出>0,今天资金进出*1.003,今天资金进出,2.5,0),COLORYELLOW;
STICKLINE(今天资金进出<0,今天资金进出*0.98,今天资金进出,2.5,0),COLORBLUE;
0,COLORGRAY;
V5:MA(AMOUNT,5);
V20:MA(AMOUNT,20);
该源码中,主要讲解的是在实战中的买卖技巧以及散户买卖的资金进出情况,以及资金的流动方向,来分析主力的走势变化,以及实战中的操作形态。
【vol分时图公式】
AMOUNT/V/100,COLORYELLOW;
现价:CLOSE,COLORWHITE,LINETHICK2;
成交量:VOL,NODRAW;
PK2:VAR2STR(V,0),NODRAW;
DRAWTEXT(V>=1000,现价,PK2),COLORGREEN;
在分时图中的走势主要是量峰结构的走势变化,有最大值和最小值,也可以根据其量值的变化,选择股票的买卖点位置和后期的走势预测。
以上就是本文讲解的关于股市交易中的成交量指标的实战源码公式以及操作技巧,如果您还想要了解更多的股市技术指标公式,请关注赢家财富网,或者是点击股票分析指标大全。
上一篇:DDY涨跌动因指标+筹码DDY公
下一篇:大单分差指标ddz如何解析资
服务中心:郑州市金水区农业路经三路
邮编:450002 网址:www.yingjia360.com
销售热线:0371-65350319
技术支持:13333833889