m1:=3;m2:=5;m3:=7;m4:=13;m5:=15;m6:=21;
var1:=llv(high,240);
var2:=100*(close-var1)/var1;
var3:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
var4:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
var5:=0;
var6:=sma(max(close-ref(close,1),0),34,1)/
sma(abs(close-ref(close,1)),7,1)*100;
var7:=sma(max(close-ref(close,1),0),13,1)/
sma(abs(close-ref(close,1)),13,1)*100;
vara:=barscount(close);
varb:=var6<20 and var7<23 and vara>35;
varc:=varb and count(varb,1)=1;
vard:=ema(close,21)-ema(close,8);
vare:=ema(vard,5);
varf:=troughbars(3,6,1)<4 and cross(vard,vare);
var8:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var9:=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);
var10:=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);
var11:=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);
var12:=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);
var13:=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);
var14:=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);
var15:=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);
var16:=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);
var17:=ema(close,2)-ema(close,150);
var1a:=ema(var17,100);
var1b:=2*(var17-var1a);
var1c:=pow(var1b,3)*0.1+pow(var1b,1);
var1d:=sqrt(sqrt(low*high*open*close));
var1e:=ema(var1d*0.97,3);
var1f:=(high+low+close)/3;
var18:=(var1f-ma(var1f,14))/(0.015*avedev(var1f,14));
var19:=cross(var1e,low);
选股买点:= var8,colorred;
组合买:=(var9+var11+var13+var15);
组合卖:=(var10+var12+var14+var16);
黑马线:=if(year<2098 and var1b>0.1,var1c,0);
var20:=选股买点 and varf and varc and var19 and var2<0 and var3=0
and var4=0 and var18<(-110);
drawtext(var11,low,'●介入'),colormagenta , linethick4;
stickline(组合买,close,open,1,0),colorblue;
drawtext(组合买,low,'b'),colorgreen;
stickline(组合卖,close,open,1,0),colorgreen;
drawtext(组合卖,high,'s'),coloryellow;
stickline(选股买点,close,open,1,0),colorblue;
drawtext(选股买点>0,low,'b'),colormagenta;
drawtext(var14,high,'空仓'), linethick3, colorcyan;
drawtext(var18<-110 and 选股买点>0,low,'买入'),colorred ,
linethick3 ;
vaa1:=(zig(3,10) < ref(zig(3,10),1)) and (ref(zig(3,10),1) > ref(zig(3,10),2));
vaa2:=(zig(3,10) > ref(zig(3,10),1)) and (ref(zig(3,10),1) < ref(zig(3,10),2));
drawtext(vaa1,high,'卖出'),coloryellow;
drawtext(vaa2 and (date < 1070804),low,'买入'),coloryellow;
stickline(vaa1 and (date < 1070804),close,open,1.5,0),coloryellow;
stickline(vaa1 and (date < 1070804),high,low,1.5,0),coloryellow;
stickline(vaa2 and (date < 1070804),close,open,1.5,0),colorff00ff;
stickline(vaa2 and (date < 1070804),high,low,1.5,0),colorff00ff;
周线:ma(close,m1),colorwhite;
半月线:ma(close,m2),coloryellow;
月线:ma(close,m3),colormagenta;
季度线:ma(close,m4),colorgreen;
半年线:ma(close,m5),colorcyan;
年线:ma(close,m6),colorblue;
a:=barscount(c);
ah:=hhv(h,200);
al:=llv(l,200);
a0:=(ah-al)/40;
b1:=l-a0;
stickline((a+0)/34=floor((a+0)/34),b1,b1-1.5*a0,3,0),colorf00ff0;
drawtext((a+0)/34=floor((a+0)/34),b1-1*a0,'时间窗'),colorwhite;
x1:=(c+l+h)/3;bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
sqx:=(c-ma(close,13))*100;
diff:ema(ma(sqx,7),1),color00ffff;
dea:ema(diff,7),colorff33ff;macd:(diff-dea)*2,colorstick;
低位金叉:if(cross(diff,dea) and diff<-0.1,0.3,0),coloryellow,pointdot;
stickline(低位金叉,0,15,8,0),coloryellow;drawicon(低位金叉,0.3,1);
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:if(cross(diff,dea) and dea<0 and count(jccount=2,21)=1,0.2,0),colorff00ff,pointdot;
stickline(二次金叉,30,15,8,0),colorff00ff;
a1:=barslast(ref(cross(diff,dea),1));
底背离:if(ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea),0.1,0),colorred,pointdot;
stickline(底背离,45,30,8,0),colorred;drawline(a1=0,dea,底背离,dea,0),colorred;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff),colorgreen;
drawline(a2=0,dea,顶背离,dea,0),colorgreen;
a3:=cross(diff,dea) and dea<0;
零下二次金叉:if(filter(count(a3,21)=2,10),0.05,0),colorwhite,pointdot;
stickline(零下二次金叉,45,60,8,0),colorwhite;
drawtext(cross(diff,dea),diff,'始');
drawtext(cross(dea,diff),dea,'终');
上一指标公式:多空均衡指标公式详解 同花顺均衡
下一指标公式:C斜率指标公式详解 同花顺斜率
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文二次金叉指标公式详解 同花顺仅供学习研究。