买卖趋势指标很不错的,想信能给你帶来丰厚的回报!
{kkdd大趋势}
lowv1:=ema(llv(low,34),3);
highv1:=ema(hhv(high,34),3);
rsv1:=ema((close-lowv1)/(highv1-lowv1)*100,3);
kk:=sma(rsv1,8,1),color4080ff,linethick1;
dd:=sma(kk,6,1),color008000,linethick1;
drawband(kk,rgb(200,0,200),dd,rgb(100,100,100));
{盘整突破}
突破角度:=(atan((ma(close,5)/ref(ma(close,5),1)-1)*100)*180/3.14115926)>55;
{>45 数字可调整为你喜欢的任何角度}
去除停牌:=dynainfo(17)!=0;
varr:=(c+h+o+l)/4;
上轨:=ema(varr,10)*1.09;
盘整突破:=last((h-l)/ref(c,1)<0.1,20,0) and vol>ref(vol,1)*1.5 and c>ref(c,1)*1.03
and "dmi.pdi">"dmi.mdi" and"dmi.adxr">"dmi.mdi"and "dmi.pdi">"dmi.adx"
and(cross("dmi.adx","dmi.adxr")or("dmi.adx">"dmi.adxr"))
and"kdj.d">ref("kdj.d",1) and"kdj.d"<75 and c<上轨 and 突破角度 and 去除停牌;
stickline(盘整突破,0,45,1.2,0),colorwhite;
drawtext(盘整突破,45,'突破'),colorwhite,linethick1;
{财神到}
xxbb:= ema((close-llv(low,25))/(hhv(high,25)-llv(low,25))*4,5)*100;
财神到:=ref(xxbb,1)<50 and xxbb-ref(xxbb,1)>25;
stickline(财神到,33,50,3,0),color2222aa;
stickline(财神到,16.5,33,3,0),color11aa88;
stickline(财神到,0,16.5,3,0),coloraaaa00;
drawtext(财神到,55,'财'),coloryellow;
drawtext(财神到,35,'神'),coloryellow;
drawtext(财神到,20.5,'到'),coloryellow;
{短线买点选股}
diff1:=ema(close,12)-ema(close,26);
短线买点:=cross(((diff1-ema(diff1,9))*10-ref((diff1-ema(diff1,9))*10,1)),1) and (diff1-ema(diff1,9))*10>1;
if(短线买点,60,0),linethick2,color00ffff;
drawtext(短线买点>0,35,'短买'),linethick1,color00ffff;
{今买明卖}
ma20:=ma(c,20);
ma30:=ma(c,30);
qsxs:=ma20>ma30 and ma20>ref(ma20,1) and ma30>ref(ma30,1);
zf:=(c/ref(c,1)-1)*100;
n1:=barslast(cross(c,ma(c,5)));
n2:=barslast(cross(ma(c,5),c));
hm:=if(n1<n2,n1+1,0)*qsxs;
z2:=hm=1 and zf>=0 and c>o and qsxs;
kx1:=zf<=-3 and c<o;
xdsj:=barslast(kx1);
kx2:=zf>=3 and c>o;
jby:=kx2 and xdsj<=2 and c>=ref(o*0.99,xdsj) and zf>abs(ref(zf,xdsj)*0.99);
z3:=if(filter(jby,1) and qsxs,5,0);
今买明卖:=z2 and z3;
if(今买明卖,35,0),linethick2,colorgreen;
drawtext(今买明卖>0,30,'买卖'),linethick1,colorgreen;
{横盘启动突破}
lowv:=llv(low,15); {15天内的最低价}
highv:=hhv(high,15); {15天内的最高价}
highvv:=hhv(high,40); {40天内的最高价}
v0:=v; {当天的成交量}
v1:=ref(v,1); {一天前的成交量}
v2:=ref(v,2); {两天前的成交量}
v3:=ref(v,3); {三天前的成交量}
hv22:=hhv(v,35); {35天内的最大成交量}
d0u:=c>o; {今天是阳线}
d1u:=ref(c,1)>=ref(c,2); {昨天是阳线}
横盘:=((highv-lowv)/highv)<0.15; {半个月内价格波动小于15%}
放量1:=v0>=(1.8*((v1+v2+v3)/3)); {今天量是前三天均量的1.8倍}
放量2:=v0<=(3.8*v1); { 今天的量在昨天量的四倍范围内}
今天阳线:=d0u; {今天是阳线}
昨天阳线:=d1u; {昨天是阳线}
今天中阳:=(c-ref(c,1))/ref(c,1)>=0.018; {今天涨幅大于1.8%}
开盘非最高价:=c<=highvv; {收盘非40天内最高价}
收盘非最高价:=o<=highvv; {开盘非40天内最高价}
非最大成交量:=v0<hv22; {非一个月内最高成交量}
启动突破:=(横盘 and 放量1 and 放量2 and 今天阳线 and 昨天阳线 and 今天中阳 and 开盘非最高价 and 收盘非最高价 and
非最大成交量) and 盘整突破;
if(启动突破>0,40,0),colorwhite,linethick2;
drawtext(启动突破>0,30,'启动'),colorffffff;
{中顶大顶}
x:=ma(amount,5)/ma(v,5)/100;
var9:=(x-ma(amount,125)/ma(v,125)/100)/x;
var11:=ma((llv(l,45)-c)/(hhv(h,45)-llv(l,45))*100,3);
var12:=c/ma(c,60)-1;
中顶:if(cross(var11,-95) and var12<0.35 and var12>=0.2,-60,0),colormagenta,linethick2;
drawtext(中顶<0,-30,'中顶'),colormagenta,linethick1;
大顶:if(cross(var11,-95) and var12>=0.35,-60,0),colorff7f00,linethick2;
drawtext(大顶<0,-30,'大顶'),colorff7f00,linethick1;
0,colorred,linethick2;
dif:(ema(close,5)-ema(close,27))/((ema(close,5)+ema(close,27))/2)*1000,color00ffff;
dea1:=ema(dif,9),colorwhite;
macd:2*(dif-dea1),nodraw,colorred;
{红绿箭头}
drawicon(cross(dif,dea1),dea1,1);
drawicon(cross(dea1,dif),dea1,2);
{dif变色线没有未来函数}
dea:ema(dif,9),colorwhite,linethick2;
dif,if(dea,dif,drawnull),color00ffff,linethick2;
if(dif<ref(dif,1),dif,drawnull),colorgreen,linethick2;
if(dif>ref(dif,1),dif,drawnull),colorred,linethick2;
8,color00ffff,pointdot,linethick2;
80,color008000,pointdot,linethick2;
上一指标公式:日红(副图)指标附实测图下载 通达信源码
下一指标公式:自然日指标下载 通达信自然日
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文买卖趋势(副图、效果图片、源码)下载 通达信买卖源码仅供学习研究。