趋势指标,大盘背离抄底逃顶
a1:=c>=ref(c,4);
a:=c<ref(c,4);
aa:=c<ref(c,4) and ref(a1,1);
t:=barslast(aa),nodraw;
m:=(t=0 and refx(&t=1 and not(a),1)) or (refx(&t=2 and not(a),2)) or (refx(&t=3 and not(a),3)) or (refx(&t=4 and not(a),4)) or (refx(&t=5 and not(a),5))
or (refx(&t=6 and not(a),6)) or (refx(&t=7 and not(a),7)) or (refx(&t=8 and not(a),8));
m1:=t=1 and refx(&t=2 and not(a),1) or (refx(&t=3 and not(a),2)) or (refx(&t=4 and not(a),3)) or (refx(&t=5 and not(a),4)) or (refx(&t=6 and not(a),5))
or (refx(&t=7 and not(a),6)) or (refx(&t=8 and not(a),7));
m2:=t=2 and refx(&t=3 and not(a),1) or (refx(&t=4 and not(a),2)) or (refx(&t=5 and not(a),3)) or (refx(&t=6 and not(a),4)) or (refx(&t=7 and not(a),5)) or (refx(&t=8 and not(a),6));
m3:=t=3 and refx(&t=4 and not(a),1)or (refx(&t=5 and not(a),2)) or (refx(&t=6 and not(a),3)) or (refx(&t=7 and not(a),4)) or (refx(&t=8 and not(a),5));
m4:=t=4 and refx(&t=5 and not(a),1) or (refx(&t=6 and not(a),2)) or (refx(&t=7 and not(a),3)) or (refx(&t=8 and not(a),4));
m5:=t=5 and refx(&t=6 and not(a),1) or (refx(&t=7 and not(a),2)) or (refx(&t=8 and not(a),3));
m6:=t=6 and refx(&t=7 and not(a),1) or (refx(&t=8 and not(a),2));
m7:=t=7 and refx(&t=8 and not(a),1);
n:=t=1 and ref(t=0 and aa,1) and a;
n1:=t=2 and ref(n,1) and a;
n2:=t=3 and ref(n1,1) and a;
n3:=t=4 and ref(n2,1) and a;
n4:=t=5 and ref(n3,1) and a;
n5:=t=6 and ref(n4,1) and a;
n6:=t=7 and ref(n5,1) and a;
n7:=t=8 and ref(n6,1) and a;
drawtext(t=0,h*1.02,'1'),colorgreen;
drawtext(n,h*1.02,'2'),colorgreen;
drawtext(n1,h*1.02,'3'),colorgreen;
drawtext(n2,h*1.02,'4'),colorgreen;
drawtext(n3,h*1.02,'5'),colorgreen;
drawtext(n4,h*1.02,'6'),colorgreen;
drawtext(n5,h*1.02,'7'),colorgreen;
drawtext(n6,h*1.02,'8'),colorgreen;
drawtext(n7,h*1.02,'9'),coloryellow;
drawicon(n7,h*1.04,1),colorgreen;
drawtext(m,h*1.02,'1'),colorblack;
drawtext(m1,h*1.02,'2'),colorblack;
drawtext(m2,h*1.02,'3'),colorblack;
drawtext(m3,h*1.02,'4'),colorblack;
drawtext(m4,h*1.02,'5'),colorblack;
drawtext(m5,h*1.02,'6'),colorblack;
drawtext(m6,h*1.02,'7'),colorblack;
drawtext(m7,h*1.02,'8'),colorblack;
b1:=c<=ref(c,4);
b:=c>ref(c,4);
bb:=c>ref(c,4) and ref(b1,1);
t1:=barslast(bb),nodraw;
m111:=(t1=0 and refx(&t1=1 and not(b),1)) or (refx(&t1=2 and not(b),2)) or (refx(&t1=3 and not(b),3)) or (refx(&t1=4 and not(b),4)) or (refx(&t1=5 and not(b),5))
or (refx(&t1=6 and not(b),6)) or (refx(&t1=7 and not(b),7)) or (refx(&t1=8 and not(b),8));
m11:=t1=1 and refx(&t1=2 and not(b),1) or (refx(&t1=3 and not(b),2)) or (refx(&t1=4 and not(b),3)) or (refx(&t1=5 and not(b),4)) or (refx(&t1=6 and not(b),5))
or (refx(&t1=7 and not(b),6)) or (refx(&t1=8 and not(b),7));
m22:=t1=2 and refx(&t1=3 and not(b),1) or (refx(&t1=4 and not(b),2)) or (refx(&t1=5 and not(b),3)) or (refx(&t1=6 and not(b),4)) or (refx(&t1=7 and not(b),5)) or (refx(&t1=8 and not(b),6));
m33:=t1=3 and refx(&t1=4 and not(b),1)or (refx(&t1=5 and not(b),2)) or (refx(&t1=6 and not(b),3)) or (refx(&t1=7 and not(b),4)) or (refx(&t1=8 and not(b),5));
m44:=t1=4 and refx(&t1=5 and not(b),1) or (refx(&t1=6 and not(b),2)) or (refx(&t1=7 and not(b),7)) or (refx(&t1=8 and not(b),4));
m55:=t1=5 and refx(&t1=6 and not(b),1) or (refx(&t1=7 and not(b),2)) or (refx(&t1=8 and not(b),3));
m66:=t1=6 and refx(&t1=7 and not(b),1) or (refx(&t1=8 and not(b),2));
m77:=t1=7 and refx(&t1=8 and not(b),1);//www.goodgongshi.com
n111:=t1=1 and ref(t1=0 and bb,1) and b;
n11:=t1=2 and ref(n111,1) and b;
n22:=t1=3 and ref(n11,1) and b;
n33:=t1=4 and ref(n22,1) and b;
n44:=t1=5 and ref(n33,1) and b;
n55:=t1=6 and ref(n44,1) and b;
n66:=t1=7 and ref(n55,1) and b;
n77:=t1=8 and ref(n66,1) and b;
drawtext(t1=0,h*1.02,'1'),color9900cc;
drawtext(n111,h*1.02,'2'),color9900cc;
drawtext(n11,h*1.02,'3'),color9900cc;
drawtext(n22,h*1.02,'4'),color9900cc;
drawtext(n33,h*1.02,'5'),color9900cc;
drawtext(n44,h*1.02,'6'),color9900cc;
drawtext(n55,h*1.02,'7'),color9900cc;
drawtext(n66,h*1.02,'8'),color9900cc;
drawtext(n77,h*1.02,'9'),colorffff00;
drawicon(n77,h*1.04,2),colorred;
drawtext(m111,h*1.02,'1'),colorblack;
drawtext(m11,h*1.02,'2'),colorblack;
drawtext(m22,h*1.02,'3'),colorblack;
drawtext(m33,h*1.02,'4'),colorblack;
drawtext(m44,h*1.02,'5'),colorblack;
drawtext(m55,h*1.02,'6'),colorblack;
drawtext(m66,h*1.02,'7'),colorblack;
drawtext(m77,h*1.02,'8'),colorblack;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文九转系列趋势大盘背离抄底逃顶指标公式详解 同花顺背离大盘仅供学习研究。