所属地域:=strcat('所属地域:',dyblock);
所属行业:=strcat('所属行业:',hyblock);
所属概念:=strcat('所属概念:',gnblock);
drawtext_fix(1,0.00,0.01,0,所属地域),color0080ff;
drawtext_fix(1,0.00,0.08,0,所属行业),coloryellow;
drawtext_fix(1,0.00,0.16,0,所属概念),colorwhite;
lco:=ref(close,1);
rsio:=((sma(max((close - lco),0),3,1) / sma(abs((close - lco)),3,1)) * 100);
z1o:=ma(c,13);
zx:=ref(z1o,13/2+1);
drawicon(cross(zx,c),h*1.01,2);
drawtext(cross(88,rsio),high * 1.02,'▼逃顶'),color00ffff;
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,0),color000055;
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),2.7,0),color000077;
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),2.1,0),color000099;
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),1.5,0),color0000bb;
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),0.9,0),color0000dd;
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),0.3,0),color0000ff;
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.1,0),color00aaff;
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),2.7,0),color00ddff;
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),2.1,0),color00eeff;
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),1.5,0),color22ffff;
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),0.9,0),color99ffff;
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),0.3,0),colorffffff;
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),3,0),colormagenta;
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;{好股票www.goodgupiao.com}
stickline(var1a,ref(close,1),ref(close,2),3,0),color008800;
rsv:=(close-llv(low,19))/(hhv(high,19)-llv(low,19))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
rsv24:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
k24:=sma(rsv24,3,1);
d24:=sma(k24,3,1);
j24:=3*k24-2*d24;
a1:=barslast(ref(cross("macd.dif","macd.dea"),1));
drawtext(ref(c,a1+1)>c and ref("macd.dif",a1+1)<"macd.dif" and cross("macd.dif","macd.dea")>0,l-0.02,'★m'),color00ffff;{macd底背离}
a2:=barslast(ref(cross("kdj.k","kdj.d"),1));
drawtext(ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d"),l-0.10,'◎k'),colorff00ff;{kdj底背离}
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
drawtext(ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2")>0,l-0.18,'◆r'),color0000ff;{rsi底背离};
c1:=barslast(ref(cross("macd.dea","macd.dif"),1));
drawtext(ref(c,c1+1)<c and ref("macd.dif",c1+1)>"macd.dif" and cross("macd.dea","macd.dif")>0,h+0.16,'★m'),color00ff00;{macd顶背离};
c2:=barslast(ref(cross("kdj.d","kdj.k"),1));
drawtext(ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k")>0,h+0.08,'◎k'),colorffffcc;{kdj顶背离}
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
drawtext(ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1")>0,h+0.04,'◆r'),colorff9900;{rsi顶背离};
重心:=(c+0.618*ref(c,1)+0.382*ref(c,1)+0.236*ref(c,3)+0.146*ref(c,4))/2.382;
【操盘线】:ema(((slope(c,22)*20)+c),55),coloryellow,linethick4;
【黄金线】:if(重心>=【操盘线】,【操盘线】,drawnull),colorred,linethick2;
【空仓线】:if(重心<【操盘线】,【操盘线】,drawnull),colorcyan,linethick2;
{引:ema(close,2),linethick1,colormagenta;
探:ma(close,5),linethick1;};
变:ema(close,5),linethick1,coloryellow;
金:if(变>ref(变,1),变,drawnull),colorred,linethick1;
空:if(变<ref(变,1),变,drawnull),colorgreen,linethick1;
涨停:=if((c-ref(c,1))*100/ref(c,1)>=(10-0.01*100/ref(o,1)),1,0);
stickline(涨停,o,c,1,0),coloryellow;
zdf:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdf<-9.9,o,c,1,0),colorblue;
{drawicon(barslast(tj1),ref(low*0.995,barslast(tj1)),1);};
生命线:ma(close,26),colorred,linethick2;
stickline(c>=生命线 and c>=o,h,l,0,1),colorred;
stickline(c>=生命线 and c>=o,c,o,2.5,0),colorred;
dp:=if(c=indexc,0,1);gj:=amount/v/100 ;
多头线:ema(c,1.5),color0000cc;
空头线:ema(c,5),colormagenta;
均衡线:ema(空头线,5),colorgreen;
varf1:=count(cross(多头线,均衡线),2)=1;
varf2:=count(cross(空头线,均衡线),2)=1;
zai:=filter(varf1 and varf2,2);
drawtext(zai,均衡线*0.98,'↖黑牛'),color00ff00;
mtm:=close-ref(close,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
dy:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
stickline(zdf>9.8,o,c,2.5,0),colorred;
stickline(zdf<-9.8,o,c,2.5,0),colorblue;
白买进:drawnull,nodraw,colorwhite;
黄加仓:drawnull,nodraw,coloryellow;
蓝跌:drawnull,nodraw,colorblue;
绿见顶:drawnull,nodraw,colorgreen;
红强势:drawnull,nodraw,colorred;
红蓝调整:drawnull,nodraw,colorgray;
买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
上一指标公式:关于放量和缩量--红阳量副图++指标详解 通达信
下一指标公式:神奇5日主图指标公式下载 通达信神奇5日
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文黑牛系统主图指标公式下载 通达信黑牛仅供学习研究。