由macd划线相对强弱划线战无不胜主图合成,以增强信号的完整性。放弃了缠论中枢中枢a,因为指标内隐含了大里的未来函数。根据划线判断方向和强弱,具有实战意义。
在指标的下方有一条红蓝黄线条,它的含义是:红色线段持股,黄色线段持币。蓝线是变盘区域,建议观望。
var2:=ema(slope(ema(close,20),10)*34+close,30);
var3:=ema(var2,3);
var4:=ema(var3,3);
var5:=ema(var4,3);
//www.goodgongshi.com
var6:=ema(var5,3);
va7:=ema(var6,3);
var7:=ema(va7,3);
va8:=ema(var7,3);
var8:=ema(va8,3);
var9:=ema(var8,3);
vara:=barslast(cross(close,var9));
varb:=barslast(cross(var9,close));
卷帘操作:if(close>var9 and close>ref(close,vara),ref(close,vara),ref(close,vara)),colorffc8ff,pointdot;
stickline(close>var9 and close>ref(close,vara),ref(close,vara),low*1,00,1),colorred,linethick2;
强:if(close<var9 and close<ref(close,varb),ref(close,varb),ref(close,varb)),color0099ff,pointdot;
stickline(close<var9 and close<ref(close,varb),ref(close,varb),high*1,0,1),colorgreen,linethick2;
势:if(close>var9 and close<ref(close,vara),ref(close,vara),ref(close,vara)),coloryellow,pointdot;
stickline(close>var9 and close<ref(close,vara),ref(close,vara),low*1.02,0,1),coloryellow;
垂帘休息:if(close>var9 and close<ref(close,vara),ref(close,vara),ref(close,vara)),colorffcccc,pointdot;
stickline(close>var9 and close<ref(close,vara),ref(close,vara),ref(close,vara),6,1),colorwhite,linethick2;
沉:if(close<var9,ref(close,varb),ref(close,varb)),colorb3b3b3,pointdot;
stickline(close<var9,ref(close,varb),ref(close,varb),16,0),colorb3b3b3,linethick2;
stickline(close>var9,ref(close,vara),ref(close,vara),16,0),colorblue,linethick2;
stickline(c>=o,h,l,0,0),colorred,linethick2;
n:=7;
lc:=ref(close,1);
rsi:sma(max(close-lc,0),n,1)/sma(abs(close-lc),n,1)*100,colorffc500,linethick1;
avr1:=drawline(rsi>=hhv(rsi,n),rsi,rsi<=llv(rsi,n),rsi,0);
avr2:=drawline(rsi<=llv(rsi,n),rsi,rsi>=hhv(rsi,n),rsi,0);
avr3:=rsi=avr2;
avr4:=rsi=avr1;
avr5:=rsi<ref(rsi,1);
avr6:=rsi>ref(rsi,1);
avr7:drawicon(filter(avr4 and avr6,1),rsi*1.04,2);
avr8:drawicon(filter(avr3 and avr5,1),rsi*0.9,1);
强弱分界:50,colorgreen;
顶:80,colorred;
底:20,colorlired;
n:=3;
l0:=0.00;
l1:=abs(l-ref(l,1))<=l0;
l2:=abs(l-ref(l,2))<=l0;
l3:=abs(l-ref(l,3))<=l0;
l4:=abs(l-ref(l,4))<=l0;
l5:=abs(l-ref(l,5))<=l0;
精准线首次:=l1 or l2 or l3 or l4 or l5;
精准左:=filter(精准线首次,n) ;
天数:=barslast(精准左);
lts:=ref(l,天数);
精准右:=abs(l-lts)<=l0;
stickline(精准左,l,l,50,-1),color8080ff;
g1:=abs(h-ref(h,1))<=l0;
g2:=abs(h-ref(h,2))<=l0;
g3:=abs(h-ref(h,3))<=l0;
g4:=abs(h-ref(h,4))<=l0;
g5:=abs(h-ref(h,5))<=l0;
g6:=abs(h-ref(h,6))<=l0;
g7:=abs(h-ref(h,7))<=l0;
g8:=abs(h-ref(h,8))<=l0;
精准线1首次:=g1 or g2 or g3 or g4 or g5 or g6 or g7 or g8;
精准左1:=filter(精准线1首次,n) ;
天数1:=barslast(精准左1);
gts:=ref(l,天数1);
精准右1:=abs(h-lts)<=l0;
stickline(精准左1,h,h,50,-1),color00ff00;
高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;
jz:=if(a1x>=0,ref(ema(c,10),barslast(cross(a1x,0))+1),ref(ema(c,10),barslast(cross(0,a1x))+1)),colorffff00,linethick2;
n1:=100;
kd:=barslast(currbarscount=n1);
gd:=const(if(islastbar=1,hhv(h,kd),0));
dd:=const(if(islastbar=1,llv(l,kd),0));
kj:=gd-dd;
gd4:=if(currbarscount<=n1/2,gd,drawnull);
nd:=if(barscount(c)>=8,8,barscount(c));
amov:=vol*(c+l+h)/3;
mn:=sum(amov,nd)/sum(vol,nd);
aac:=cross(a1x,0),linethick0;
bbc:=cross(0,a1x),linethick0;
drawicon(aac,jz*0.98,34);
drawicon(bbc,jz*1.015,35);
lc:= ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
逃顶:=cross(82,rsi);
drawicon( 逃顶,h*1.01,15);
drawtext( 逃顶,h*1.01,' ←快跑'),colorffffff;
平衡:=if(currbarscount<=n1,dd+kj/2,drawnull),color00ffff,nodraw;
压力:=if(currbarscount<=n1,gd-kj*0.191,drawnull),colorff00ff,nodraw;
支撑:=if(currbarscount<=n1,dd+kj*0.191,drawnull),color00ff00,nodraw;
高区:if(currbarscount<=n1,gd,drawnull),colorred,dotline;
低区:if(currbarscount<=n1,dd,drawnull),color00ff00,dotline;
a1:=barslast(month!=ref(month,1))+1;
月:=(close/ref(close,a1)-1)*100,color00ffff,nodraw;
drawkline(h,o,l,c);
drawtext(currbarscount=1,压力,'0.809'),color0000ff;
drawtext(currbarscount=1,平衡,'0.500'),colorffffff;
drawtext(currbarscount=1,支撑,'0.191'),color00ffff;
c1:=c>=jz;
c2:=c<jz;
aa:=c1>=c2 ;
bb:=c2>c1 ;
stickline(aa,c,o,3,0),colorred;
stickline(aa,h,l,0,0),colorred;
stickline(bb,c,o,3,0),color00ff00;
stickline(bb,h,l,0,0),color00ff00;
stickline(aa,close,open,3,0),color000099;
stickline(aa,close,open,2.2,0),color0000cc;
stickline(aa,close,open,1.5,0),color0000ff;
stickline(aa,close,open,0.5,0),colorcc66ff;
stickline(bb,close,open,3,0),colorff7700;
stickline(bb,close,open,2.2,0),colorff9900;
stickline(bb,close,open,1.5,0),colorffbb00;
stickline(bb,close,open,0.5,0),colorcyan;
mn1:sum(amov,nd)/sum(vol,nd),colorff0000,linethick3;
notext1:if(c>mn1,mn1,drawnull),linethick3,color0000ff;
notext2:if(c<mn1,mn1,drawnull),linethick3,color00ffff;
aaa:= c>mn;
bbb:= c<mn;
ddd:= a1x>=0;
ee:= a1x<0;
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);
aad:=最低3;
stickline(aaa,aad-0.000*aad,aad-0.030*aad,4,0),colorred;
stickline(bbb,aad-0.005*aad,aad-0.025*aad,4,0),color00dddd;
stickline(ddd,aad-0.035*aad,aad-0.065*aad,4,0),colordd00dd;
stickline(ee,aad-0.040*aad,aad-0.060*aad,4,0),coloraaaaaa;
zero : 0;
var1=hhv(var1,20);
多转空:=((((llv(macd,4)>0) and (macd<ref(macd,1))) and (ref(macd,1)>ref(macd,2))) and (ref(macd,2)>ref(macd,3)));
空转多:=((((hhv(macd,4)<0) and (macd>ref(macd,1))) and (ref(macd,1)<ref(macd,2))) and (ref(macd,2)<ref(macd,3)));
drawicon(多转空,macd,2);
drawicon(空转多,macd,1);
上一指标公式:Z捕捉强庄指标公式详解 同花顺捕捉
下一指标公式:后天涨停指标公式详解 同花顺后天指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文ZMACD缠论划线7指标公式详解 同花顺划线仅供学习研究。