{n :1,100 ,9}
nn:=100;
高点:=const(hhv(h,nn)),nodraw;
低点:=const(llv(l,nn)),nodraw;
jrh:=hhv(c,2);
jrl:=llv(c,2);
ma3:=ma(close,3);
ytsl:=(3*close+low+open+high)/6;
r1:=(close>ref(close,1) and close>ref(close,2));
r2:=(ref(r1,1) and close<=ref(close,1) and close>=ref(close,2));
r3:=(ref(r2,1) and close>=ref(close,1) and close<=ref(close,2));
r4:=(ref(r3,1) and close<=ref(close,1) and close>=ref(close,2));
r5:=(ref(r4,1) and close>=ref(close,1) and close<=ref(close,2));
r6:=(ref(r5,1) and close<=ref(close,1) and close>=ref(close,2));
r7:=(ref(r6,1) and close>=ref(close,1) and close<=ref(close,2));
r8:=(ref(r7,1) and close<=ref(close,1) and close>=ref(close,2));
r9:=(ref(r8,1) and close>=ref(close,1) and close<=ref(close,2));
ra:=(ref(r9,1) and close<=ref(close,1) and close>=ref(close,2));
rb:=(ref(ra,1) and close>=ref(close,1) and close<=ref(close,2));
rc:=(ref(rb,1) and close<=ref(close,1) and close>=ref(close,2));
rd:=(close<ref(close,1) and close<ref(close,2));
re:=(ref(rd,1) and close>=ref(close,1) and close<=ref(close,2));
rf:=(ref(re,1) and close<=ref(close,1) and close>=ref(close,2));
r10:=(ref(rf,1) and close>=ref(close,1) and close<=ref(close,2));
r11:=(ref(r10,1) and close<=ref(close,1) and close>=ref(close,2));
r12:=(ref(r11,1) and close>=ref(close,1) and close<=ref(close,2));
r13:=(ref(r12,1) and close<=ref(close,1) and close>=ref(close,2));
r14:=(ref(r13,1) and close>=ref(close,1) and close<=ref(close,2));
r15:=(ref(r14,1) and close<=ref(close,1) and close>=ref(close,2));
r16:=(ref(r15,1) and close>=ref(close,1) and close<=ref(close,2));
r17:=(ref(r16,1) and close<=ref(close,1) and close>=ref(close,2));
r18:=(ref(r17,1) and close>=ref(close,1) and close<=ref(close,2));
r19:=ref(rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,1) and r1;
r1a:=((ref(r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc,1)) and rd);
var3:=if(c<200 ,ma(cost(80),3),2500),nodraw;
var4:=(((high + low) + close) / 3);
var5:=ema(((((open + high) + low) + close) / 4),2330);
var6:=(var5 + ((var5 * 6) / 100));
短买:=r19,nodraw,color00dd00;
离场:=r1a,nodraw,color2288ee;
持股:=r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc,nodraw,color0000ff;
阴观望:=rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,nodraw,color999999;
急速超跌:=(close-ma(close,34))/ma(close,34)*100<-14,colorbbbbbb,nodraw;
q1:=const(if(短买,0,if(离场,100,if(持股,200,if(急速超跌,100,150))))),nodraw;
q2:=const(if(短买,150,if(离场,180,if(持股,0,if(急速超跌,100,50))))),nodraw;
q3:=const(if(短买,0,if(离场,20,if(持股,70,if(急速超跌,100,150))))),nodraw;
drawband(高点,rgb(q1,q2,q3),低点,drawnull);ma5:=ma(close,5),linethick2;
ma13:ma(close,13),linethick2;
drawband(ma5,rgb(250,200,00),ma13,rgb(00,150,200));
ma34:=ma(close,34),pointdot,linethick4,coloryellow;
gj:=(c+h+l+o)/4;
日阻力:=l+(gj-l)+(c-l),linethick0;
日支撑:=l+(c-gj),linethick0;
日压:ref(日阻力 , 1),nodraw,color00ff00;
日支:ref(日支撑 , 1),nodraw,coloryellow;
stickline(islastbar,日压,日压,30,1),linethick2,color00ff00;
stickline(islastbar,日支,日支,30,1),linethick2,coloryellow;
fc:=c;
a:=ema(fc,3);
b:=ema(fc,5);
z:=ema(fc,15);
z2:=ma(a,5);
玄悟斋主:=ma(z,7);
個:=ema(z2,3);
十:=ema(z2,5) ;
百:=ema(z2,7);
千:=ema(z2,9);
万:=ema(z2,11);
k1:=backset(個<ref(個,1),2);
谈:if(k1,個,drawnull),color00aa00,linethick1;
k2:=backset(十<ref(十,1),2);
笑:if(k2,十,drawnull),color00bb00,linethick1;
k3:=backset(百<ref(百,1),2);
皆:if(k3,百,drawnull),color00cc00,linethick1;
k4:=backset(千<ref(千,1),2);
鸿:if(k4,千,drawnull),color00dd00,linethick1;
k5:=backset(万<ref(万,1),2);
儒:if(k5,万,drawnull),color00ee00,linethick1;
k6:=backset(個>ref(個,1),2);
往:if(k6,個,drawnull),color0000aa,linethick1;
k7:=backset(十>ref(十,1),2);
来:if(k7,十,drawnull),color0000bb,linethick1;
k8:=backset(百>ref(百,1),2);
无:if(k8,百,drawnull),color0000cc,linethick1;
k9:=backset(千>ref(千,1),2);
白:if(k9,千,drawnull),color0000dd,linethick1;
k10:=backset(万>ref(万,1),2);
丁:if(k10,万,drawnull),color0000ee,linethick1;
個z:=ema(玄悟斋主,3) ;
十z:=ema(玄悟斋主,5);
百z:=ema(玄悟斋主,7);
千z:=ema(玄悟斋主,9);
万z:=ema(玄悟斋主,11);
b1:=backset(個z<ref(個z,1),2);
禅:if(b1,個z,drawnull),colorffaa11,linethick1;
b2:=backset(十z<ref(十z,1),2);
味:if(b2,十z,drawnull),colorffbb22,linethick1;
b3:=backset(百z<ref(百z,1),2);
闲:if(b3,百z,drawnull),colorffcc33,linethick1;
b4:=backset(千z<ref(千z,1),2);
里:if(b4,千z,drawnull),colorffdd44,linethick1;
b5:=backset(万z<ref(万z,1),2);
得:if(b5,万z,drawnull),colorffee55,linethick1;
b6:=backset(個z>ref(個z,1),2);
道:if(b6,個z,drawnull),colorf67acd,linethick1;
b7:=backset(十z>ref(十z,1),2);
心:if(b7,十z,drawnull),colorf68acd,linethick1;
b8:=backset(百z>ref(百z,1),2);
静:if(b8,百z,drawnull),colorf69acd,linethick1;
b9:=backset(千z>ref(千z,1),2);
中:if(b9,千z,drawnull),colorf70acd,linethick1;
b10:=backset(万z>ref(万z,1),2);
参:if(b10,万z,drawnull),colorf71acd,linethick1;
bias0:= (c-ma(c,2))/ma(c,2)*100;
hxl:=v/capital*100;
d1:=indexc;
d2:=ma(d1,13);
dr2:=d2>1.050*d1;
e1:=(c-hhv(c,12))/hhv(c,12)*10;
e2:=(c-ref(c,26))/ref(c,26)*10;
e3:=ma(c,3);
sj1:=dr2;
sj2:=e2<-2.30;
sj3:=bias0<-2.7;
sj5:=sj1 and sj2 and sj3;
sj6:=cross(0.5,sj5);
js1:=cross(sj6,0.5);js2:=barslast(js1=1);
js3:=js2<=5 and c<ref(c,js2);
合璧:=sj6 or js3;
斋主:if(合璧=1,l*0.999,drawnull),circledot,colorligreen;
中压:=xma(gj,20)*(1+80/1000),colorgreen,linethick2;
中支:=xma(gj,32)*(1-100/1000),colormagenta,linethick2;
幅度:=100*(中压-中支)/中支;
分水线:=(ma(close,3)+ma(close,7)+ma(close,13)+ma(close,18))/4;
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddd1:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力:=if(cross(d24,ddd1),high,ref(high,barslast(cross(d24,ddd1)))),colorffffff;
决策:if(islastbar,压力,drawnull),colormagenta;
stickline(islastbar ,决策,决策,60,1),linethick3,colormagenta;
底部:=llv(high,30),color00ff00;
超跌:if(islastbar,底部,drawnull),colorred;
stickline(islastbar ,超跌,超跌,60,1),linethick3,colorred;
aa:=ref(h,n)=hhv(h,2*n+1);aa1:=ref(l,n)=llv(l,2*n+1);
qy:=backset(aa,n+1);qy1:=backset(aa1,n+1);
cc:=filter(qy,n) and h=hhv(h,n+1);cc1:=filter(qy1,n) and l=llv(l,n+1);
ddd:=barslast(cc);dd1:=barslast(cc1);
gdts:=if(cc,currbarscount,0);ddts:=if(cc1,currbarscount,0);
dingbuts:=if(ddd,ref(gdts,ddd),gdts);ddts1:=if(dd1,ref(ddts,dd1),ddts);
gdcs1:=const(dingbuts);ddcs1:=const(ddts1);
gdcs13:=const(ref(high,gdcs1-1));ddcs13:=const(ref(l,ddcs1-1));
dingbuts1:=ref(dingbuts,ddd+1);ddts2:=ref(ddts1,dd1+1);
gdcs2:=const(dingbuts1);ddcs2:=const(ddts2);
mz:=intpart(3*n/5);
aaa:=ref(h,mz)=hhv(h,2*mz+1);
qyy:=backset(aaa,mz+1);
ccc:=filter(qyy,mz) and h=hhv(h,mz+1);
dddd:=barslast(ccc),nodraw;
gdtss:=if(ccc,currbarscount,0);
dingbutss:=if(dddd,ref(gdtss,dddd),gdtss);
gdcs11:=const(dingbutss);
dingbuts11:=ref(dingbutss,dddd+1);
gdcs22:=const(dingbuts11);
aa11:=ref(l,mz)=llv(l,2*mz+1);
qy11:=backset(aa11,mz+1);
cc11:=filter(qy11,mz) and l=llv(l,mz+1);
dd11:=barslast(cc11);
ddtss:=if(cc11,currbarscount,0);
ddts11:=if(dd11,ref(ddtss,dd11),ddtss);
ddcs11:=const(ddts11);
ddts22:=ref(ddts11,dd11+1);
ddcs22:=const(ddts22);
zgd:=hhv(h,60)*1.01.00;
zgd2:=const(zgd);
高点z:=const(hhv(h,100)),nodraw;
低点z:=const(llv(l,100)),nodraw;
高点压力m:=drawline(currbarscount=gdcs22,h,currbarscount=gdcs11,h,1),colorred,linethick1;
低点支撑m:=drawline(currbarscount=ddcs22,l,currbarscount=ddcs11,l,1) colorred,linethick1;
高点压力1:=drawline(currbarscount=gdcs2,h,currbarscount=gdcs1,h,1) ,colorblue,linethick1;
低点支撑1:=drawline(currbarscount=ddcs2,l,currbarscount=ddcs1,l,1),colorblue,linethick1;
if(between(高点压力m,高点z,低点z),高点压力m,drawnull),colorwhite,linethick1;
if(between(低点支撑m,高点z,低点z),低点支撑m,drawnull),colorwhite,linethick1;
if(between(高点压力1,高点z,低点z),高点压力1,drawnull),colorwhite,linethick1;
if(between(低点支撑1,高点z,低点z),低点支撑1,drawnull),colorwhite,linethick1;
hhz:=hhv(high,5);
llz:=llv(low,5);
hh1:=barslast((hhz > ref(hhz,1)));
ll1:=barslast((llz < ref(llz,1)));
stickline((hh1 > ll1),close,open,2,0),colorgreen;
stickline((hh1 > ll1),high,low,0,0),colorgreen;
stickline((hh1 < ll1),close,open,2,0),colorred;
stickline((hh1 < ll1),high,low,0,0),colorred;
日均价:=(c*3+h+l+o)/6;
zia:=日均价;
裁决:=(ref(zia,1)*0.5+ref(zia,2)+ref(zia,3)*0.5)/2;
var1x:=if(c<裁决 and between(裁决,c,o),1,0);
var4x:=if(c>=裁决 and between(裁决,c,o),1,0);
co:=(c-o);
stickline(var4x,o,o+co/3,3.6,0),colorlimagenta;
stickline(var1x,o,o+co/3,3.6,0),colorgreen;
ma10:=ma(c,10),colorgreen,linethick2;
ma20:=ma(c,20),colorcyan,linethick2;
ma30:=ma(c,30),coloryellow,linethick2;
{ma60:=ma(c,60),colormagenta,linethick2;
ma120:=ma(c,120),colorred,linethick3;}
var1:=(c- llv(l,32)) / (hhv(h,32) - llv(l,32)) * 1.2 * c;
var2:=ema(var1,3);
var3z:=ema(var1,5);
var4z:=ema(var1,7);
vara:=var3z >= var4z and var2 < ref(var2,1);
varb:=var3z < var4z and var2 > ref(var2,1);
超短:=ma(var2,6);
短线:=ma(超短,2);
stickline(filter(varb,3),l*0.985,l*0.995,2,0),colorff00ff;
stickline(cross(短线,超短),l*1.035,l*1.05,3,0),colorblue;
{stickline(cross(短线,超短) and count(cross(短线,超短),10)=2,l*1.045,l*1.06,3,1),colorgreen;}
drawtext(cross(短线,超短) and count(cross(短线,超短),10)=2,l*1.064,'跑'),colorgreen;
drawtext(filter(varb,3),l*0.98,'醒醒'),colorff00ff;
drawtext(cross(短线,超短),l*1.054,'睡觉'),colorwhite;
aaz:=close>ref(close,1) and ref(close,1)>ref(close,2) and ref(close,1)<ref(close,3) and if(ref(close,3)<ref(close,4),1,if(ref(close,4)<ref(close,5),ref(close,1)<ref(close,4) or (ref(close,2)<ref(close,4) and ref(close,3)>=ref(close,5)),if(ref(close,5)<ref(close,6),1,ref(close,6)<ref(close,7))));
bbz:=close<ref(close,1) and ref(close,1)<ref(close,2) and ref(close,1)>ref(close,3) and if(ref(close,3)>ref(close,4),1,if(ref(close,4)>ref(close,5),ref(close,1)>ref(close,4) or (ref(close,2)>ref(close,4) and ref(close,3)<=ref(close,5)),if(ref(close,5)>ref(close,6),1,ref(close,6)>ref(close,7))));
drawtext(aaz and close>ref(open,2),low*0.97,'三平底'),colorwhite;
drawtext(bbz and close<ref(close,2),high*1.02,'三平顶'),colorcyan;
drawtext(currbarscount=20,l*1.2,'★趋势第一★斋主背景提示:绿买,粉持,紫跌,橙灰逃,供参考!'),color00ffff;
上一指标公式:[L-2]动态买进分时指标下载 通达信通达信
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文发斋主趋势变色主图附图优化指标下载 通达信附图源码仅供学习研究。