//孔庆元
ema1:=ema(close,n1);
ema2:=ema(close,n2),colorred;
ema3:=ema(close,n3),colorcyan;
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
买:=(var11+var13+var15+var17);//www.goodgongshi.com
卖:=(var12+var14+var16+var18);
drawtext(买>0,low-0.1,'必进'),colorred,;
drawtext(卖>0,high+0.1,'清仓'),colorgreen,;
//drawtext(cross(ema1,ema3),low-0.1,'x'),colorred,;
//drawtext(cross(ema3,ema1),high+0.2,'x'),colorgreen,;
//drawtext(cross(ema1,ema2),low-0.1,'x'),colorred,;
//drawtext(cross(ema2,ema1),high+0.2,'x'),colorgreen,;
//drawtext(cross(ema2,ema3),low-0.1,'x'),colorred,;
//drawtext(cross(ema3,ema2),high+0.2,'x'),colorgreen,;
b:=troughbars(3,5,1)=0;
e:=peakbars(3,5,1)=0;
drawicon(b,low-0.1,1),colorred;
drawicon(e,high,2);
drawnumber(e,high+(h*0.1),tostring(h,2));//画数字
drawnumber(b,low*0.95,tostring(low,2));//画数字
突破:ref(ema(c,14),1),coloryellow;
a1x:=(ema(c,10)-突破)/突破*100;//www.goodgongshi.com
多方:=if(a1x>=0,ref(ema(c,10),barslast(cross(a1x,0))+1),drawnull);
空方:=if(a1x<0,ref(ema(c,10),barslast(cross(0,a1x))+1),drawnull);
stickline(a1x>=0,多方,突破,0,0),color000099;//柱线
stickline(a1x<0,空方,突破,0,0),color00cc66;//柱线
均价线:sum(c*v,240)/sum(v,240),colormagenta;
新价:close,colorwhite;
aa:=zig(3,5),coloryellow;
diff1 : =-(ema(aa,26) - ema(aa,12));
dea1 : =-(ema(diff1,9));
macd1 : =2*(diff1-dea1);
//转向变盘建仓
x:=if(macd1<0 and ref(macd1,2)>ref(macd1,1) and macd1>ref(macd1,1),1,0);
drawtext(x,low*0.9,"建仓"),coloryellow;
//量价指标
vpt:=sum(vol/ema(vol,n)*(close-ref(close,1))/ref(close,1),0);
mavpt:=ema(vpt,m);
//drawtext(cross(vpt,mavpt),新价+0.3,"b"),colorred;
//drawtext(cross(mavpt,vpt),新价-0.3,"s"),colorgreen;
//均价线金叉
drawicon(cross(新价,均价线) and 新价>突破 and close>ma(close,144),均价线,1);
drawicon(cross(突破,均价线),均价线,1);
//底部
b:=zig(3,50/5),colorred;
g:=ma(b,2),coloryellow;
d:=cross(b,g)*(-0.5),stick,colormagenta,linethick3;//
drawtext(d<0,low*0.85,"底部"),coloryellow;
上一指标公式:BI变色指标公式详解 同花顺变色
下一指标公式:金马A公式下载 同花顺金马
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文底部建仓买卖指标公式详解 同花顺建仓仅供学习研究。