通达信公式源码概况:
指标类别:通达信公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
一、通达信换手率量价指标公式
连涨天数:BARSLASTCOUNT(C>REF(C,1));
连涨幅:IF(C>REF(C,1),(C-REF(C,连涨天数))/REF(C,连涨天数)*100,0);
换手:=V/CAPITAL*100;
大换手天:BARSLASTCOUNT(换手>4);
FJ1:1;FJ2:2;FJ3:3;FJ4:5;FJ5:8;FJ6:15;FJ7:25;
STICKLINE(C>0,FJ1,0,5,0),COLOR9F5F9F;
STICKLINE(C>0,FJ1,FJ2,5,0),COLOR545454;
STICKLINE(C>0,FJ2,FJ3,5,0),COLORD8BFD8;
STICKLINE(C>0,FJ3,FJ4,5,0),COLORLIRED;
STICKLINE(C>0,FJ4,FJ5,5,0),COLOR4F2F4F;
STICKLINE(C>0,FJ5,FJ6,5,0),COLORBC8F8F;
STICKLINE(C>0,FJ6,FJ7,5,0),COLOR4F4F2F;
HS:DYNAINFO(37)*100,LINETHICK2,COLORYELLOW;
DRAWTEXT(ISLASTBAR,1,'—1'),COLORGREEN;
DRAWTEXT(ISLASTBAR,2,'—2'),COLORGREEN;
DRAWTEXT(ISLASTBAR,3,'—3'),COLORGREEN;
DRAWTEXT(ISLASTBAR,5,'—5'),COLORGREEN;
DRAWTEXT(ISLASTBAR,8,'—8'),COLORGREEN;
DRAWTEXT(ISLASTBAR,15,'—15'),COLORGREEN;
DRAWTEXT(ISLASTBAR,25,'—25'),COLORGREEN;
DRAWTEXT(HS<FJ1ANDISLASTBAR,0.5,'—–地量'),COLORYELLOW;
DRAWTEXT(HS<FJ2ANDHS>=FJ1ANDISLASTBAR,HS,'—–低靡'),COLORMAGENTA;
DRAWTEXT(HS<FJ3ANDHS>=FJ2ANDISLASTBAR,HS,'—–温和'),COLORYELLOW;
DRAWTEXT(HS<FJ4ANDHS>=FJ3ANDISLASTBAR,HS,'—–活跃'),COLORRED;
DRAWTEXT(HS<FJ5ANDHS>=FJ4ANDISLASTBAR,HS,'—–带量'),COLORGREEN;
DRAWTEXT(HS<FJ6ANDHS>=FJ5ANDISLASTBAR,HS,'—–放量'),COLORMAGENTA;
DRAWTEXT(HS<FJ7ANDHS>=FJ6ANDISLASTBAR,HS,'—–巨量'),COLORGREEN;
DRAWTEXT(HS<100ANDHS>=FJ7ANDISLASTBAR,HS,'—–怪异'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40,0.5,'绝对地量'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,1.5,'成交低靡'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,2.5,'成交温和'),COLOR5C3317;
DRAWTEXT(CURRBARSCOUNT=40,4,'成交活跃'),COLOR5C3317;
DRAWTEXT(CURRBARSCOUNT=40,6.5,'成交带量'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,11.5,'成交放量'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40,20,'成交巨量'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=40,26,'成交怪异'),COLORYELLOW;
VC:=(REF(C,4)*REF(V,4)+REF(C,3)*REF(V,3)+REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4));
SQX:=(VC-MA(VC,14))*100;
DIF:MA(SQX,4),COLORWHITE;
DEA:EMA(DIF,5),COLORYELLOW;
macd:(DIF-DEA)*2,linethick0;
STICKLINE(macd>0andmacd>ref(macd,1),0,macd,8,0),COLORred;
STICKLINE(macd>0andmacd<ref(macd,1),0,macd,8,1),COLORred;
STICKLINE(macd<0andmacd<ref(macd,1),0,macd,8,0),COLORgreen;
STICKLINE(macd<0andmacd>ref(macd,1),0,macd,8,1),COLORgreen;
VAR1:=HHV(DEA,53);
VAR2:=LLV(DEA,55);
VAR3:=DEA-(DIF-DEA);
DEA高点延长线:IF(DIF>VAR1ANDDEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),LINEDOT,ColorEA91B5,LINETHICK1;
DEA低点延长线:IF(DIF<VAR2ANDDEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2),COLOR00FFFF,LINEDOT,LINETHICK1;
主流资金:=EMA(100*(C-LLV(LOW,21))/(HHV(H,21)-LLV(LOW,21)),3),colorred,LINETHICK2;
PARTLINE(主流资金,主流资金>REF(主流资金,1),RGB(250,10,10),主流资金<=REF(主流资金,1),RGB(250,250,250)),LINETHICK3;
非主流资金:=EMA(100*(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21)),3),colorgreen,LINETHICK2;
PARTLINE(非主流资金,非主流资金>REF(非主流资金,1),RGB(250,10,250),非主流资金<=REF(非主流资金,1),RGB(10,250,10)),LINETHICK2;
分界线:43,LINETHICK02,POINTDOT,ColorFF26FF;
压力线:78,LINETHICK02,POINTDOT,Color2FFFFF;
寻底线:10,LINETHICK02,POINTDOT,ColorFFFF11;
指标公式知识:
均线和均量线同时死叉卖出方法
成交量卖出形态:均线和均量线同时死叉
形态简介:
当股价见顶下跌,均线指标出现死叉的同时,如果成交量也持续萎缩,形成了均量线的死叉形态,就说明在股价加速下跌的同时,市场上的买卖人气也极度委靡。这样的形态说明股价已经进入了下跌的行情,并且下方的支撑力量十分有限,未来股价将会持续下跌。
卖点:两个指标同时死叉
当均线和均量线的死叉形态在连续几个交易日内几乎同时形成时,是股价将见顶下跌的信号,此时投资者应该尽快卖出手中的股票。
补回位:卖出股票后,投资者可以继续观察后市行情走向。如果未来均线完成金叉,同时成交量也逐渐放大,就说明股价在多方的推动下重新进入了上涨行情,此时投资者可以考虑将刚刚卖出的股票买回继续持有。
操作要点:
1、均线和均量线的死叉形态可能在同一个交易日内完成,也可能在连续的几个交易日内相续完成。
2、投资者应该将均线的金叉当做自己的补回点。如果仅仅是均量线完成了金叉形态,则可能是股价在放量下跌的信号,此时投资者并不应该将卖出的股票买回。
3、如果均线和均量线死叉的同时macd指标也完成了死叉形态,则是验证了股价在加速下跌的信号。这样的情况下,该形态的看跌信号会更加可靠。
每日通达信公式解答:
编写条件:
前3日有涨幅5%以上大阳线的选股公式。
编写方法:
XG:EXIst(C/REF(C,1)>1.05,3);
评论(0)