{参数:n:1,100,5;s:0,2,2;}
get:zig(3,n),coloryellow;
pl5:=zig(3,5);
en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2) and ref(zig(3,5),2)<=ref(zig(3,5),3);
ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2) and ref(zig(3,5),2)>=ref(zig(3,5),3);
pl10:=zig(3,13);
en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2) and ref(zig(3,10),2)<=ref(zig(3,10),3);
ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2) and ref(zig(3,10),2)>=ref(zig(3,10),3);
pl20:=zig(3,26);
en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2) and ref(zig(3,20),2)<=ref(zig(3,20),3);
ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2) and ref(zig(3,20),2)>=ref(zig(3,20),3);
pl40:=zig(3,55);
走强1:=barslast(pl5<ref(pl5,1));
走弱1:=barslast(pl5>ref(pl5,1));
走强2:=barslast(pl10<ref(pl10,1));
走弱2:=barslast(pl10>ref(pl10,1));
走强3:=barslast(pl20<ref(pl20,1));
走弱3:=barslast(pl20>ref(pl20,1));
ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0);
ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0);
dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0);
dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0);
ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0);
ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0);
dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0);
dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0);
drawtext(en1 and dtjz5=1,l*0.98,'(ⅰ)'),colorffff00;
drawtext(ex1 and dtjd5=2,h*1.02,'(ⅱ)'),colorffff00;
drawtext(en2 and ztjz5=1,l*0.98,'(ⅲ)'),colorffff00;
drawtext(ex1 and pl10>ref(pl10,1) and ztjd5=1,h*1.02,'⑴'),colorff0000;
drawtext(en1 and pl10>ref(pl10,1) and ztjz5=2,l*0.98,'⑵'),colorff0000;
drawtext(ex1 and pl10>ref(pl10,1) and ztjz5=2,h*1.02,'⑶'),colorff0000;
drawtext(en1 and pl10>ref(pl10,1) and ztjz5=3,l*0.98,'⑷'),colorff0000;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.02,'⑸'),colorff0000;
drawtext(en2 and dtjz10=1,l*0.94,'【a】'),color00ff00;
drawtext(ex2 and dtjd10=2,h*1.03,'【b】'),color00ff00;
drawtext(en3 and ztjz10=1,l*0.94,'【c】'),color00ff00;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.04,'①'),linethick3,colorffffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=2,l*0.94,'②'),linethick3,colorffffff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) and ex2,h*1.04,'③'),linethick3,colorffffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=3,l*0.94,'④'),linethick3,colorffffff;
dmlj:=hhv(h,120);
e:=(h+l+o+2*c)/5;
crtp:=e+(h-l);
crzl:=2*e-l;
crzc:=2*e-h;
crfz:=e-(h-l);
crxl:=(e+crtp+crzl+crzc+crfz)/5;
高:=const(crtp),colorred;
阻:=const(crzl),colorc7c9ff;
支:=const(crzc),color7c9cff;
反:=const(crfz),colordd00dd;
心理:=const(crxl);
高tp:drawline(s>1&&currbarscount=5+1,高,islastbar,高,1),color0000ff;
if(s=1, crtp,drawnull),colorred;
阻力:drawline(s>1&&currbarscount=5+1,阻,islastbar,阻,1),colorc7c9ff;
if(s=1, crzl,drawnull),colorc7c9ff;
支撑:drawline(s>1&&currbarscount=5+1,支,islastbar,支,1),color7c9cff;
if(s=1, crzc,drawnull),color7c9cff;
反转价:drawline(s>1&&currbarscount=5+1,反,islastbar,反,1),colordd00dd;
if(s=1, crfz,drawnull),colordd00dd;
次日心理价:drawline(s>1&&currbarscount=5+1,心理,islastbar,心理,1),colorgreen;
if(s=1, crxl,drawnull),colorgreen;
drawtext(islastbar,反,'反转价'),linethick1,colordd00dd;
drawtext(islastbar,支,'支撑'),linethick1,color7c9cff;
drawtext(islastbar,阻,'阻力'),linethick1,colorc7c9ff;
drawtext(islastbar,高,'高tp'),linethick1,color0000ff;{
drawtext(islastbar,心理,'心理价'),colorgreen;}
t1:=const(llvbars(low,10));
t1high:=const(ref(high,t1));
cc:=const(currbarscount);
t2:=const(barslast(currbarscount>cc+t1 and h>t1high));
t2high:=const(ref(high,t2));
t3:=const(barslast(currbarscount>cc+t2 and high>t2high));
t3high:=const(ref(high,t3));
猎击线:drawline(currbarscount=t3+1, t3high, islastbar, t3high, 1),linethick2,color0000ff;
drawtext(islastbar, t3high, '猎击线')linethick1,color0000ff;
上一指标公式:特好用的_买卖点指标详解 通达信好用
下一指标公式:权证必胜指标详解 通达信权证
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文新结构波浪指标详解 通达信结构通达信仅供学习研究。