通达信公式源码概况:
指标类别:通达信公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
1、量价齐升:
随着股价的走高,成交量也随之放大,呈现出量增加增的形态,属于非常健康安全的状态。这样的个股买入者不断增多,成交量也持续放大,股价被不断的推升。
2、放量下跌:
随着股价的下跌,成交量跟着放大,一般出现于下降通道,处于主力出货阶段。这也意味着卖出筹码较多,抛盘严重,这种形态的短线风险很大!
3、缩量上涨:
缩量上涨也就是量价背离,股价上涨但成交量缩小。一般有两种情况,短线风险很大:
若股价继续上涨并伴随着量增,属于惜售现象,筹码集中,主力高度控盘;
成交量继续缩量,股价高位滞涨,属于顶背离,此时要注意市场风险,以免高位套牢。
4、缩量下跌:
成交量缩小,股价下跌,一般属于洗盘形态:
上升通道中的短线洗盘形态;
下降通道中的中线调整洗盘。
5、量平价跌:
一般出现在下降通道,属于底背离,成交量不再放量,股价不断下跌。
6、量增价平:
另一种背离现象,成交量增大,但股价却不涨。一般会出现两种情况:
主力对倒——自买自卖,后期一般都会大跌。
底部震荡吸筹——股价横盘震荡,但成交量却经常性的放大
7、量缩价平(缩量横盘):
与量评价涨相反,成交量缩小,但股价不跌。当股价处于横盘震荡,量缩价平时,往往会出现两种情况:
缩量横盘式洗盘——当股价处于上升通道,出现量缩价平时,往往是主力在洗盘。一旦股价突破箱体上沿,就会是涨停板;
主力出货形态——当股价处于高位,并处于震荡通道,伴随着成交缩小,很可能就是主力在出货。一旦股价跌破箱体下沿,暴跌也就开始了。
8、量平价增:
缩量上涨,短线强庄做盘!!股价在缩量的情况下,股价持续上涨,代表主力控制市场人气较好,显示出主力的控盘能力很强。
通达信成交量黄金柱指标公式-通达信公式 公式源码
N1:=5;N2:=55;
总手:vol;
MA5:MA(VOL,N1),coloryellow,LINETHICK2;
MA55:MA(VOL,N2),colormagenta,LINETHICK2;
DRAWICON(CROSS(MA5,MA55),V,2);
SELECTCROSS(MA5,MA55);
量比:(VOL*(TRADETIME+1))/(FIVEDAYVOL/5*(FROMOPEN+1));
换手:VOL/CAPITAL*100;
换5:MA(换手,5);
换和10:SUM(换手,10);
换20:=MA(换手,20);
多空量:(MA(V,6)+MA(V,13)+MA(V,26))/3;
上限:多空量*1.382;
下限:多空量*0.618;
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
总量:买量+卖量,LINETHICK0;
净量:买量-卖量,LINETHICK0;
MAA:=MA(CLOSE,2);
STICKLINE(C>MAA,总量,1,4,1),COLOR00FFFF;
STICKLINE(C<MAA,总量,1,4,1),COLORFF00FF;
STICKLINE(净量<0,1,总量,4,1),COLORFFFF00;
STICKLINE(C<MAAAND净量>0,净量,1,4,1),COLOR0000FF;
STICKLINE(V>=2*REF(V,1),1,总量,4,1),COLOR0000FF;
STICKLINE(总量>1,总量,0,3,0),COLORFF3300;
STICKLINE(总量>1,总量,0,2,0),COLORFF7700;
STICKLINE(总量>1,总量,0,1,0),COLORFFAA00;
STICKLINE(总量>1,总量,0,0.1,0),COLORFFFF00;
STICKLINE(买量>0,0,买量,3,0),COLOR000099;
STICKLINE(买量>0,0,买量,2,0),COLOR0000AA;
STICKLINE(买量>0,0,买量,1,0),COLOR0000FF;
STICKLINE(买量>0,0,买量,0.1,0),COLORCC00FF;
STICKLINE(净量>0,0,净量,3,0),COLOR0033FF;
STICKLINE(净量>0,0,净量,2,0),COLOR0077FF;
STICKLINE(净量>0,0,净量,1,0),COLOR00BBFF;
STICKLINE(净量>0,0,净量,0.1,0),COLOR00FFFF;
STICKLINE(净量<0,1,净量,4,1),COLORFFFF00;
STICKLINE(净量<0,0,净量,3,0),COLOR005500;
STICKLINE(净量<0,0,净量,2,0),COLOR009900;
STICKLINE(净量<0,0,净量,1,0),COLOR00BB00;
STICKLINE(净量<0,0,净量,0.1,0),COLOR00FF00;
STICKLINE(C<MAAAND净量>0,净量,0,3,0),COLOR777777;
STICKLINE(C<MAAAND净量>0,净量,0,2,0),COLOR999999;
STICKLINE(C<MAAAND净量>0,净量,0,1,0),COLORBBBBBB;
STICKLINE(C<MAAAND净量>0,净量,0,0.1,0),COLORFFFFFF;
P1:=5;
ma135:=MA(vol,135);
TJ1:=VOL=HHV(VOL,10)ANDVOL>1.7*REF(VOL,1)ANDC>=REF(C,1)ANDC>=OANDVOL<=MA135*3.5;
LJL:=FILTER(TJ1,3);
TJ3:=IF(BArslAst(LJL)=1ANDCLOSE>REF(LOW,3),1,0);
ST:=TJ3=1;
CL:=FILTER(ST,3);
STICKLINE(C,REF(L,BARSLAST(CL)),REF(L,BARSLAST(CL)),2,0),COLORYELLOW;
STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),2,0),COLORCYAN;
STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWTEXT(LJL,L*0.99,'支撑'),COLORF00FF0;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01||DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01)&&JJJ>(DYNAINFO(6)-0.01)));
cyc1:IF(JJJT,0.01*expma(AMOUNT,P1)/EXPMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1));
【手】:VOL,NODRAW,VOLSTICK;
额【亿】:AMOUNT/100000000,NODRAW;
流通:CAPITAL/1000000,NODRAW;
成交流通比:AMOUNT/CAPITAL/100,NODRAW;
涨家数:INDEXADV,COLOR0000EE,NODRAW;
跌家数:INDEXDEC,COLOR00EE00,NODRAW;
大盘成交:INDEXV,COLOR00EEEE,NODRAW;
A1:=Ema(C,12)-EMA(C,25);
A2:=EMA(A1,6);
★主力:(A2>=0)*A2,COLORWHITE,LINETHICK0;
stICKLINE(A2>=0,A2,0,5,0),COLORWHITE;
STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F;
STICKLINE(A1<0,A1,0,5,0),COLORB00058;
STICKLINE(A1>=0,A1,0,5,0),COLORRED;
VAR8:=vol>2*MA(VOL,30);
VAR9:="dmi.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30)ANDCLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BArslAST(crOSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
★机构:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,5)AND★机构<-10,50,0,15,1),COLORYELLOW;
STICKLINE(FILTER(VARF=1,5),86,0,8,0),COLORRED;
DRAWTEXT(FILTER(VARF=1,3),76,'★◆黄金柱◆'),COLORYELLOW;
STICKLINE(★机构<-10,0,★机构,0.85,0),COLORGREEN;
STICKLINE(★机构>10,0,★机构,0.95,0),COLORYELLOW;
★低点:CROSS(rsi,11)*80,COLORBLUE;
DRAWTEXT(★低点,39,'★低点'),COLOR66FFCC;
VAR6:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR7:=SMA(Abs(VAR6-H),13,1)/SMA(MAX(VAR6-H,0),10,1);
VAR0:=EMA(IF(H>=VAR9,VAR8,0),3);
★主出场:IF(VAR0>REF(VAR0,1),-VAR0+100,100),COLORGREEN;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10),COLORGREEN;
VAR4:=LLV(LOW,33),COLORWHITE;
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
★主进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED;
HL10:=WINNER(C/1.1)*V;
STICKLINE(((C/1.1)*V),HL10,0,0.1,0),COLOR00DD00;
HL20:=WINNER(C/1.2)*V;
STICKLINE(((C/1.2)*V),HL20,0,0.1,0)COLOR00DDDD;
HL30:=WINNER(C/1.3)*V;
STICKLINE(((C/1.3)*V),HL30,0,0.1,1),COLORDD0000;
[源码注释]通达信公式动态翻译结果
输出XG:当前流通股本(手)/1000000<1
评论(0)