通达信公式在下面公式里面加上ma均线

?? 2024-12-23 01:22:08
最佳回答
var3:=llv(high,240);var4:=100*(close-var3)/var3;var5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;v**:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;var7:=0;var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;var10:=if(trou**ars(3,16,1)=0 and high>low+0.04,4,0);var11:=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);var12:=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);var13:=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);var14:=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);var15:=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);var16:=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);var17:=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);var18:=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);var19:=ema(close,2)-ema(close,150);买1:=var10;买2:=(var11+var13+var15+var17);卖1:=(var12+var14+var16+var18);b:if(买1>0 or 买2>0,low*0.99,draw**),crossdot,linethick3,coloryellow;drawtext(买1>0 or 买2>0,low*0.99,'买入'),colorred;s:if(卖1>0,high*1.01,draw**),crossdot,linethick3,colorgreen;drawtext(卖1>0,high*1.02,'卖出'),colorgreen;{股灵吧决策}var100:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));var200:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));var300:=(100 - ma(((100 * (hhv(high,5) - close)) / (hhv(high,5) - llv(low,5))),34));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;ma:ma(c,5) ; 20210311
汇率兑换计算器

类似问答
汇率兑换计算器

热门推荐
热门问答
最新问答
推荐问答
新手帮助
常见问题
房贷计算器-九子财经 | 备案号: 桂ICP备19010581号-1 商务联系 企鹅:2790-680461

特别声明:本网为公益网站,人人都可发布,所有内容为会员自行上传发布",本站不承担任何法律责任,如内容有该作者著作权或违规内容,请联系我们清空删除。