e3:=ema(c,3);
e5:=ema(c,5);
e8:=ema(c,8);
e10:=ema(c,10);
e12:=ema(c,12);
e15:=ema(c,15);
partline(e3,e3>ref(e3,1),colormagenta,e3<=ref(e3,1),colorgreen),e3;
partline(e5,e5>ref(e5,1),colormagenta,e5<=ref(e5,1),colorgreen),e5;
partline(e8,e8>ref(e8,1),colormagenta,e8<=ref(e8,1),colorgreen),e8;
partline(e10,e10>ref(e10,1),colormagenta,e10<=ref(e10,1),colorgreen),e10;
partline(e12,e12>ref(e12,1),colormagenta,e12<=ref(e12,1),colorgreen),e12;
partline(e15,e15>ref(e15,1),colormagenta,e15<=ref(e15,1),colorgreen),e15;
折线:zig(3,20);//www.goodgongshi.com
前波峰值:=peak(3,20,1);
前波谷值:=trough(3,20,1);
drawnumber(折线>ref(折线,1) and ref(折线,1)<ref(折线,2),ref(c,1),-(前波峰值-ref(c,1))/前波峰值*100);
drawnumber(折线<ref(折线,1) and ref(折线,1)>ref(折线,2),ref(c,1),(ref(c,1)-前波谷值)/前波谷值*100);
b:zig(3,10),coloryellow;
g:=ma(b,2),colorred;
d:=ema(b,34),colorgreen;
j:=ema(b,144),colorligreen;
drawicon(cross(b,g),b-0.1,1);
drawicon(cross(g,b),g+0.1,2);
//drawtext(cross(b,g),b*0.85,"建"),coloryellow;
//drawtext(cross(g,b),g,"清"),colorgreen;
f:=100*(c-ref(c,1))/ref(c,1);
jd:=if(c<ref(o,1) and f<0,1,0);
s1:=jd;
mr:=if(c<ref(o,2) and f<0,1,0),linethick0;
s2:=mr;
a1:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,3) ,ref(zig(3 ,3),1));
a2:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,5) ,ref(zig(3 ,5),1));
//drawtext(a1 and a2 or d<0,b,'加仓'),coloryellow;//加仓买
//drawicon(a1 and a2,b-0.2,1);
var3:=peakbars(3,5,1)<10;
var5:=if(var3=1,2,0);
顶:= if(var5=2,2,0);
顶a:=if(顶>ref(顶,1),1,0),stick,colorcyan, linethick2;//
//drawtext(顶a=1,b*1.1,'减仓'),colorgreen;
drawicon(顶a=1,b,2);
a11:llv(low,144),colormagenta;
//drawicon(a11==ref(a11,1) and ref(a11,1)<ref(a11,2),a11,1);
//drawicon(a11<ref(a11,1) and ref(a11,1)==ref(a11,2),a11,2);
//drawicon(a11>ref(a11,1) and ref(a11,1)==ref(a11,2),a11,1);
mid:=ma(close,26);
upper:=mid + 2*std(close,26),colorwhite;//上轨
upper1:=mid + 1.618*std(close,26),colorred;//上轨
lower:=mid - 2*std(close,26),coloryellow;//下轨
lower1:=mid - 1.618*std(close,26),colorgreen;//下轨
//drawtext(cross(close,lower),j*1.05,"l"),coloryellow;;
//drawtext(cross(close,upper),j*1.05,"l"),colorgreen;
drawicon(cross(b,a11),b,1);
drawicon(cross(a11,b),b,2);
verline(cross(b,g) and (a1 and a2 or d<0),1),colorlimagenta;//画加仓建仓垂线
verline(cross(g,b),1),colorcyan;//画清仓垂线
stickline(a11<b and b>ref(b,1),b,a11,0.8,0),colorred;
stickline(a11<b and b<ref(b,1),b,a11,0.8,0),colorgreen;
drawtext((cross(b,g) and (a1 and a2 or d<0)) or cross(b,g),a11*0.95,'b'),coloryellow;//建仓加仓买
//macd
drawnumber(ref((cross(b,g) and (a1 and a2 or d<0)) or cross(b,g),1),a11*0.95,tostring(a11,2));
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;
买点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;
a1:=c>=ref(c,4);
a:=c<ref(c,4);
aa:=c<ref(c,4) and ref(a1,2);
t:=barslast(aa),nodraw;
n:=t=1 and ref(t=0 and aa,2) and a;
n1:=t=2 and ref(n,1) and a;
n2:=t=3 and ref(n1,1) and a;
n3:=t=4 and ref(n2,1) and a;
n4:=t=5 and ref(n3,1) and a;
n5:=t=6 and ref(n4,1) and a;
n6:=t=7 and ref(n5,1) and a;
n7:=t=8 and ref(n6,1) and a;
drawtext(n5,h*1.09,'7'),colorred;
drawtext(n6,h*1.09,'8'),colorred;
drawtext(n7,h*1.10,'9'),colorred;
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*1.15,'加仓'),colorred;
drawtext(寻底买进1>0 ,low*1.25,'寻底'),coloryellow;
ma1:=ma(close,5);
ma2:=ma(close,10);
ma3:=ma(close,30);
zj:=amount/10000;
tm:=v-ma(v,10);
一穿三:=ma1>o and ma2>o and ma3>o and ma1<c and ma2<c and ma3<c and close>open ;
drawtext(一穿三,l-0.012,'穿三线'),colorff00ff;
上一指标公式:MACD极准指标公式详解 同花顺MACD
下一指标公式:趋势判断副图指标公式详解 同花顺判断
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文清泉顾比复合指标公式详解 同花顺清泉仅供学习研究。