{自用macd,这是另一个公式取消参数设置后重发}
var2:=ref(low,1);
var3:=sma(abs(low-var2),13,1)/sma(max(low-var2,0),13,1)*100;
var4:=ema(if(close*1.2,var3*13,var3/13),13);
var5:=llv(low,34);
var6:=hhv(var4,34);
var7:=if(llv(low,55),1,0);
var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7;
var9:=ema(close,5);
var10:=(close-ma(close,34))/ma(close,34)*(-10);
var11:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7*(-1);
var12:=ema(close,5)*(-1);
stickline(var8>ref(var8,1),0,-var8*1.5,2,1),coloryellow,linethick1;
备钱:=if(var8>ref(var8,1),0,var8),color0fffff;
stickline(var11>ref(var11,1),0,var11*2,2,1),colorfff810;
界:=0,colorffffff,linethick1;
xl1:=ma(low,2)*0.96;
xl2:=ma(low,26)*0.85;
xl3:=ref(xl1,1)<xl2 and ref(xl1,1)<xl1 and ref(xl1,1)<ref(xl1,2);
stickline(xl3,0,var8*3,2,0),colorred;
启动:=if(xl3,0,-var8*3),colorred;
va:=(2*c+h+l)/4;
vb:=llv(l,5);
vc:=hhv(h,5);
红线上穿买:=ema((va-vb)/(vc-vb)*27,5),colorred;
红线下穿卖:=ema(红线上穿买,3),colorffff00;
散户:= ema(((2*close+high+low)/4-llv(low,5))/(hhv(high,4)-llv(low,5))*100,4);
庄家:= ema(0.667*ref(散户,1)+0.333*散户,2);
底部:=if((ma(c,5)-c)/c>0.04 and (ma(c,10)-ma(c,5))/ma(c,5)>0.04,23,0),linethick1,colorff00ff;
rsv:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
x:=llv(j,2)=llv(j,8);
qvar1a:=((hhv(high,21)-close)/(hhv(high,21)-llv(low,21)))*(100)-10;
qvar1b:=((close-llv(low,21))/(hhv(high,21)-llv(low,21)))*(100);
qvar1c:=sma(qvar1b,13,8);
qvar1d:=sma(qvar1a,21,8);
机会来临:=sma(qvar1c,13,8),colorred;
aas:=filter((count((机会来临-qvar1d<(-65)),3)=3),34);
波段买点:=if(aas,15,0),colorffffff,stick,linethick1;
drawtext(波段买点,16,'△'),colorffffff;
var1:=ma(close,5);
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,13);
vare:=ema(close,5)-ema(close,28);
varf:=ema(vard,28);
空仓:if(vard>varf,varf,vare),color00ff00;
持仓:if(vard< varf,varf,vare),colorred;
var13:=(-100)*(hhv(close,66)-close)/(hhv(close,66)-llv(low,66))+100;
var14:=ref(varf,1);
var15:=varf;
var16:=var15-var14;
var17:=ref(vard,1);
var18:=vard;
var19:=var18-var17;
var1a:=open;
var1b:=close;
变:=if(var1a<=var1 and var1a<=var2 and var1a<=var3 and var1b>=var1 and var1b>=varc and var16>0 and var19>0,50,0), stick,colorwhite;
var1c:=if(cross(vard,varf) and vard<0 and varf<-0.2 and var11>45 and var16>0,0.3,0);
进:=if(var1c,10,0),coloryellow;
drawicon(进,10,1);
var1d:=(2*close+high+low)/4;
var1e:=llv(low,66);
var1f:=hhv(high,66);
var20:=ema((var1d-var1e)/(var1f-var1e)*100,13);
var21:=ema(0.667*ref(var20,1)+0.333*var20,3);
var22:=ref(close,1);
var23:=sma(max(close-var22,0),6,1)/sma(abs(close-var22),6,1)*100;
出:if(cross(84,var23),-10,0),color00ff00;
drawicon(出,-10,2);
捂:=0,colorff00ff;
平:=0,colorgreen;
stickline(var20>var21,0,-1,10,1),colorff00ff;
stickline(var20< var21,0,-1,10,1),colorgreen;
sqx:=(c-ma(close,13))*100;
f:=ema(ma(sqx,7),1),color00ffff;
a:=ema(f,7),colorff33ff;
m:=(f-a)*2,colorstick;
jccount:=count(cross(f,a),barslast(a>=0));
a1:=barslast(ref(cross(f,a),1));
底:if(ref(close,a1)>close and f>ref(f,a1+1) and cross(f,a),1,0),colorred;
stickline(底,-10,0,0.1,0),colorred;
a2:=barslast(ref(cross(a,f),1));
顶:ref(close,a2)<close and ref(f,a2+1)>f and cross(a,f),colorgreen;
var31:=ref((low+open+close+high)/4,1);
var41:=sma(abs(low-var31),13,1)/sma(max(low-var31,0),10,1);
var51:=ema(var41,10);
var61:=llv(low,33);
var71:=ema(if(low<=var61,var51,0),3);
庄进:=if(var71>ref(var71,1),0.6*var71,0)*0.5,colorblue;
var100:=(close*2+high+low)/4;
dif:(ema(close,13)-ema(close,33))*100 colord19275,linethick1;
dif段:if(dif>=ref(dif,1),dif,drawnull),color0080ff,linethick1;
dea:ema(dif,9),colorgreen,linethick1;
dea段:if(dea>=ref(dea,1),dea,drawnull),colorwhite,linethick1;
金叉:=if(cross(dif,dea),1,0),coloryellow;
二叉:if(cross(dif,dea) and dea<0 and count(jccount=2,21)=1,1,0),colorff00ff;
macd:(dif-dea)*2,colorstick,color70db93;
多方:=macd+1,colorred;
stickline(macd<ref(macd,1)and macd>0,0,macd,0,0)coloryellow;
stickline(macd>ref(macd,1)and macd<0,0,macd,0,0)colorwhite;
dif33日:ema(dif,33)color7388c1,linethick3;
stickline(13,0.001,-0.001,10,0),color205aa7;
stickline(macd<ref(macd,1)and macd>0,0,macd,0,0)coloryellow;
stickline(macd>ref(macd,1)and macd<0,0,macd,0,0)colorwhite;
dif33日紫色段:if(dif33日>=ref(dif33日,1), dif33日,drawnull)color6b238e,linethick3;
stickline(13,0.001,-0.001,10,0)color205aa7;
drawtext(cross(散户,庄家) and 散户<30,macd,'△'),colorffffff;
drawtext(cross(庄家,散户) and 散户>70,macd+1,'▼'),color00ff00;
drawtext(cross(j,ref(j+0.01,1)) and x and j<19,macd-1,'△'),colorred;
drawtext(金叉,dif-5,'△'),coloryellow;
drawtext(二叉,dea-5,'☆'),colorff00ff;
drawtext(顶,dea+5,'▼'),colorgreen;
上一指标公式:红柱出现持股指标详解 通达信持股
下一指标公式:主力进场洗盘指标详解 通达信洗盘主力
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用MACD指标详解 通达信自用仅供学习研究。