{量价时空}
input:n(5);
a0:=barscount(c);a3:=sysparam(3);a2:=sysparam(2);
a4:=sysparam(4);a5:=sysparam(5);
nn0:=a3-a2;nn:=a0-a2;hh1:=(a4-a5)/10;
y0:=a0>=a2;vv0:=if(y0=1 and sysparam(1)>=a0,v,0);
c1:=if(between(c,a4-0*hh1,a4-1*hh1),vv0,0);
c2:=if(between(c,a4-1*hh1,a4-2*hh1),vv0,0);
c3:=if(between(c,a4-2*hh1,a4-3*hh1),vv0,0);
c4:=if(between(c,a4-3*hh1,a4-4*hh1),vv0,0);
c5:=if(between(c,a4-4*hh1,a4-5*hh1),vv0,0);
c6:=if(between(c,a4-5*hh1,a4-6*hh1),vv0,0);
c7:=if(between(c,a4-6*hh1,a4-7*hh1),vv0,0);
c8:=if(between(c,a4-7*hh1,a4-8*hh1),vv0,0);
c9:=if(between(c,a4-8*hh1,a4-9*hh1),vv0,0);
c10:=if(between(c,a4-9*hh1,a4-10*hh1),vv0,0);
v1:=strtonum(numtostr(if(islastbar,sum(c1,nn0),0),2));
v2:=strtonum(numtostr(if(islastbar,sum(c2,nn0),0),2));
v3:=strtonum(numtostr(if(islastbar,sum(c3,nn0),0),2));
v4:=strtonum(numtostr(if(islastbar,sum(c4,nn0),0),2));
v5:=strtonum(numtostr(if(islastbar,sum(c5,nn0),0),2));
v6:=strtonum(numtostr(if(islastbar,sum(c6,nn0),0),2));
v7:=strtonum(numtostr(if(islastbar,sum(c7,nn0),0),2));
v8:=strtonum(numtostr(if(islastbar,sum(c8,nn0),0),2));
v9:=strtonum(numtostr(if(islastbar,sum(c9,nn0),0),2));
v10:=strtonum(numtostr(if(islastbar,sum(c10,nn0),0),2));
av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,v10)))))))));
fillrgn(v1/av0>=nn/nn0 and nn>=0,a4-0*hh1,a4-1*hh1+0.05),color008080;
fillrgn(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+0.05),color008080;
fillrgn(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+0.05),color008080;
fillrgn(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+0.05),color008080;
fillrgn(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+0.05),color008080;
fillrgn(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+0.05),color008080;
fillrgn(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+0.05),color008080;
fillrgn(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+0.05),color008080;
fillrgn(v9/av0>=nn/nn0 and nn>=0,a4-8*hh1,a4-9*hh1+0.05),color008080;
fillrgn(v10/av0>=nn/nn0 and nn>=0,a4-9*hh1,a4-10*hh1+0.05),color008080{,colormagenta};
hh:=sysparam(4);ll:=sysparam(5);
x:=ll-(hh-ll+mindiff)/n;
y:=hhv(vol,sysparam(3)-sysparam(2)+1);
yvb:=y[sysparam(3)]/(ll-x+mindiff);
z:=vol/yvb+x;
stickline(close>ref(close,1),x,z,7,1),color0000ff;
stickline(close<=ref(close,1),x,z,7,0),coloreae000;
五日:ma(z,5);
十日:ma(z,10);
drawtext(barpos=sysparam(2),high,{stkname+'\n'+stklabel+'\n'+}blkname)align4,colorgreen;
stickline(c>=o,c,o,7,0),colorred;
stickline(c>=o,c,o,4,0),colorb0b0ff;
stickline(c>=o,c,o,2,0),coloryellow;
stickline(c>=o,h,l,0,0),coloryellow;
stickline(c<=o,c,o,7,0),colorff2020;
stickline(c<=o,c,o,4,0),colorff6600;
stickline(c<=o,c,o,2,0),colorcyan;
stickline(c<=o,h,l,0,0),colorcyan;
博弈线:=wma(close,8),linethick3;
byx:=wma(close,8),linethick3;
fillrgn(byx>ref(byx,1),byx,ref(byx,1)),colorred;
{fillrgn(byx }
var1:=sysparam(3)-sysparam(2)+1;
var2:=sysparam(3)-barpos;
var3:=hhv(high,var1);
var4:=llv(low,var1);
var5:=refx(var3,var2); //主图最高价
var5:if(sysparam(3)<>sysparam(1),sysparam(6),var5),colorred,pointdot;
var6:refx(var4,var2),colorwhite,pointdot; //主图最低价
黄191: (var5-var6)*0.191+var6,coloryellow,pointdot;
黄382: (var5-var6)*0.382+var6,coloryellow,pointdot;
黄500: (var5-var6)*0.500+var6,colorgreen,pointdot;
黄618: (var5-var6)*0.618+var6,coloryellow,pointdot;
黄809: (var5-var6)*0.809+var6,coloryellow,pointdot;
a:=low=llv(low,240);
a1:=barslast(a);
vertline(a1=30);
vertline(a1=60);
vertline(a1=90);
vertline(a1=120);
vertline(a1=150);
vertline(a1=180);
vertline(a1=210);
vertline(a1=2400);
drawtext(a1=30,high,'第一时间');
drawtext(a1=60,high,'第二时间');
drawtext(a1=90,high,'第三时间');
drawtext(a1=120,high,'第四时间');
drawtext(a1=150,high,'第五时间');
drawtext(a1=180,high,'第六时间');
drawtext(a1=210,high,'第七时间');
drawtext(a1=240,high,'第八时间');
varr1:=sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100;
drawicon(cross(82,varr1),high+0.108,2);vertline(cross(82,varr1)),pointdot;
drawsl(cross(82,varr1),hhv(high,1),0,8,1),colormagenta,pointdot;
b1:=(sysparam(4)-sysparam(5))/(sysparam(3)-sysparam(2));
drawsl(barpos=sysparam(1),low,378*b1/100,0,0),colorwhite,pointdot;
drawsl(barpos=sysparam(1),low,188*b1/100,0,0),colorwhite,pointdot;
drawsl(barpos=sysparam(1),low,141*b1/100,0,0),colorwhite,pointdot;
drawsl(barpos=sysparam(1),low,95*b1/100,0,0),colorwhite,pointdot;
drawsl(barpos=sysparam(1),low,48*b1/100,0,0),colorgreen,;
drawsl(barpos=sysparam(1),low,24.5*b1/100,0,0),colorwhite,pointdot;
drawsl(barpos=sysparam(1),low,16.5*b1/100,0,0),colorwhite,pointdot;
drawsl(barpos=sysparam(1),low,13*b1/100,0,0),colorwhite,pointdot;
drawsl(barpos=sysparam(1),low,7*b1/100,0,0),colorwhite,pointdot;
上一指标公式:FZ天柱星公式 飞狐天柱指标 源码
下一指标公式:波段密码至尊公式 飞狐至尊指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文量价时空-版公式 飞狐时空指标 源码仅供学习研究。