请高手将下面的通达信公式转成同花顺的: n1:=3; m2:=ma(c,20),colorgreen; ma10:=ema(c,10),colorwhite;

阿七啥都行 2024-11-28 18:43:39
最佳回答
{同花顺已测试通过,与你要的图像一模一样}n1:=3;m2:=ma(c,20),colorgreen;ma10:=ema(c,10),colorwhite;ma15:=ema(c,15),colorred;var1:=(hhv(high,21)-close)/(hhv(high,21)-llv(low,21))*100;var3:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;v**:=var3-var1;z:=ma(v**,n1);stickline(z>=0 ,o,c,10,1),colorred;stickline(z>=0 ,h,max(o,c),0,1),colorred;stickline(z>=0 ,min(o,c),l,0,1),colorred; stickline(z<0 ,o,c,10,0),colorcyan;stickline(z<0 ,h,max(o,c),0,0),colorcyan;stickline(z<0 ,min(o,c),l,0,0),colorcyan;stickline(z>=0 and m2>c,o,c,10,0),colorcyan;stickline(z>=0 and m2>c,h,max(o,c),0,0),colorcyan;stickline(z>=0 and m2>c,min(o,c),l,0,0),colorcyan; stickline(z<0 and m2<c,o,c,10,1),colorred;stickline(z<0 and m2<c,h,max(o,c),0,0),colorred;stickline(z<0 and m2<c,min(o,c),l,0,0),colorred;金马日线:=ma10,linethick0;金马k线:=c>=ma15 and ma10>ma15 and close>ma15,linethick0 ;partline(金马日线,金马日线>ref(金马日线,1),rgb(250,0,0),金马日线<ref(金马日线,1),rgb(270,270,270)),linethick3;partline(金马k线,金马k线>ref(金马k线,1),rgb(255,0,0),金马k线<ref(金马k线,1),rgb(270,270,270)),linethick0; 20210311
汇率兑换计算器

类似问答
汇率兑换计算器

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

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