缠论108课教你炒股
kx:="chanlun@kxian"; kxg:="chanlun@kxg"; kxd:="chanlun@kxd"; kxfx:="chanlun@kxfx"; 笔:="chanlun@bi"; 笔周期:"chanlun@bilast",linethick0, colorff00ff; bilast:="chanlun@bilast";{笔周期}; 段:="chanlun@duan"; 段周期:"chanlun@duanlast", linethick0, colorffffff; duanlast:="chanlun@duanlast"; {段周期}; 中枢:="chanlun@zs"; zszg:="chanlun@zszg"; zszd:="chanlun@zszd"; zsgg:="chanlun@zsgg"; zsdd:="chanlun@zsdd"; zszz:="chanlun@zszz"; zsks:="chanlun@zskslast"; zsjs:="chanlun@zsjslast"; bifx:=-ref(笔,bilast); duanfx:=-ref(段,duanlast); kxqj:="chanlun@kxqj"; {画中枢begin} {以背景方式画} stickline(zszg>zszd and duanfx=1, zszg, zszd, 10, 1),color8e236b; stickline(zszg>zszd and duanfx=-1, zszg, zszd, 10, 1), color007700; {中枢震荡监视器} drawline(zsks=1, zszz, zsjs=1, zszz, 0), colorffffff; {画中枢end} {顶底分型} stickline(kx>0, kxg, kxd, 5, 1),color007700,linethick2; stickline(kx<0, kxg, kxd, 5, 1),color00ffff,linethick2; {笔段} stickline(笔=1, kxg, kxd, 5, 1), colorgreen, linethick2; stickline(笔=-1, kxg, kxd, 5, 1), colorred, linethick2; stickline(段=1, kxg, kxd, 5, 0), color007700, linethick2; stickline(段=-1, kxg, kxd, 5, 0), color0000cc, linethick2; {画k线end} {画笔段} drawline(笔=1,h,笔=-1,l,0),colorblue,linethick2; drawline(笔=-1,l,笔=1,h,0),colorff00ff ,linethick2; drawline(段=1,h,段=-1,l,0),color007700, linethick2; drawline(段=-1,l,段=1,h,0),colorred, linethick2; {笔高低点 周期 力度 提示} drawtext(笔= 1, h*1.038, ''+h+''), colorffffff, align1, valign1; drawtext(笔=-1, l*0.96, ''+l+''), colorffffff, align1, valign1; var3:=llv(h,240); var4:=100*(c-var3)/var3; var5:=(c-llv(l,528))/(hhv(h,528)-llv(l,528))*100; var6:=(c-llv(c,530))/(hhv(c,530)-llv(c,530))*100; var7:=0; var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100; var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100; var10:=if(troughbars(3,16,1)=0 and h>l+0.04,4,0); var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3); var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3); var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3); var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3); var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3); var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3); var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3); var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3); var19:=ema(c,2)-ema(c,150); 买1:=var10; 买2:=(var11+var13+var15+var17); 卖1:=(var12+var14+var16+var18); drawtext(买1>0 or 买2>0,l*0.985,'买'),color00ffff; drawtext(卖1>0,h*1.01,'卖'),color00ffff; app:=(vol)/((h-l)*(2)-abs(c-o)); zl:=if((h>o),(app)*(h-l),if((l<o),(app)*(h-o+c-l),(vol)/(2))); sf:=if((h>o),0-(app)*(h-c+o-l),if((l<o),0-(app)*(h-l),0-(vol)/(2))); 库存能量:=ma(zl+sf,2); 库存平均:=ma(zl+sf,5); get:zig(3,5),coloryellow,linethick3; pl5:=zig(3,5); en1:=pl5>ref(pl5,1) and ref(pl5,1)<=ref(pl5,2) and ref(pl5,2)<=ref(pl5,3); ex1:=pl5<ref(pl5,1) and ref(pl5,1)>=ref(pl5,2) and ref(pl5,2)>=ref(pl5,3); pl10:=zig(3,10); en2:=pl10>ref(pl10,1) and ref(pl10,1)<=ref(pl10,2) and ref(pl10,2)<=ref(pl10,3); ex2:=pl10<ref(pl10,1) and ref(pl10,1)>=ref(pl10,2) and ref(pl10,2)>=ref(pl10,3); pl20:=zig(3,20); en3:=pl20>ref(pl20,1) and ref(pl20,1)<=ref(pl20,2) and ref(pl20,2)<=ref(pl20,3); ex3:=pl20<ref(pl20,1) and ref(pl20,1)>=ref(pl20,2) and ref(pl20,2)>=ref(pl20,3); 走强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(en2 and dtjz10=1,l*0.96,'[类二买]'),colorffffff; drawtext(en3 and ztjz10=1,l*0.95,'[一买]'),colorff00ff; drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.04,'[二卖]'),linethick2,colorffff00; drawtext(en2 and pl20>ref(pl20,1) and ztjz10=2,l*0.94,'[二买]'),linethick2,colorffff00; drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) and ex2,h*1.03,'[一卖]'),linethick3,color00ff00; drawtextabs(620,-55,'历史最高价:'+hhv(high,0)),colorff00ff,layer0; drawtextabs(620,-37,'历史最低价:'+llv(low,0)),colorafff00,layer0; drawtextabs(750,-55,'20日最高价:'+hhv(high,20)),colorred,layer0;
上一指标公式:智能开仓底顶王公式下载 飞狐底顶王指标 源码
下一指标公式:全赢筹码密集周线寻马组合主图公式下载 飞狐公式指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文缠论108课教你炒股实战公式下载 飞狐缠论108课指标 源码仅供学习研究。