通达信公式b04变色k线主图——横向筹码组合fsky副图指标
{b04变色k线}
nn:=120;
主买:=const("fsky.主买#day"),nodraw;
前量:=const("fsky.前量#day");
前主:=const("fsky.前主#day");
昨量:=const("fsky.昨量#day"),nodraw;
昨主:=const("fsky.昨主#day");
今量:=const("fsky.今量#day"),nodraw;
前4:=const("fsky.前4#day");
主4:=const("fsky.主4#day");
前5:=const("fsky.前5#day");
主5:=const("fsky.主5#day");
cmm:=max(前5,前4),nodraw;
bmm1:=max(前量,昨量),nodraw;
bmm:=max(cmm,bmm1),nodraw;
amm:=if(今量/bmm>2,今量,bmm),nodraw;
mm:=const(500/amm),nodraw;
m3:ma(close,3);
m13:ma(close,13);
m34:ma(close,34),colorred,linethick2;
if(m34<ref(m34,1),m34,drawnull),colorgreen,linethick2;
stickline(m3>=m13 and m34>=ref(m34,1) ,h ,l ,0.4,0),color0000dd;{红}
stickline(m3>=m13 and m34>=ref(m34,1) and c>=o ,o ,c ,3,0),color000088;
stickline(m3>=m13 and m34>=ref(m34,1) and c<o ,o ,c ,3 ,0),color000077;
stickline(m3>=m13 and m34>=ref(m34,1) and c<o ,o ,c ,2.5 ,0),color000099;
stickline(m3>=m13 and m34>=ref(m34,1) and c<o ,o ,c ,1.9 ,0),color0000bb;
stickline(m3>=m13 and m34>=ref(m34,1) and c<o ,o ,c ,1.2 ,0),color0000dd;
stickline(m3>=m13 and m34>=ref(m34,1) and c<o ,o ,c ,0.4 ,0),color0000ff;
stickline(m3>=m13 and m34>=ref(m34,1) and c>=o ,o ,c ,1,1),color0000ff;
stickline(m3<m13 and m34>=ref(m34,1) ,h ,l ,0.4 ,0 ),colorffbb00;{天兰}
stickline(m3<m13 and m34>=ref(m34,1) and c>=o ,o ,c ,3,0 ),colorff3300;
stickline(m3<m13 and m34>=ref(m34,1) and c>=o ,o ,c ,2.5,0 ),colorff5500;
stickline(m3<m13 and m34>=ref(m34,1) and c>=o ,o ,c ,1.9,0 ),colorff7700;
stickline(m3<m13 and m34>=ref(m34,1) and c>=o ,o ,c ,1.2,0 ),colorff9900;
stickline(m3<m13 and m34>=ref(m34,1) and c>=o ,o ,c ,1,1 ),colorffbb00;
stickline(m3<m13 and m34>=ref(m34,1) and c<o ,o ,c ,3,0 ),colorff1100;
stickline(m3<m13 and m34>=ref(m34,1) and c<o ,o ,c ,2.5,0 ),colorff3300;
stickline(m3<m13 and m34>=ref(m34,1) and c<o ,o ,c ,1.9,0 ),colorff5500;
stickline(m3<m13 and m34>=ref(m34,1) and c<o ,o ,c ,1.2,0 ),colorff7700;
stickline(m3<m13 and m34>=ref(m34,1) and c<o ,o ,c ,0.4,0 ),colorff9900;
stickline(m3<m13 and m34<ref(m34,1) ,h ,l ,0.4 ,0 ),color00ff00;{绿}
{stickline(m3<m13 and m34<ref(m34,1) and c<o ,o ,c ,0.5,0 ),color006600;}
stickline(m3<m13 and m34<ref(m34,1) and c>=o ,o ,c ,3,0 ),color007700;
stickline(m3<m13 and m34<ref(m34,1) and c>=o ,o ,c ,2.5,0 ),color009900;
stickline(m3<m13 and m34<ref(m34,1) and c>=o ,o ,c ,1.9 ,0 ),color00bb00;
stickline(m3<m13 and m34<ref(m34,1) and c>=o ,o ,c ,1.2 ,0 ),color00dd00;
stickline(m3<m13 and m34<ref(m34,1) and c>=o ,o ,c ,1,1 ),color00ff00;
stickline(m3<m13 and m34<ref(m34,1) and c<o ,o ,c ,2.4,1 ),color009900;
stickline(m3<m13 and m34<ref(m34,1) and c<o ,o ,c ,1.8,1 ),color00bb00;
stickline(m3<m13 and m34<ref(m34,1) and c<o ,o ,c ,1.2 ,1 ),color00dd00;
stickline(m3<m13 and m34<ref(m34,1) and c<o ,o ,c ,0.4 ,1 ),color00ff00;
stickline(m3>=m13 and m34<ref(m34,1) ,h ,l ,0.4 ,0 ),colorff66ff;{粉}
stickline(m3>=m13 and m34<ref(m34,1) and c>=o ,o ,c ,3 ,0 ),color0000bb;
stickline(m3>=m13 and m34<ref(m34,1) and c>=o ,o ,c ,2.4 ,0 ),color0000dd;
stickline(m3>=m13 and m34<ref(m34,1) and c>=o ,o ,c ,1.8 ,0 ),colorcc11ff;
stickline(m3>=m13 and m34<ref(m34,1) and c>=o ,o ,c ,1.2 ,0 ),colorcc44ff;
stickline(m3>=m13 and m34<ref(m34,1) and c>=o ,o ,c ,1 ,1 ),colorcc66ff;
stickline(m3>=m13 and m34<ref(m34,1) and c<o ,o ,c ,3 ,0 ),color9900ff;
stickline(m3>=m13 and m34<ref(m34,1) and c<o ,o ,c ,2.4 ,0 ),colorff22ff;
stickline(m3>=m13 and m34<ref(m34,1) and c<o ,o ,c ,1.8 ,0 ),colorff66ff;
stickline(m3>=m13 and m34<ref(m34,1) and c<o ,o ,c ,1.2 ,0 ),colorff99ff;
stickline(m3>=m13 and m34<ref(m34,1) and c<o ,o ,c ,0.4 ,0 ),colorffccff;
a1:=if(主买>=今量/2,255,255);
a2:=if(主买>=今量/2,0,0);
a3:=if(主买>=今量/2,0,255);
drawrectrel(0,160,mm*今量,190,rgb(0,250,250));
drawrectrel(0,160,mm*主买,190,rgb(a1,a2,a3));
drawrectrel(0,160,mm*abs(主买-(今量-主买)),190,rgb(a3,255,00));
zo:=const("fsky.zo#day");
zc:=const("fsky.zc#day");
a4:=if(昨主>=昨量/2,255,255);
a5:=if(昨主>=昨量/2,0,0);
a6:=if(昨主>=昨量/2,0,255);
drawrectrel(0,120,mm*昨量,150,rgb(0,250,250));
drawrectrel(0,120,mm*昨主,150,rgb(a4,a5,a6));
drawrectrel(0,120,mm*abs(昨主-(昨量-昨主)),150,rgb(a6,255,00));
jo:=const("fsky.jo#day");
jc:=const("fsky.jc#day");
a7:=if(前主>=前量/2,255,255);
a8:=if(前主>=前量/2,0,0);
a9:=if(前主>=前量/2,0,255);
drawrectrel(0,80,mm*前量,110,rgb(0,250,250));
drawrectrel(0,80,mm*前主,110,rgb(a7,a8,a9));
drawrectrel(0,80,mm*abs(前主-(前量-前主)),110,rgb(a9,255,00));
jo3:=const("fsky.jo3#day");
jc3:=const("fsky.jc3#day");
a10:=if(主4>=前4/2,255,255);
a11:=if(主4>=前4/2,0,0);
a12:=if(主4>=前4/2,0,255);
drawrectrel(0,40,mm*前4,70,rgb(0,250,250));
drawrectrel(0,40,mm*主4,70,rgb(a10,a11,a12));
drawrectrel(0,40,mm*abs(主4-(前4-主4)),70,rgb(a12,255,00));
jo4:=const("fsky.jo4#day");
jc4:=const("fsky.jc4#day");
a13:=if(主5>=前5/2,255,255);
a14:=if(主5>=前5/2,0,0);
a15:=if(主5>=前5/2,0,255);
drawrectrel(0,0,mm*前5,30,rgb(0,250,250));
drawrectrel(0,0,mm*主5,30,rgb(a13,a14,a15));
drawrectrel(0,0,mm*abs(主5-(前5-主5)),30,rgb(a15,255,00));
五纯%:=const(if(1 ,"fsky2.五纯%#day",drawnull)),nodraw;
一纯%:=const(if(1,"fsky2.一纯%#day",drawnull)),nodraw;
三纯%:=const(if(1 ,"fsky2.三纯%#day",drawnull)),nodraw;
{fsky}
比:=240/fromopen;
tt:=if(islastbar,240/fromopen,1);
wj:=(h+l+c)/3;
v1:=if(h=l,1,h-max(o,c));
v2:=if(h=l,1,max(c,o)-wj);
v3:=if(h=l,1,min(o,c)-l);
v4:=if(h=l,1,wj-min(c,o));
v5:=vol/if(h=l,4,h-l);
v6:=(v1*v5);
v7:=(v2*v5);
v8:=(v3*v5);
v9:=(v4*v5);
买盘1:=dynainfo(23)*比;
卖盘1:=dynainfo(22)*比;
买盘2:=if(islastbar and c>300,(v9+v8)*tt,(v9+v8));
卖盘2:=if(islastbar and c>300,(v6+v7)*tt,(v6+v7));
买盘:=if(islastbar and period=5 and c<300,买盘1,买盘2);
卖盘:=if(islastbar and period=5 and c<300,卖盘1,卖盘2);
今量:买盘+卖盘;
主买:买盘;
昨量:ref(vol,1);
昨主:ref(主买,1);
前量:ref(vol,2);
前主:ref(主买,2);
前4:ref(vol,3);
主4:ref(主买,3);
前5:ref(vol,4);
主5:ref(主买,4);
zo:ref(o,1);
zc:ref(c,1);
zh:ref(h,1);
zl:ref(l,1);
jo:ref(o,2);
jc:ref(c,2);
jh:ref(h,2);
jl:ref(l,2);
jo3:ref(o,3);
jc3:ref(c,3);
jh3:ref(h,3);
jl3:ref(l,3);
jo4:ref(o,4);
jc4:ref(c,4);
jh4:ref(h,4);
jl4:ref(l,4);
jo5:ref(o,5);
jc5:ref(c,5);
jh5:ref(h,5);
jl5:ref(l,5);
jo6:ref(o,6);
jc6:ref(c,6);
jh6:ref(h,6);
jl6:ref(l,6);
jo7:ref(o,7);
jc7:ref(c,7);
jh7:ref(h,7);
jl7:ref(l,7);
jo8:ref(o,8);
jc8:ref(c,8);
jh8:ref(h,8);
jl8:ref(l,8);
jo9:ref(o,9);
jc9:ref(c,9);
jh9:ref(h,9);
jl9:ref(l,9);
ma5:ma(c,5);
ma10:ma(c,10);
ma20:ma(c,20);
ma60:ma(c,60);
上一指标公式:背离重心雷达操盘线主图四大背离精华聚集附效果图指标下载
下一指标公式:通达信上线见底操作主图指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通达信公式B04变色K线主图——横向筹码组合FSKY副图指标下载仅供学习研究。