mms:=ma(sma((l+h+2*c)/4-ref((l+h+2*c)/4,1),5,1)/sma(abs((l+h+2*c)/4-ref((l+h+2*c)/4,1)),5,1)*100,1)+50;
g1:=if(-mms>95,0,20);
uoo:=(-(((close-llv(close,7))/(hhv(close,7)-llv(close,7))*100=100)>0 and g1)+1);
ks:=(((close - ema(close,13)) / ema(close,13)) * (0 - 100));
ks1:=if(barscount(c)=1,c/10000,(1-c/sma(c,13,1))*100);
趋势线:=ema(((ks / 10) + ema(close,10)),3);
aa:=-100*(趋势线-close)/趋势线;
ac:=(ema(aa,5) );
ssl:=ema(close,3);
mmv:=ema(((slope(close,22) * 20) + close),55);
mm:=ma(mmv,1);
stickline(((ssl>mm)),ssl,mm,0.01,0),colorred;
sa:=(mm*0.985);
ss:=(ma(close,5));
dd:=(ma(close,13));
gg:=(ma(close,21));
捞钱手:if(((ssl>mm)),mm,sa),linethick2,colorff00ff;
{if(ssl<mm,捞钱手,drawnull),linethick2,colorffffff;}
能量线:=dma(((close + open) / 2),(vol / (sma(vol,4,1) *4)));
上开:=o;
上收:=c;
上高:=h;
上低:=l;
jj:=(上开+上高+上低)/3;
a:=ema(jj,4);
智能黄金线:a,coloryellow,linethick1;
b:=ref(a,1);
stickline(((ssl<mm)),捞钱手,智能黄金线,0.01,0),colorffff00;
va1:=ema(上收,8);
va2:=ema(上收,20);
drawtext(cross(zig(3,8),ref(zig(3,8),1)),low*0.978,'★绝佳') ,linethick2,colorred;
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*1.02,'★卖');
drawtext(cross(va1,va2)and(c>=o)and 智能黄金线>ref(智能黄金线,1),va1*0.97,'★买'),color00ff00;
选手a:=ma(上收,3);
箱顶a:=ma(ref(hhv(上收,6),1),3);
箱底a:=ma(ref(llv(上收,3),1),3);
t1:=ma(上收,20)>=ref(ma(上收,20),1);
t2:=cross(选手a,箱底a) and 箱顶a/箱底a>100/100 and t1;
t3:=cross(箱顶a,选手a) and 箱顶a/箱底a>100/100;
选手:=ma(上收,2);
箱顶:ma(ref(hhv(上收,30),1),2),color0000ff,linethick2;
箱底:ma(ref(llv(上收,30),1),2),color00ff00,linethick2;
t4:=cross(选手,箱底) and 箱顶/箱底>110/100;
t5:=cross(箱顶,选手) and 箱顶/箱底>110/100;
var1:=(上收-llv(上低,27))/(hhv(上高,27)-llv(上低,27))*100;
var2:=sma(var1,3,1);
var3:=sma(var2,3,1);
var4:=sma(var3,3,1);
{drawtext(var3 >=var4 ,箱顶,'--中期好'),color00ffff;
drawtext(var3<var4 ,箱顶,'--中期坏'),colorf0f000;
drawtext(a>b ,箱底,'--短期好'),color00ffff;
drawtext(a<b ,箱底,'--短期坏'),colorf0f000;}
drawtext(cross(var3,var4)and(c>=o)and var3<40 and uoo>0,low*0.96,'★'),colorf00ff0;
stickline(c>=o,c,o,5,0),colorred;
stickline(c>=o,h,l,0,0),coloryellow;
stickline(c<=o,c,o,5,0),colorgreen;
stickline(c<=o,h,l,0,0),colorffff00;
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
drawtext(cross(买线,卖线)and 箱顶>=ref(箱顶,1),low*0.95,'★跟'),color00ffff;
stickline(cross(买线,卖线),open,close,3,0),color00ffff;
五线波段(副图)
{坐标线位置:0;20;30;50;80;90;100;}
{额外y轴:0;20;50}
stickline(c>0,20,100,10,0),color95aa95;
stickline(c>0,80,80,10,0),colorcc55cc;
stickline(c>0,90,90,10,0),colorcc55cc;
stickline(c>0,20,30,10,0),color557575;
强弱分界:50,colorlired,nodraw;
{信号灯}
sar1:=(close+high+low)/3;
sar2:=ema(sar1,10);
sar3:=ref(sar2,1);
绿等待:if(sar2,99,drawnull),color00dd00,linethick5;
黄买: if(sar2>sar3,99,drawnull), color00dddd,linethick5;
蓝卖: if(sar2<sar3,99,drawnull),colordd0000,linethick5;
{波段强弱}
zc:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))))
color00dddd;
drawband(zc,rgb(100,15,55),50,rgb(0,100,50));
{中线波段}
var0:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
vara:=sma(var0,3,1);
var1:=sma(vara,4,1)-10;
stickline(ref(var1,1)<var1,var1,ref(var1,1),5,0),color0055ff;
stickline(ref(var1,1)>var1,var1,ref(var1,1),5,1),color007500;
{趋势顶底判断}
a4:=sma((hhv(h,9)-c)/(hhv(h,9)-llv(low,9))*100-70,9,1)+100;
a5:=(c-llv(l,9))/(hhv(h,9)- llv(l,9))*100;
a6:=sma(sma(a5,3,1),3,1)+100;
a7:=(a6-a4)/1.5+10;
趋势:a7,color00aaff,nodraw;
趋势底线:=ema(趋势,5),colorgreen;
stickline(趋势>趋势底线,趋势,趋势底线,0.1,0),color0099ff;
stickline(趋势<=趋势底线,趋势,趋势底线,0.1,-1),color95aa00;
趋势金叉:if(cross(趋势,趋势底线),趋势,drawnull),circledot,colorff33ff;
趋势死叉:if(cross(趋势底线,趋势),趋势,drawnull),circledot,color66ff00;
tv1:=趋势;
tv2:=趋势底线;
tv3:=barslast(ref(cross(tv1,tv2),1));
tv3a:=ref(close,tv3+1)>close and tv1>ref(tv1,tv3+1) and
cross(tv1,tv2);
趋势底背离:if(tv3a,tv1,drawnull),circledot,linethick3,colorff00ff;
tv4:=barslast(ref(cross(tv2,tv1),1));
tv4a:=ref(close,tv4+1)<close and ref(tv1,tv4+1)>tv1 and
cross(tv2,tv1);
趋势顶背离:if(tv4a,tv1,drawnull),circledot,linethick3,colorff6600;
{kd}
ssv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:sma(ssv,3,1),linethick2,color0033ff;
d:=sma(k,3,1);
k弱:if(k<=ref(k,1),k,drawnull),linethick2,colordddd00;
kd金叉:if(cross(k,d),k,drawnull),circledot,color0000ff;
kd死叉:if(cross(d,k),k,drawnull),circledot,colorff0000;
上一指标公式:天道午马浮云指标下载 通达信浮云
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文绝隹主图和五线波段幅图主图副图指标下载 通达信源码贴图仅供学习研究。