乾坤精确风险决策眼指标(主图 通达信 贴图)显示量能仪表盘,划出涨跌区间源码下载:
{☆精确风险}
{【参数定义】}
参数:显示仪表盘1(0,1,1)
rsv:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
k1:=sma(rsv,10,1);
d1:=sma(k1,5,1);
kk:=intpart(k1);
dd0:=intpart(d1);
tfxxs:=kk+dd0;{//变异kd风险系数}
tgld:=mod(tfxxs,10);{//踏浪涨停概率点}
tglxs:=(tfxxs-ref(tfxxs,1))*10;{//变异kd乖离系数}
tycfx:=tfxxs+tglxs;{//变异kd预测风险}
乖离系数:tglxs,linethick0,colorgreen,nodraw;
drawtext_fix(4,0.01,0,0,'备注'),color0000ff;
drawtext_fix(islastbar,0,0.92,0,'1、乖离系数,大于40关注 小于-50坚决不进场,大于60坚决买入,买入时看股价运行的情况而定。2、控盘系数大于20可以做个小波段准确率80%。')color4080ff;
drawgbk(1,rgb(0,0,0),rgb(0,0,0),0,'bj1',0);
{======================================================}
范围高a:=refdate(hhv(h,120),date)*1.05;
范围低a:=refdate(llv(l,120),date)*0.95;
ma5:=ma(c,5),colorcyan,linethick2;
ma24:=ma(c,24),colorgreen,linethick2;
ma72:=ma(c,72),colorred,linethick2;
ma200:=if((ma(c,200)<=范围高a and ma(c,200)>=范围低a) or c>=ma(c,200),ma(c,200),drawnull),colorblue,linethick2;
{=======================仪表盘=========================}
主升浪:=islastbar and ma5>ma24 and ma24>ma72 and ma72>if(ma200=drawnull,0,ma200);
主浪回调:=islastbar and ma24>ma5 and ma5>ma72 and ma72>if(ma200=drawnull,0,ma200);
主浪深调:=islastbar and ma24>ma72 and ma72>ma5 and ma5>if(ma200=drawnull,0,ma200);
初升浪:=islastbar and if(ma200=drawnull,300,ma200)>max(ma24,ma72) and ma5>ma24 and ma24>ma72;
底部反弹:=islastbar and if(ma200=drawnull,300,ma200)>ma72 and ma72>ma24 and ma5>ma24;
探底阶段:=islastbar and if(ma200=drawnull,300,ma200)>ma72 and ma72>ma24 and ma24>ma5;
观望:=islastbar and if(ma200=drawnull,ma24>ma72 and c<ma72,ma72>ma200 and c<ma200);
有牛:=islastbar and if(ma200=drawnull,ma24<ma72 and c>=ma72,ma72<ma200 and c>=ma200);
放弃:=islastbar and if(ma200=drawnull,ma24<ma72 and c<ma72,ma72<ma200 and c<ma200);
drawgbk(显示仪表盘1=1 and 主升浪=0 and 主浪回调=0 and 主浪深调=0 and 初升浪=0 and 底部反弹=0 and 探底阶段=0 and 观望=0 and 有牛=0 and 放弃=0,0,0,0,'观望',0)color00bf00;
drawgbk(显示仪表盘1=1 and 主升浪,0,0,0,'主升浪',0)colorff00ff;
drawgbk(显示仪表盘1=1 and 主浪回调,0,0,0,'主浪回调',0)colorff8080;
drawgbk(显示仪表盘1=1 and 主浪深调,0,0,0,'主浪深调',0)color009500;
drawgbk(显示仪表盘1=1 and 初升浪,0,0,0,'初升浪',0)color00ffff;
drawgbk(显示仪表盘1=1 and 底部反弹,0,0,0,'底部反弹',0)colorffff00;
drawgbk(显示仪表盘1=1 and 探底阶段,0,0,0,'探底阶段',0);
{好公式网-最好的股票公式网站 www.goodgongshi.com}
drawgbk(显示仪表盘1=1 and 观望,0,0,0,'观望',0)colorffff00;
drawgbk(显示仪表盘1=1 and 有牛,0,0,0,'有牛',0)color00ffff;
drawgbk(显示仪表盘1=1 and 放弃,0,0,0,'放弃',0)color00bf00;
引差:=ref(c,1)-low,linethick1,nodraw;
引跌幅:if((ref(c,1)-low)/ref(c,1)*100>0,(ref(c,1)-low)/ref(c,1)*100,0),linethick1,nodraw;
三日均跌:ma(引跌幅,3),colorwhite,nodraw;
n:=120;
k:=barslast(currbarscount=n);
gd:=const(if(islastbar=1,hhv(h,k),0)),nodraw;{高点}
dd:=const(if(islastbar=1,llv(l,k),0)),nodraw;{低点}
kj:=gd-dd;{高低点差值=分区高度}
gd4:=if(currbarscount<=n/2,gd,drawnull);
高区:if(currbarscount<=n,gd,drawnull),colorred,linethick2,nodraw;
低区:if(currbarscount<=n,dd,drawnull),color00ff00,linethick2,nodraw;
平衡:=if(currbarscount<=n,dd+kj/2,drawnull),color00ffff,nodraw;
低:if(currbarscount<=n/2,dd,drawnull),colorffff00;
高:if(currbarscount<=n/2,gd,drawnull),color00ffff;
支撑:if(currbarscount<=n/2,dd+kj*0.191,drawnull),color00ffff;
强势: if(currbarscount<=n/2,dd+kj*0.382,drawnull),colorff00ff;
突破:if(currbarscount<=n/2,dd+kj/2,drawnull),color0000ff;
警示:if(currbarscount<=n/2,dd+kj*0.618,drawnull),color00ffff;
压力:if(currbarscount<=n/2,dd+kj*0.809,drawnull),color00ff00;
低涨:if(currbarscount<=n/2,(c/llv(low,k)-1)*100,drawnull),color0000ff,nodraw;
天数:barslast(l=dd),colorcyan,nodraw;
顶点:if(currbarscount<=n/2, const(if(islastbar=1,hhv(h, barslast(currbarscount=60)),1)),drawnull),colorred,crossdot,nodraw;
低点:if(currbarscount<=n/2, const(if(islastbar=1,llv(l, barslast(currbarscount=60)),1)),drawnull),colormagenta,crossdot,nodraw;
stickline(cci>=200 and h>=顶点,o,c,2,0),colorblue;
stickline(cci<=100 and l<=低点,o,c,2,0),coloryellow;
drawband(高区,rgb(0,0,0),平衡,rgb(0,0,0));
drawband(平衡,rgb(0,0,0),低区,rgb(0,0,0));
drawband(高,rgb(120,100,0),压力,rgb(0,0,0));
drawband(压力,rgb(258,58,0),警示,rgb(0,0,0));
drawband(警示,rgb(128,58,0),突破,rgb(0,0,0));
drawband(突破,rgb(68,0,0),强势,rgb(0,0,0));
drawband(强势,rgb(38,0,0),支撑,rgb(0,0,0));
drawband(支撑,rgb(38,38,38),低,rgb(0,0,0));
stickline(currbarscount=n/2,gd,dd,0,0),color408080,nodraw;
stickline(currbarscount<=n/2,支撑,支撑,2,0),color1e1e1e;
stickline(currbarscount<=n/2,强势,强势,2,0),color1e1e1e;
stickline(currbarscount<=n/2,突破,突破,2,0),color1e1e1e;
stickline(currbarscount<=n/2,警示,警示,2,0),color1e1e1e;
stickline(currbarscount<=n/2,压力,压力,2,0),color1e1e1e;
drawtext(currbarscount=10,压力,'压力-0.809'),color00ffff,nodraw;
drawtext(currbarscount=10,警示,'警示-0.618'),color00ffff,nodraw;
drawtext(currbarscount=10,突破,'突破-0.500'),color00ffff,nodraw;
drawtext(currbarscount=10,强势,'强势-0.382'),color00ffff,nodraw;
drawtext(currbarscount=10,支撑,'支撑-0.191'),color00ffff,nodraw;
drawtext(currbarscount=n/4+5,gd-kj*0.09,'【风险区】--高抛避险'),colorffffff;
drawtext(currbarscount=n/4+5,gd-kj*0.3,'【警示区】--逢高减仓'),colorffffff;
drawtext(currbarscount=n/4+5,gd-kj*0.45,'【突破区】--主力拉升'),colorffffff;
drawtext(currbarscount=n/4+5,gd-kj*0.55,'【拉升区】--强势畜锐'),colorffffff;
drawtext(currbarscount=n/4+5,dd+kj/3,'【关注区】--逢低买入'),colorffffff;
drawtext(currbarscount=n/4+5,dd+kj/10,'【低吸区】--大胆买入'),colorffffff;
第一防线:refdate(低,date),dotline,coloryellow,nodraw;
第二防线:refdate(支撑,date),dotline,colorwhite,nodraw;
{今日保护价:(ref(c,2)+ref(c,1)+o)/3 ,colorcc3299;}
波段10日:ema(c,10),color00ffff,linethick1;
红升2:if(波段10日>ref(波段10日,1),波段10日,drawnull),colorff00ff;
绿降2:if(波段10日<ref(波段10日,1),波段10日,drawnull),colorffff00;
操作30日均线:ema(c,30),coloryellow,linethick4;
红升:if(操作30日均线>ref(操作30日均线,1),操作30日均线,drawnull),colorred,linethick4;
绿降:if(操作30日均线<ref(操作30日均线,1),操作30日均线,drawnull),color009300,linethick4;
趋势55日线:ema(c,55),coloryellow,linethick1,nodraw;
红升4:if(趋势55日线>ref(趋势55日线,1),趋势55日线,drawnull),color0080ff,linethick1;
绿降4:if(趋势55日线<ref(趋势55日线,1),趋势55日线,drawnull),colorffff00,dotline,linethick1;
半年线:ema(c,120),coloryellow,linethick1,nodraw;
半年红升:if(半年线>ref(半年线,1),半年线,drawnull),colorffffff,linethick1;
半年绿降:if(半年线<ref(半年线,1),半年线,drawnull),colorffff00,dotline,linethick1;
年线:ema(c,250),coloryellow,linethick1,nodraw;
年红升:if(年线>ref(年线,1),年线,drawnull),color8000ff,linethick1;
年绿降:if(年线<ref(年线,1),年线,drawnull),colorffff00,dotline,linethick1;
stickline(c>=o ,high,low,0,1 ),colorred;
stickline(c>=o ,open,close,3.1,0 ),color000033;
stickline(c>=o,open,close,2.7,0 ),color000066;
stickline(c>=o ,open,close,2.1,0 ),color000099;
stickline(c>=o ,open,close,1.5,0 ),color0000cc;
stickline(c>=o ,open,close,0.9,0 ),color0000ff;
stickline(c>=o ,open,close,0.3,0 ),colorcc66ff;
stickline(c<o ,high,low,0,1 ),colorcyan;
stickline(c<o ,open,close,3.1,0 ),color990000;
stickline(close<o ,open,close,2.7,0 ),colorcc0000;
stickline(close<o ,open,close,2.1,0 ),colorff4400;
stickline(close<o ,open,close,1.5,0 ),colorff8800;
stickline(close<o ,open,close,0.9,0 ),colorffcc00;
stickline(close<o ,open,close,0.3,0 ),colorcyan;
cc:if(currbarscount<18,const(ref(c,1)),drawnull),color000000,nodraw;
止赢:1.05*cc,colormagenta,linethick1;
drawtext(islastbar,止赢,'止赢'),linethick1;
止损:0.97*cc,coloryellow,linethick1;
drawtext(islastbar,止损,'止损'),linethick1;
drawnumber(islastbar ,c,c),colorwhite;
aaa:=const(hhv(h,50));pl5:=hhv(h,45);
f:=100*(c-ref(c,1))/ref(c,1);
博尔:=if(c<ref(o,1) and f<0,1,0);
p1:=博尔;
量化:=if(c<ref(o,2) and f<0,1,0);
p2:=量化;
stickline(p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1,open,close,3,0),colorff09ff;
三日最低:=ema((ref(l,4)+ref(l,3)+ref(l,2))/3,3);
三日最高:=ema((ref(h,4)+ref(h,3)+ref(h,2))/3,3),colorwhite;
s:=cross(cross(三日最高,c),0.6);
b0:=cross(cross(c,三日最低),0.5);
drawicon(b0,low*0.99,13);
drawicon(s,h*1.01,14);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文乾坤精确风险决策眼指标(主图 通达信 贴图)显示量能仪表盘,划出涨跌区间下载仅供学习研究。