求分时图指标公式 股价大于均价并且持续时间大于60分钟。求60分钟股价大于均价的选股公式

萌糊小霸王 2024-05-27 07:40:36
最佳回答
ab:=ema(((2*c+h+l)/4-llv(low,25))/(hhv(high,25)-llv(low,25))*100,8);ba:=ema(ab,5);a15{高}:=refdate(ref(hhv(h,89),5),date);b1{低}:=refdate(ref(llv(l,89),5),date);dy{中}:=((a15)+(b1))/2;箱顶:=if(ab>0 and ab-ba<=0,a15,a15),linethick1,color00ffff;箱腰:=if(ab>0 and ab-ba<=0,dy,dy),linethick1,color00ffff;箱低:=if(ab>0 and ab-ba<=0,b1,b1),linethick1,color00ffff;高1:=if(ab>0 and ab-ba>0,a15,draw**),linethick1,colorcdcdc1;中1:=if(ab>0 and ab-ba>0,dy,draw**),linethick1,colorcdcdc1;低1:=if(ab>0 and ab-ba>0,b1,draw**),linethick1,colorcdcdc1;顶周期:=toprange(h);底周期:=lowrange(l);上内:=llvbars(h,顶周期);上外:=llvbars(l,顶周期);下内:=hhvbars(l,底周期);下外:=hhvbars(h,底周期);上力度:=hhv(l,上内+1)>llv(h,上内+1);下力度:=hhv(l,下内+1)>llv(h,下内+1);上包含:=count(l>=ref(l,1),上外)>2 and count(h>=ref(h,1),上内)>2;下包含:=count(h<=ref(h,1),下外)>2 and count(l<=ref(l,1),下内)>2; 顶0:=顶周期 and 上力度 and 上包含 and 上外>3;底0:=底周期 and 下力度 and 下包含 and 下外>3;顶分天数:=barslast(顶0);底分天数:=barslast(底0);含中间k线:=if(顶分天数=0,底分天数,顶分天数)>=3;顶:=顶0 and 含中间k线 and h=hhv(h,barslast(底0));底:=底0 and 含中间k线 and l=llv(l,barslast(顶0));notext上笔划线:drawline(底,l,顶,h,0),colorlired,linethick1;notext下笔划线:drawline(顶,h,底,l,0),colorligreen,linethick1;分界点:=notext上笔划线 and notext下笔划线;位置调整:=if(period=11,0.02,{年}if(period=10,0.02,{季}if(period=9,0.02, {多日}if(period=8,0.001,{多分钟}if(period=7,0.02, {月}if(period=6,0.01, {周}if(period=5,0.005, {日}if(period=4,0.002,{60f}if(period=3,0.001,{30f}if(period=2,0.001,{15f}if(period=1,0.0003,{5f}if(period=0,0.0002,{1f}0))))))))))));drawnumber(分界点 and 顶,h+h*位置调整,h),colorligreen;drawnumber(分界点 and 底,l,l),colorlimagenta;这是我用的最顺的指标。 20210311
汇率兑换计算器

类似问答
汇率兑换计算器

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

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