基础线:ma(c,5),linethick3,color00ccff;
刚柔线:ma(c,13),circledot,coloryellow;
生命线:ma(c,34),circledot,colormagenta;
ma05:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);
ma30:=ma(c,30);
五日乖离率:=(c-ma05)/ma05*100;
bb05:=atan((ma05/ref(ma05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((ma05-ref(ma05,1))/ref(ma05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3),nodraw;
if(bb05>30 and ma05>ref(ma05,1), ma05,drawnull),linethick3,colorred;
bb10:=atan((ma10/ref(ma10,1)-1)*100)*180/3.1416;
if(bb05<0 and ma05<ref(ma05,1), ma05,drawnull),linethick3,colorgreen;
三拾日乖离率:=(c-ma30)/ma30*100,nodraw;
var1:=(ma20-ma30)>ref((ma20-ma30),1) and ma20>ref(ma20,1) and ma30>ref(ma30,1);
var2:=(ma30-ma20)<ref((ma30-ma20),1) and ma20<ref(ma20,1) and ma30<ref(ma30,1);
bb30:=atan((ma30/ref(ma30,1)-1)*100)*180/3.1416;
强势狙击:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and ma05>ref(ma05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and ma10>ref(ma10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>ma30 or o>ma30) and ma05<ref(ma05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and ma10<ref(ma10,1),10);
drawtext(加仓 ,low*0.98,'◆加二'),coloryellow;
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and ma10>ref(ma10,1) ;
减仓:=filter(jc,10);
mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<ma30;
买入:=filter(mr,10);{好公式网 www.goodgongshi.com}
drawtext(减仓,high*1.02,'◆风险'),colorcyan;
drawtext(买入,low*0.96,'◆买二'),coloryellow;
drawtext(清仓 ,high*1.00,'◆清仓'),colorgreen;
var21:=max(abs(high-amount/vol/100),abs(amount/vol/100-low));
var3:=abs((open+close)/2-amount/vol/100);
mv:=(var21+var3)/amount*vol*100*50;
压力:ma(ref(hhv(c,30),1),2),color9dffff;
支撑:ma(ref(llv(c,30),1),2),colorabff46;
{彩色k线}
tyx3:=ma(ref(hhv((c+l+o+h)/4,30),1),3);
tyx4:=ma((c+l+o+h)/4,13);
tyx5:=ema((c+l+o+h)/4,21);
{空心红}
stickline(c<tyx5 and c>o,h,l,0,0),colorred;
stickline(c<tyx5 and c>o,c,o,3,1),colorred;
{深绿}
stickline(c<tyx5 and c<o,h,l,0,0),color007700;
stickline(c<tyx5 and c<o,c,o,3,0),color005500;
stickline(c<tyx5 and c<o,c,o,2,0),color006600;
stickline(c<tyx5 and c<o,c,o,1,0),color007700;
{蓝}
stickline(c>tyx5 and c<o,h,l,0,0),colorffdd44;
stickline(c>tyx5 and c<o,c,o,3,0 ),colorff7700;
stickline(c>tyx5 and c<o,c,o,2,0 ),colorffaa22;
stickline(c>tyx5 and c<o,c,o,1 ,0 ),colorffdd44;
{黄}
stickline(c>tyx5 and c>o,h,l,0,0 ),color00eeff;
stickline(c>tyx5 and c>o,c,o,3,0 ),color00aaff;
stickline(c>tyx5 and c>o,c,o,2,0 ),color00ccff;
stickline(c>tyx5 and c>o,c,o,1,0 ),color00eeff;
{粉红}
stickline(c>tyx4 and c>o,h,l,0,0),colorff66aa;
stickline(c>tyx4 and c>o,c,o,3,0 ),colorff11ff;
stickline(c>tyx4 and c>o,c,o,2,0 ),colorff44ff;
stickline(c>tyx4 and c>o,c,o,1,0 ),colorff66ff;
{亮灰}
stickline(c>tyx4 and c<o,h,l,0,0),color999999;
stickline(c>tyx4 and c<o,c,o,3,0),color555555;
stickline(c>tyx4 and c<o,c,o,2,0),color777777;
stickline(c>tyx4 and c<o,c,o,1,0),color999999;
{深红}
stickline(c>tyx3 and c>o,h,l,0,0),color0000dd;
stickline(c>tyx3 and c>o,c,o,3,0),color000099;
stickline(c>tyx3 and c>o,c,o,2,0),color0000bb;
stickline(c>tyx3 and c>o,c,o,1,0),color0000dd;
{涨跌停k线}
stickline(high=low and close=open and (close/ref(close,1))>1.048,high,low,3,0) ,colorred;
stickline(high=low and close=open and (ref(close,1)/close)>1.048,high,low,3,0) ,color00ff00;
{突破}
stickline(ref(count(c<tyx3,5)=5,1) and c>tyx3 and c>o,c,o,1,0),color00ccff;
{买卖主图}
ma18:=ma(close,18);
mtm:=c-ref(c,1);{}
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2));
drawtext(filter(买=1,5),low,'★买一'),colorred;
加1:=ma18>=ref(ma18,3) and cross(close,ma18);
drawtext(加1,low*0.99,'★加一'),colorcc66ff;
卖一:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx);
drawtext(filter(卖一=1,1),high*1.01,'★卖一'),colorgreen;
{牛熊通吃}
aa1:=amount/v;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
ff1:=bb1 and cc1 and dd1 and ee1;
drawtext(ff1,low*0.99,'老鼠仓'),color4080ff;
{预测明天}
xxs:=ma(low,5)*(1-5/100);
xxs1:=ma(high,5)*(1+5/100);
均线:=c,colorgreen;
aaaa:=close/ref(close,3)<=0.85 and cross(c,xxs) and c>ref(c,1),linethick0 ;
drawtext(aaaa,l*0.95,'下影买'),colorred;
bbaa:=cross(xxs1,c);
drawtext(cross(xxs1,c),h,'开盘逃'),colorwhite;
dddd:=cross(c,xxs1);
drawtext(dddd,h,'明日走'),coloryellow;
aaa:=ma(low,5)*(1-5/100);
bbb:=(hhv(aaa,5)+llv(aaa,5))/2;
drawtext(cross(bbb,l) and bbb>ref(bbb,1),l*0.98,'←兄弟回头棍'),colorwhite;
{双棍指标}
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
drawtext(ref(cross(dea,dif),1) and cross(dif,dea),l*0.97,'←散户回头棍'),colormagenta;
{见好就收}
vsr2:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
vsr3:=sma(vsr2,4,1);
vsr4:=sma(vsr3,2,1);
drawtext(vsr4>82 and vsr3>89,hhv(c,30)*1.02,'收'),colorgreen;
上一指标公式:MZJC 缠中说禅系列 通达信MZJC系列
下一指标公式:九转序列 通达信序列
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文风险回头棍 好看实用的主图 通达信风险好看仅供学习研究。