drawgbklast(v>1,strip(rgb(0,0,205),rgb(60,179,113),0));
check1:=1-2;
var1m:=if((check1 < 0),(((high + low) + close))/(3),0);
var2m:=if((check1 < 0),((var1m - ma(var1m,14)))/((0.015)*(avedev(var1m,14))),0);
var3m:=if((check1 < 0),((var1m - ma(var1m,70)))/((0.015)*(avedev(var1m,70))),0);
var4m:=if((check1 < 0),if(((((var2m >= 150) and (var2m < 200)) and (var3m >= 150)) and (var3m < 200)),10,0),0);
var5m:=if((check1 < 0),if(((((var2m <= (0 - 150)) and (var2m > (0 - 200))) and (var3m <= (0 - 150))) and (var3m > (0 - 200))),(0 - 10),var4m),0);
var6m:=if((check1 < 0),(((close - ma(close,13)))/(ma(close,13)))*(100),0);
var7m:=if((check1 < 0),(100 - abs(var6m)),0);
var8m:=if((check1 < 0),if((var7m < 90),var7m,100),0);
pjx:=if((check1 < 0),(ma(((100)*((close - llv(close,34))))/((hhv(high,34) - llv(low,34))),5) - 20),0);
短期强弱:pjx,coloryellow;
sw1:= (ema(close,5)*7+ema(close,10)*3)/10;
tt:=(c-sw1)/sw1*100;
pt:=ma(tt,6);
买入:=if((tt<-5),-10,0);
卖出:=if((tt>5 ),10,20);
买入1:=ref(买入,1);
买入2:=ref(买入1,1);
卖出1:=ref(卖出,1);
卖出2:=ref(卖出1,1);
反弹1:if(cross(tt,pt) and 买入1=-10 ,20,0),linethick3;
反弹2:if(cross(tt,pt) and 买入2=-10 ,20,0),linethick3;
回落:if(cross(pt,tt) and 卖出1=10 ,80,100),linethick3;
回落1:if(cross(pt,tt) and 卖出2=10 ,80,100),linethick3;
阳包阴xg:if(ref(open,1)>ref(close,1) and close>ref(open,1) and
open<ref(close,1) and high>ref(high,1) and low<ref(low,1) and
close>open and (close-open)>ema((high-low),90),30,0),coloryellow,linethick2;
varaq:=barscount(close)*3.142/180;
aq2: sin(varaq*8)*100,linethick2,coloryellow;
aq3: cos(varaq*8)*100,linethick2,colorred;
x1z: 0;
drawtext( cross(aq2,aq3),aq2,'变盘日'),colorwhite,align1;
drawtext( cross(aq3,aq2),aq2,'变盘日'),colorwhite,align1;
drawtext( cross(aq2,0),95,'时窗'),colorwhite,align1;
drawtext( cross(aq3,0),95,'时窗'),colorwhite,align1;
drawtext( cross(0,aq2),95,'时窗'),colorwhite,align1;
drawtext( cross(0,aq3),95,'时窗'),colorwhite,align1;
总天数:=hhvbars(h,90);
交换次数:=floor(总天数/21);
判断:=if(交换次数>0,交换次数,0);
判定:=if(判断-ref(判断,1)>0,判断,0);
距上次交换:barslast(判定)+1,linethick0,colorred;{nodraw}
stickline(判定,-100,-50,2,0),coloryellow;
交换次数13:=floor(总天数/34);
判断13:=if(交换次数13>0,交换次数13,0);
判定13:=if(判断13-ref(判断13,1)>0,判断13,0);
距上次交换13:barslast(判定13)+1,linethick0,colorgreen;
stickline(判定13,-100,-20,2,0),colorred;
交换次数21:=floor(总天数/55);
判断21:=if(交换次数21>0,交换次数21,0);
判定21:=if(判断21-ref(判断21,1)>0,判断21,0);
距上次交换21:barslast(判定21)+1,linethick0,colorgreen;
stickline(判定21,-100,0,2,0),colorfff00f;
stickline(距上次交换+距上次交换13+距上次交换21=3 ,0 ,100 ,2 ,0 ),colorred;
总天数2:=llvbars(l,90);
交换次数212:=floor(总天数2/21);
判断212:=if(交换次数212>0,交换次数212,0);
判定212:=if(判断212-ref(判断212,1)>0,判断212,0);
距上次交换212:barslast(判定212)+1,linethick0,colorgreen;{nodraw}
stickline(判定212,100,50,2,0),colorgreen;
交换次数34:=floor(总天数2/34);
判断34:=if(交换次数34>0,交换次数34,0);
判定34:=if(判断34-ref(判断34,1)>0,判断34,0);
距上次交换34:barslast(判定34)+1,linethick0,colorgreen;
stickline(判定34,100,20,2,0),colorffffff;
交换次数55:=floor(总天数2/55);
判断55:=if(交换次数55>0,交换次数55,0);
判定55:=if(判断55-ref(判断55,1)>0,判断55,0);
距上次交换55:barslast(判定55)+1,linethick0,colorgreen;
stickline(判定55,100,100,2,0),colorfff00f;
stickline(距上次交换212+距上次交换34+距上次交换55=3 ,100 ,100 ,2 ,0 ),colormagenta;
立春:=filter(month=2 and (day=3 or day=5 ),2);
雨水:=filter(month=2 and (day=18 or day=20),2);
惊蛰:=filter(month=3 and (day=5 or day=7 ),2);
春分:=filter(month=3 and (day=20 or day=22),2);
清明:=filter(month=4 and (day=3 or day=6 ),2);
谷雨:=filter(month=4 and (day=19 or day=21),2);
立夏:=filter(month=5 and (day=6 or day=8 ),2);
小满:=filter(month=5 and (day=20 or day=22),2);
芒种:=filter(month=6 and (day=5 or day=7 ),2);
夏至:=filter(month=6 and (day=20 or day=22),2);
小暑:=filter(month=7 and (day=6 or day=8 ),2);
大署:=filter(month=7 and (day=22 or day=24),2);
立秋:=filter(month=8 and (day=7 or day=9 ),2);
处暑:=filter(month=8 and (day=22 or day=24),2);
白露:=filter(month=9 and (day=7 or day=9 ),2);
秋分:=filter(month=9 and (day=22 or day=24),2);
寒露:=filter(month=10 and (day=7 or day=9 ),2);
霜降:=filter(month=10 and (day=22 or day=24),2);
立冬:=filter(month=11 and (day=7 or day=9 ),2);
小雪:=filter(month=11 and (day=22 or day=24),2);
大雪:=filter(month=12 and (day=6 or day=8 ),2);
冬至:=filter(month=12 and (day=21 or day=23),2);
小寒:=filter(month=1 and (day=5 or day=7 ),2);
大寒:=filter(month=1 and (day=19 or day=21),2);
drawtext(立春,50,'立春'),colorgreen,align1;
drawtext(雨水,50,'雨水'),colorgreen,align1;
drawtext(惊蛰,50,'惊蛰'),colorgreen,align1;
drawtext(春分,50,'春分'),colorgreen,align1;
drawtext(清明,50,'清明'),colorgreen,align1;
drawtext(谷雨,50,'谷雨'),colorgreen,align1;
drawtext(立夏,50,'立夏'),colormagenta,align1;
drawtext(小满,50,'小满'),colormagenta,align1;
drawtext(芒种,50,'芒种'),colormagenta,align1;
drawtext(夏至,50,'夏至'),colormagenta,align1;
drawtext(小暑,50,'小暑'),colormagenta,align1;
drawtext(大署,50,'大署'),colormagenta,align1;
drawtext(立秋,50,'立秋'),coloryellow,align1;
drawtext(处暑,50,'处暑'),coloryellow,align1;
drawtext(白露,50,'白露'),coloryellow,align1;
drawtext(秋分,50,'秋分'),coloryellow,align1;
drawtext(寒露,50,'寒露'),coloryellow,align1;
drawtext(霜降,50,'霜降'),coloryellow,align1;
drawtext(立冬,50,'立冬'),colorwhite,align1;
drawtext(小雪,50,'小雪'),colorwhite,align1;
drawtext(大雪,50,'大雪'),colorwhite,align1;
drawtext(冬至,50,'冬至'),colorwhite,align1;
drawtext(小寒,50,'小寒'),colorwhite,align1;
drawtext(大寒,50,'大寒'),colorwhite,align1;
az:=barscount(c);
drawtext((az+0)/13=floor((az+0)/13),-50,'转13天'),color00c5ff;
drawtext((az+0)/21=floor((az+0)/21),-50,'转21天'),color0000ff;
drawtext((az+0)/34=floor((az+0)/34),-50,'转34天'),color00ff00;
drawtext((az+0)/55=floor((az+0)/55),-50,'转55天'),color0078ff;
drawtext((az+0)/89=floor((az+0)/89),-50,'转89天'),color00f8b9;
费氏数:={zig(3, 18)>ref(zig(3,18),1)}h=hhv(h,120);
成立距今:=barslast(费氏数);
drawtext(成立距今=(32*1)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*2)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*3)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*4)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*5)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*6)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*7)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*8)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*9)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*10)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*11)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*12)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*13)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*14)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*15)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*16)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*17)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*18)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*19)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*20)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*21)-1,-20,'费氏数'),coloryellow;
drawtext(成立距今=(32*22)-1,-20,'费氏数'),coloryellow;
月1:=month=1 and (day=6 or day=21 or day=25);
月2:=month=2 and (day=6 or day=15 or day=21);
月3:=month=3 and (day=6 or day=20 or day=21);
月4:=month=4 and (day=6 or day=15 or day=21);
月5:=month=5 and (day=6 or day=12 or day=21);
月6:=month=6 and (day=6 or day=14 or day=21);
月7:=month=7 and (day=8 or day=19 or day=23);
月8:=month=8 and (day=6 or day=8 or day=23);
月9:=month=9 and (day=8 or day=18 or day=23);
月10:=month=10 and (day=8 or day=23 or day=31);
月11:=month=11 and (day=8 or day=23 or day=28);
月12:=month=12 and (day=8 or day=23 or day=31);
时间窗:=月1 or 月2 or 月3 or 月4 or 月5 or 月6 or 月7 or 月8 or 月9 or 月10
or 月11 or 月12;
drawtext(时间窗>0,-90,'月时窗'),colorwhite,align1;
xg:=(h=hhv(h,1200));
jo:=(barslast(l=llv(l,1200))-barslast(h=hhv(h,1200)));
ja:=intpart(jo*0.125);
jb:=intpart(jo*0.25) ;
jc:=intpart(jo*0.333);
jd:=intpart(jo*0.375);
je:=intpart(jo*0.5);
jf:=intpart(jo*0.625);
jg:=intpart(jo*0.666);
jh:=intpart(jo*0.75);
jja:=intpart(jo*1.125);
jjb:=intpart(jo*1.25) ;
jjc:=intpart(jo*1.333);
jjd:=intpart(jo*1.375);
jje:=intpart(jo*1.5);
jjf:=intpart(jo*1.625);
jjg:=intpart(jo*1.666);
jjh:=intpart(jo*1.75);
jjja:=intpart(jo*2.125);
jjjb:=intpart(jo*2.25) ;
jjjc:=intpart(jo*2.333);
jjjd:=intpart(jo*2.375);
jjje:=intpart(jo*2.5);
jjjf:=intpart(jo*2.625);
jjjg:=intpart(jo*2.666);
jjjh:=intpart(jo*2.75);
qjjja:=intpart(jo*3.125);
qjjjb:=intpart(jo*3.25) ;
qjjjc:=intpart(jo*3.333);
qjjjd:=intpart(jo*3.375);
qjjje:=intpart(jo*3.5);
qjjjf:=intpart(jo*3.625);
qjjjg:=intpart(jo*3.666);
qjjjh:=intpart(jo*3.75);
rqjjja:=intpart(jo*4.125);
rqjjjb:=intpart(jo*4.25) ;
rqjjjc:=intpart(jo*4.333);
rqjjjd:=intpart(jo*4.375);
rqjjje:=intpart(jo*4.5);
rqjjjf:=intpart(jo*4.625);
rqjjjg:=intpart(jo*4.666);
rqjjjh:=intpart(jo*4.75);
drawtext(barslast(xg)=ja or barslast(xg)=jb or barslast(xg)=jc or barslast(xg)=jd or barslast(xg)=je or barslast(xg)=jf or barslast(xg)=jg or barslast(xg)=jh or barslast(xg)=jja or barslast(xg)=jjb or barslast(xg)=jjc or barslast(xg)=jjd or barslast(xg)=jje or barslast(xg)=jjf or barslast(xg)=jjg or barslast(xg)=jjh
or barslast(xg)=jjja or barslast(xg)=jjjb or barslast(xg)=jjjc or barslast(xg)=jjjd or barslast(xg)=jjje or barslast(xg)=jjjf or barslast(xg)=jjjg or barslast(xg)=jjjh
or barslast(xg)=qjjja or barslast(xg)=qjjjb or barslast(xg)=qjjjc or barslast(xg)=qjjjd or barslast(xg)=qjjje or barslast(xg)=qjjjf or barslast(xg)=qjjjg or barslast(xg)=qjjjh
or barslast(xg)=rqjjja or barslast(xg)=rqjjjb or barslast(xg)=rqjjjc or barslast(xg)=rqjjjd or barslast(xg)=rqjjje or barslast(xg)=rqjjjf or barslast(xg)=rqjjjg or barslast(xg)=rqjjjh
,-10,'等周期'),coloryellow,align1;
sw1z:= (ema(close,5)*7+ema(close,10)*3)/10;
ttc:=(c-sw1z)/sw1z*100;
ptc:=ma(ttc,6);
varf:=troughbars(3,15,1)<1;
hca:=ref(varf,1);
hcb:=ref(varf,2);
hcd:=ref(varf,3);
启动1:=if(filter(varf=1,5) and cross(ttc,ptc),0,-20);
启动2:=if(filter(hca=1,5) and cross(ttc,ptc),0,-20);
启动3:=if(filter(hcb=1,5) and cross(ttc,ptc),0,-20);
启动4:=if(filter(hcd=1,5) and cross(ttc,ptc),0,-20);
启动:if((启动1>-10 or 启动2>-10 or 启动3>-10 or 启动4>-10),60,0),linethick3;
varf1:=peakbars(3,15,1)<1;
hcw:=ref(varf1,1);
hcp:=ref(varf1,2);
hcq:=ref(varf1,3);
回落g1:=if(filter(varf1=1,5) and cross(ptc,ttc),0,20);
回落g2:=if(filter(hcw=1,5) and cross(ptc,ttc),0,20);
回落g3:=if(filter(hcp=1,5) and cross(ptc,ttc),0,20);
回落g4:=if(filter(hcq=1,5) and cross(ptc,ttc),0,20);
回落g:if((回落g1<10 or 回落g2<10 or 回落g3<10 or 回落g4<10),80,0),colorgreen,linethick3 ;
drawtext(启动=60,1,'波段启'),colorwhite,align1;
drawtext(回落g=80,1,'波段回'),colorwhite,align1;
varzxca1:=zig(1,13,1);
北狼㊣买:if(ref(varzxca1,2)>ref(varzxca1,1) and varzxca1>ref(varzxca1,1),30,0);
北狼㊣卖:if(ref(varzxca1,2)<ref(varzxca1,1) and varzxca1<ref(varzxca1,1),30,0);
drawtext(北狼㊣买=30,35,'北㊣买'),colorwhite,align1;
drawtext(北狼㊣卖=30,35,'北㊣卖'),colorwhite,align1;
varza10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
varza11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
varza12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
varza13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
varza14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
varza15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
varza16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
varza17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
varza18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
买d1:=varza10;
买d2:=(varza11+varza13+varza15+varza17);
卖d1:=(varza12+varza14+varza16+varza18);
drawtext(买d1>0 ,12,'异动'),align1,colorwhite;
drawtext(买d2>0,12,'买zig'),align1,colorwhite;
drawtext(卖d1>0,12,'卖zig'),align1,colorwhite;
varm7:=troughbars(3,15,1)<10;
varm8:=if(varm7=1,50,0);
底部:=if(varm8=50,10,0);
未来买入:=(底部=10 and ref(底部,1)=10 and ref(底部,2)=0);
买入m:count(未来买入,3)=1;
drawtext(买入m>0,25,'参考'),align1,colorwhite;
partline(短期强弱,短期强弱>=ref(短期强弱,1),rgb(255,0,0),短期强弱<ref(短期强弱,1),rgb(0,250,0)),linethick3;
上一指标公式:自有玄机加条线L2公式下载 大智慧公式大智慧
下一指标公式:飞龙 大智慧飞龙
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文共振天数 大智慧共振仅供学习研究。