高1:=ref(hhv(h,120),3);
低1:=ref(llv(l,120),3);h1:=高1-(高1-低1)*0.191;
h2:=高1-(高1-低1)*0.382;
h3:=高1-(高1-低1)*0.5;
h4:=高1-(高1-低1)*0.618;
h5:=高1-(高1-低1)*0.809;
突破:=ref(ema(c,14),1);
a1x:=(ema(c,10)-突破)/突破*100;
基准:=if(a1x>=0,ref(ema(c,10),barslast(cross(a1x,0))+1),ref(ema(c,10),barslast(cross(0,a1x))+1));
stickline(a1x>=0,基准,突破+0.001*c,10.4,0),coloryellow;
stickline(a1x<0,基准,突破-0.001*c,10.4,0),colorgreen;
stickline(a1x>=0,基准,突破,10,0),color000099;
stickline(a1x<0,基准,突破,10,0),color320000;
hh0:=const(hhv(h,75));
ll0:=const(llv(l,75));
mm0:=const((hh0+ll0)/2);
hl0:=const(if(const(c)>=mm0,ll0-(hh0-ll0)*0.2,hh0+(hh0-ll0)*0.2));
hh1:=if(const(c)<mm0,hh0*1.01,hl0);
ll1:=if(const(c)>=mm0,ll0*0.99,hl0);
hl1:=(hh1+ll1)/2,colorffffff;
stickline("macd.macd">0,"macd.macd"+hl1,hl1,2.5,1),color007fff;
stickline("macd.macd">0 and "macd.macd">ref("macd.macd",1),
"macd.macd"+hl1,hl1,2.5,0),colorred;
stickline("macd.macd"<0,"macd.macd"+hl1,hl1,2.5,0),color00d080;
stickline("macd.macd"<0 and "macd.macd">ref("macd.macd",1),
"macd.macd"+hl1,hl1,2.5,1),color00d080;
if("macd.dif">0,hl1*0.975,drawnull),color0000ff,linethick1,circledot;
if("macd.dif">0 and "macd.macd"<0,hl1*0.975,drawnull),color00ffff,circledot;
if("macd.dif"<0 and "macd.macd">0,hl1*0.975,drawnull),colorff0080,circledot;
jj:=(close+high+low)/3;
a:=ema(jj,10);
b:=ref(a,1);
stickline(a>b,a,b,5,0),coloryellow;
stickline(a<b,a,b,5,0),colorblue;
tt:=if(islastbar,240/fromopen,1);
nn:=120;
hh:=hhv(v*tt,nn);
ll:=llv(v,nn);
最高:=const(hh);
最低:=const(ll);
最高2:=const(hhv(h,nn));
最低2:=const(llv(l,nn));
pp:=if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,20)),0.9,if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,50)),0.7,0.6)),nodraw;
rcc1:=最高2*0.9-(最高2-最低2)*pp;
最低3:=min(rcc1,最低2);
aa:=最低3;
ma5:=ema(c,5),nodraw;
mar5:=sma(c,5,1),coloryellow,linethick4;
ma20:ma(c,20),colorred,linethick2;
ma55:ma(c,55),colorff00ff,linethick2;
drawband(mar5,rgb(0,200,200),ma5,rgb(200,0,0));
jrh:=hhv(c,2);
jrl:=llv(c,2);
ma3:=ma(close,3);
ytsl:=(3*close+low+open+high)/6;
var1:=(close>ref(close,1) and close>ref(close,2));
var2:=(ref(var1,1) and close<=ref(close,1) and close>=ref(close,2));
var3:=(ref(var2,1) and close>=ref(close,1) and close<=ref(close,2));
var4:=(ref(var3,1) and close<=ref(close,1) and close>=ref(close,2));
var5:=(ref(var4,1) and close>=ref(close,1) and close<=ref(close,2));
var6:=(ref(var5,1) and close<=ref(close,1) and close>=ref(close,2));
var7:=(ref(var6,1) and close>=ref(close,1) and close<=ref(close,2));
var8:=(ref(var7,1) and close<=ref(close,1) and close>=ref(close,2));
var9:=(ref(var8,1) and close>=ref(close,1) and close<=ref(close,2));
vara:=(ref(var9,1) and close<=ref(close,1) and close>=ref(close,2));
varb:=(ref(vara,1) and close>=ref(close,1) and close<=ref(close,2));
varc:=(ref(varb,1) and close<=ref(close,1) and close>=ref(close,2));
vard:=(close<ref(close,1) and close<ref(close,2));
vare:=(ref(vard,1) and close>=ref(close,1) and close<=ref(close,2));
varf:=(ref(vare,1) and close<=ref(close,1) and close>=ref(close,2));
var10:=(ref(varf,1) and close>=ref(close,1) and close<=ref(close,2));
var11:=(ref(var10,1) and close<=ref(close,1) and close>=ref(close,2));
var12:=(ref(var11,1) and close>=ref(close,1) and close<=ref(close,2));
var13:=(ref(var12,1) and close<=ref(close,1) and close>=ref(close,2));
var14:=(ref(var13,1) and close>=ref(close,1) and close<=ref(close,2));
var15:=(ref(var14,1) and close<=ref(close,1) and close>=ref(close,2));
var16:=(ref(var15,1) and close>=ref(close,1) and close<=ref(close,2));
var17:=(ref(var16,1) and close<=ref(close,1) and close>=ref(close,2));
var18:=(ref(var17,1) and close>=ref(close,1) and close<=ref(close,2));
var19:=((ref(vard or vare or varf or var10 or var11 or var12 or var13 or var14 or var15 or var16 or var17 or var18,1)) and var1);
var1a:=((ref(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,1)) and vard);
红色持股:var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,color0000ff,nodraw;
短买:var19,color33aacc,nodraw;
品红离场:var1a,colorff99ff,nodraw;
stickline(c>=o,l,h,0,0),color0000cc;
stickline(c<o,l,h,0,0),color999900;
stickline(1,c,o,3.5,0),color858500;
stickline(c>=o,c,o,3.5,0),color0000e5;
stickline(红色持股,close,o,2.8,0),color000055;
stickline(红色持股,close,o,2,0),color000088;
stickline(红色持股,close,o,1.5,0),color0000aa;
stickline(红色持股,close,o,1,0),color0000cc;
stickline(红色持股,close,o,0.5,0),color0000ee;
co:=(c-o);
stickline(短买,o,o+co/3,2.8,0),color335555;
stickline(短买,o,o+co/3,2,0),color338888;
stickline(短买,o,o+co/3,1.5,0),color33aaaa;
stickline(短买,o,o+co/3,1,0),color33cccc;
stickline(短买,o,o+co/3,0,0),color33eeee;
stickline(品红离场,o,o+co/3,2.8,0),color550055;
stickline(品红离场,o,o+co/3,2,0),color880088;
stickline(品红离场,o,o+co/3,1.5,0),coloraa00aa;
stickline(品红离场,o,o+co/3,1,0),colorcc00cc;
stickline(品红离场,o,o+co/3,0.5,0),coloree00ee;
币:if(sar(10,2,20)>=h,sar(10,2,20),drawnull),circledot,colorblue;
股:if(sar(10,2,20)<=l,sar(10,2,20),drawnull),circledot,colorred; wj:=(h+l+c)/3;
drawicon(a1x>=0 and ref(a1x,1)<0,l*0.98,9);
drawicon(a1x<0 and ref(a1x,1)>=0,h*1.02,14);
if(ma55<ref(ma55,1),ma55,drawnull),colorffffff,linethick2;
if(ma20<ref(ma20,1),ma20,drawnull),color00ffff,linethick2;
drawicon( cross(c,ma20),ma20,5);
drawtext( cross(c,ma20),ma20*0.995,'★');
drawicon( cross(ma20,ma55),ma20,23);
drawtext( cross(ma20,ma55),ma20*0.995,'☆');
drawtext(短买,ref(close,1),'★'),color33ffcc;
drawtext(品红离场,ref(close,1)+0.1,'$'),colorff99ff;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文一组绝顶精品主图指标下载 通达信源码精品仅供学习研究。