最新版本的通达信黄金分割主图指标
z1:=strcat(hyblock,' ');
z2:=strcat(z1,dyblock);
z3:=strcat(z2,' ');
drawtext_fix(islastbar,0,0.03,
0,strcat(z3,gnblock)),colorlired;
drawtext_fix(islastbar,0,
0.09,0,fgblock),colorlimagenta;
maa5:ma(c,5),colorff00ff,linethick2;
maa10:=ma(c,10);
maa30:ma(c,30),colorred;
ks:if(maa10>maa30,maa10,maa30),colorblue;
a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a4:=sma(a3,3,1);
a5:=sma(a4,3,1);
a6:=3*a4-2*a5;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),low-0.05,'↖跟庄买进'),coloryellow;
stickline(买,open,close,2,0),coloryellow;
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);
stickline(var1 or var2 or var3 or var4 or var5 or var6 or var7 or
var8 or var9 or vara or varb or varc,close,ref(close,1),3,1),colorred;{红1}
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);
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or
var14 or var15 or var16 or var17 or var18,close,ref(close,1),3,0),colorffcc66;
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;
stickline(var19,ref(close,1),ref(close,2),4,1),coloryellow;
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;
stickline(var1a,ref(close,1),ref(close,2),5,2),color00ff00;
stickline(var19,ref(close,1),ref(close,2),3,0),color00c8ff;
stickline(var19,ref(close,1),ref(close,2),2,0),color10ecff;
stickline(var19,ref(close,1),ref(close,2),2,0),color10ffff;
stickline(var1a,ref(close,1),ref(close,2),3,0),color00d900;
stickline(var1a,ref(close,1),ref(close,2),3,0),colorblue;
stickline(var1a,ref(close,1),ref(close,2),0,0),color090ff2;
pma:ma(c,5),colorwhite,linethick2;
if(pma>ref(pma,1),pma,drawnull),colorred,linethick2;
if(pma<ref(pma,1),pma,drawnull),colorgreen,linethick2;
t:=150;
tt:=3;
n1:=0;
高1:=ref(hhv(h,t),tt);
低1:=ref(llv(l,t),tt);
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;
顶:refdate(高1,date),colorffff00;
一:refdate(h1,date),dotline,coloryellow;
二:refdate(h2,date),dotline,colormagenta;
三:refdate(h3,date),dotline,color00ffff;
四:refdate(h4,date),dotline,colormagenta;
五:refdate(h5,date),dotline,coloryellow;
低:refdate(低1,date),color00ff00;
tt4:=(currbarscount=1);
drawtext(tt4 and 顶,顶,'顶'),color208fff;
drawtext(tt4 and 一,一,'0.809'),color208fff;
drawtext(tt4 and 二,二,'0.618'),color208fff;
drawtext(tt4 and 三,三,'0.5'),color208fff;
drawtext(tt4 and 四,四,'0.382'),color208fff;
drawtext(tt4 and 五,五,'0.191'),color208fff;
drawtext(tt4 and 低,低*1.009,'底'),color208fff;
上一指标公式:短线乖离峰值雷达副图不含未来附实测图及源码指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文最新版本的通达信黄金分割主图指标下载仅供学习研究。