short:=12;
long:=26;
m:=9;
diff : ema(close,short) - ema(close,long);
dea : ema(diff,m);
gj:=max(c,o);
stickline(macd>0 and macd>=ref(macd,1),0,macd,2,0),color0000ff;
stickline(macd>0 and macd<ref(macd,1),0,macd,2,0),colorffff00;
stickline(macd<0 and macd>=ref(macd,1),0,macd,2,0),colorff00ff;
stickline(macd<0 and macd<ref(macd,1),0,macd,2,0),color00ff00;
drawicon( cross(diff,dea) ,diff,1);
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
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),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),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),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),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(close,2)-ema(close,150);
var1a:=ema(var19,100);
var1b:=2*(var19-var1a);
var1c:=pow(var1b,3)*0.1+pow(var1b,1);
var1d:=sqrt(sqrt(low*high*open*close));
var1e:=ema(var1d*0.97,3);
var1f:=(high+low+close)/3;
买点1:=var10;//www.goodgongshi.com
买点2:=(var11+var13+var15+var17);
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,30);
var4:=ma(close,60);
var5:=ema(cost(85),7);
var6:=ema(cost(15),7);
var7:=sum(close*vol*100,4)/sum(vol*100,4);
var8:=intpart(var7*100)/100;
var9:=sum(close*vol*100,7)/sum(vol*100,7);
vara:=intpart(var9*100)/100;
varb:=sum(close*vol*100,28)/sum(vol*100,28);
varc:=intpart(varb*100)/100;
vard:=ema(close,5)-ema(close,10);
vare:=ema(vard,9);
var13:=ref(vare,1);
var14:=vare;
var15:=var14-var13;
var16:=ref(vard,1);
var19:=open;//www.goodgongshi.com
买点3:=if(var19<=var1 and var19<=var2 and var19<=var3 and var1a>=var1 and var1a>=varc and var15>0 and var18>0,0.5,0);
verline(买点3>0 or 买点1>0 or 买点2>0, 2),color0000ff;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
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);
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);
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);
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);
寻底买进1:=var10;
买进2:=(var11+var13+var15+var17);
drawtext(寻底买进1>0 or 买进2>0,low*0.000,'加仓'),colorred;
drawtext(寻底买进1>0 ,low*-0.019,'寻底'),coloryellow;
var8:=vol>2*ma(vol,30);
var9:="dmi.adx"(12,6);
vara:="dmi.adxr"(12,6);
varb:=close>ma(close,30) and close<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)));
vare:=0-"macd.diff"(7,21,3);
varf:=troughbars(3,15,1)<4;
varg:=peakbars(3,15,1)<4;
var10:=ema(close,30)>ref(ema(close,30),2);
var11:=if(varf=1,50,0);
stickline(filter(varf=1,5),0.175,0,8,0),coloryellow;
stickline(filter(varg=1,5),0.175,0,8,0),colorgreen;
varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig
(3,5),2)<=ref(zig(3,5),3));
vard:=(zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2)) and (ref(zig
(3,5),2)>=ref(zig(3,5),3));
stickline((varc=1),(-0.255),0,4,0),color0000ff;
drawtext((varc=1),(-0.23),'买'),color0000ff;
stickline((vard=1),0.174,0,4,0),color00ff00;
drawtext((vard=1),0.175,'卖'),color00ff00;
vare:=ref(low,1)*0.9;
varf:=low*0.9;
var10:=(varf*vol+vare*(capital-vol))/capital;
var11:=ema(var10,30);
var12:=close-ref(close,1);
var13:=max(var12,0);
var14:=abs(var12);
var15:=sma(var13,7,1)/sma(var14,7,1)*100;
var16:=sma(var13,13,1)/sma(var14,13,1)*100;
var17:=barscount(close);
var18:=sma(max(var12,0),6,1)/sma(abs(var12),6,1)*100;
var19:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
var1a:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var1b:=sma((sma(var1a,4,1)-50)*2,3,1);
var1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
var1d:=sma(var1c,4,1);
var1e:=sma(var1d,3,1);
var1f:=(hhv(high,30)-close)/close*100;
var20:=var18<=25 and var19<-95 and var1f>20 and var1b<-30 and var1e<30 and var11-close>=-0.25 and var15<22 and var16<28 and var17>50;
var21:=(high+low+close)/3;
var22:=(var21-ma(var21,14))/(0.015*avedev(var21,14));
var23:=(var21-ma(var21,70))/(0.015*avedev(var21,70));
var24:=if(var22>=150 and var22<200 and var23>=150 and var23<200,10,0);
var25:=if(var22<=-150 and var22>-200 and var23<=-150 and var23>-200,-10,var24);
stickline(var20,0,0.175,5,0),linethick4,colorred;
drawtext(cross(var20,0.5) and count(var20=1,10)=1,0.18,'超级主力建仓!') , colorred;
上一指标公式:春天凤凰线指标公式详解 同花顺凤凰
下一指标公式:买入大涨指标公式详解 同花顺大涨指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文寻—底指标公式详解 同花顺仅供学习研究。