指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:量堆公式 飞狐指标指标 源码
量堆指标.alg
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),colormagenta;
fillrgn(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+0.05),colormagenta;
fillrgn(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+0.05),colormagenta;
fillrgn(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+0.05),colormagenta;
fillrgn(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+0.05),colormagenta;
fillrgn(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+0.05),colormagenta;
fillrgn(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+0.05),colormagenta;
fillrgn(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+0.05),colormagenta;
fillrgn(v9/av0>=nn/nn0 and nn>=0,a4-8*hh1,a4-9*hh1+0.05),colormagenta;
fillrgn(v10/av0>=nn/nn0 and nn>=0,a4-9*hh1,a4-10*hh1+0.05),colormagenta;
stickline(c>=o,c,o,9,1),colorred;
stickline(c>=o,l,o,0.1,0),colorred;
stickline(c>=o,c,h,0.1,0),colorred;
stickline(c<o,c,o,9,0),colorffff00;
stickline(c<o,h,l,0.1,0),colorffff00;
>>>使用本站搜索工具可以找到更多“量堆公式 飞狐指标指标 源码”