做个选股公式(出现紫色柱子)

呀…肉肉 2024-05-30 19:54:40
最佳回答
a:=(ema(c,12)-ema(c,25));th:=max(high,ref(close,1));tl:=min(low,ref(close,1));acc1:=sum(close-tl,4)/sum(th-tl,4);acc2:=sum(close-tl,8)/sum(th-tl,8);acc3:=sum(close-tl,16)/sum(th-tl,16);uos:=(acc1*8*16+acc2*4*16+acc3*4*8)/(4*8+4*16+8*16),colorred;mid:=(3*close+low+open+high)/6;牛线:=(20*mid+19*ref(mid,1)+18*ref(mid,2)+17*ref(mid,3)+16*ref(mid,4)+15*ref(mid,5)+14*ref(mid,6)+13*ref(mid,7)+12*ref(mid,8)+11*ref(mid,9)+10*ref(mid,10)+9*ref(mid,11)+8*ref(mid,12)+7*ref(mid,13)+6*ref(mid,14)+5*ref(mid,15)+4*ref(mid,16)+3*ref(mid,17)+2*ref(mid,18)+ref(mid,20))/210;马线:=ma(牛线,6);xg1:=c>牛线;a:=max(ma(c,60),ma(c,120));b:=min(ma(c,60),ma(c,120));xg2:=c>=a;e:=max(ma(c,45),ma(c,90));f:=min(ma(c,45),ma(c,90));xg3:=c>e;j:=max(ma(c,30),ma(c,60));k:=min(ma(c,30),ma(c,60));xg4:=c>j;xg:=xg1 and xg2 and xg3 and xg4;n:=20;sat:=if((amount/c)/(hhv(amount,n)/hhv(c,n))>1,1,(amount/c)/(hhv(amount,n)/hhv(c,n)));sat=1 and xg=1 and ref(xg,1)<1 and barscount(c);公式已测试通过!希望能够帮助你! 20210311
汇率兑换计算器

类似问答
汇率兑换计算器

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

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