在线检测未来函数

飞狐移动筹码主图指标公式

来源:Internet,编辑:股旁网,2011-10-07

nn0:=SYSPARAM(3)-SYSPARAM(2);
nn:=BARSCOUNT(c)-SYSPARAM(2);
hh1:=(SYSPARAM(4)-SYSPARAM(5))/10;
y0:=BARSCOUNT(c)>=SYSPARAM(2);
vv0:=if(y0=1 and SYSPARAM(1)>=BARSCOUNT(c),v,0);
c1:=if(BETWEEN(c,SYSPARAM(4)-0*hh1,SYSPARAM(4)-0.5*hh1),vv0,0);
c2:=if(BETWEEN(c,SYSPARAM(4)-0.5*hh1,SYSPARAM(4)-1*hh1),vv0,0);
c3:=if(BETWEEN(c,SYSPARAM(4)-1*hh1,SYSPARAM(4)-1.5*hh1),vv0,0);
c4:=if(BETWEEN(c,SYSPARAM(4)-1.5*hh1,SYSPARAM(4)-2*hh1),vv0,0);
c5:=if(BETWEEN(c,SYSPARAM(4)-2*hh1,SYSPARAM(4)-2.5*hh1),vv0,0);
c6:=if(BETWEEN(c,SYSPARAM(4)-2.5*hh1,SYSPARAM(4)-3*hh1),vv0,0);
c7:=if(BETWEEN(c,SYSPARAM(4)-3*hh1,SYSPARAM(4)-3.5*hh1),vv0,0);
c8:=if(BETWEEN(c,SYSPARAM(4)-3.5*hh1,SYSPARAM(4)-4*hh1),vv0,0);
c9:=if(BETWEEN(c,SYSPARAM(4)-4*hh1,SYSPARAM(4)-4.5*hh1),vv0,0);
c10:=if(BETWEEN(c,SYSPARAM(4)-4.5*hh1,SYSPARAM(4)-5*hh1),vv0,0);
c11:=if(BETWEEN(c,SYSPARAM(4)-5*hh1,SYSPARAM(4)-5.5*hh1),vv0,0);
c12:=if(BETWEEN(c,SYSPARAM(4)-5.5*hh1,SYSPARAM(4)-6*hh1),vv0,0);
c13:=if(BETWEEN(c,SYSPARAM(4)-6*hh1,SYSPARAM(4)-6.5*hh1),vv0,0);
c14:=if(BETWEEN(c,SYSPARAM(4)-6.5*hh1,SYSPARAM(4)-7*hh1),vv0,0);
c15:=if(BETWEEN(c,SYSPARAM(4)-7*hh1,SYSPARAM(4)-7.5*hh1),vv0,0);
c16:=if(BETWEEN(c,SYSPARAM(4)-7.5*hh1,SYSPARAM(4)-8*hh1),vv0,0);
c17:=if(BETWEEN(c,SYSPARAM(4)-8*hh1,SYSPARAM(4)-8.5*hh1),vv0,0);
c18:=if(BETWEEN(c,SYSPARAM(4)-8.5*hh1,SYSPARAM(4)-9*hh1),vv0,0);
c19:=if(BETWEEN(c,SYSPARAM(4)-9*hh1,SYSPARAM(4)-9.5*hh1),vv0,0);
c20:=if(BETWEEN(c,SYSPARAM(4)-9.5*hh1,SYSPARAM(4)-10*hh1),vv0,0);
{www.gUPaNg.com 股旁网_最新股票指标公式}
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));
v11:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c11,nn0),0),2));
v12:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c12,nn0),0),2));
v13:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c13,nn0),0),2));
v14:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c14,nn0),0),2));
v15:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c15,nn0),0),2));
v16:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c16,nn0),0),2));
v17:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c17,nn0),0),2));
v18:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c18,nn0),0),2));
v19:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c19,nn0),0),2));
v20:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c20,nn0),0),2));
av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,max(v10,max(V11,max(V12,max(V13,max(V14,max(V15,max(V16,max(V17,max(V18,max(V19,V20)))))))))))))))))));
FILLRGN(v1/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-0*hh1,SYSPARAM(4)-0.5*hh1+0.05),ColorF16085;
FILLRGN(v2/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-0.5*hh1,SYSPARAM(4)-1*hh1+0.05),Color008591;
FILLRGN(v3/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-1*hh1,SYSPARAM(4)-1.5*hh1+0.05),ColorF16085;
FILLRGN(v4/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-1.5*hh1,SYSPARAM(4)-2*hh1+0.05),Color008591;
FILLRGN(v5/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-2*hh1,SYSPARAM(4)-2.5*hh1+0.05),ColorF16085;
FILLRGN(v6/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-2.5*hh1,SYSPARAM(4)-3*hh1+0.05),Color008591;
FILLRGN(v7/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-3*hh1,SYSPARAM(4)-3.5*hh1+0.05),ColorF16085;
FILLRGN(v8/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-3.5*hh1,SYSPARAM(4)-4*hh1+0.05),Color008591;
FILLRGN(v9/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-4*hh1,SYSPARAM(4)-4.5*hh1+0.05),ColorF16085;
FILLRGN(v10/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-4.5*hh1,SYSPARAM(4)-5*hh1+0.05),Color008591;
FILLRGN(v11/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-5*hh1,SYSPARAM(4)-5.5*hh1+0.05),ColorF16085;
FILLRGN(v12/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-5.5*hh1,SYSPARAM(4)-6*hh1+0.05),Color008591;
FILLRGN(v13/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-6*hh1,SYSPARAM(4)-6.5*hh1+0.05),ColorF16085;
FILLRGN(v14/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-6.5*hh1,SYSPARAM(4)-7*hh1+0.05),Color008591;
FILLRGN(v15/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-7*hh1,SYSPARAM(4)-7.5*hh1+0.05),ColorF16085;
FILLRGN(v16/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-7.5*hh1,SYSPARAM(4)-8*hh1+0.05),Color008591;
FILLRGN(v17/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-8*hh1,SYSPARAM(4)-8.5*hh1+0.05),ColorF16085;
FILLRGN(v18/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-8.5*hh1,SYSPARAM(4)-9*hh1+0.05),Color008591;
FILLRGN(v19/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-9*hh1,SYSPARAM(4)-9.5*hh1+0.05),ColorF16085;
FILLRGN(v20/av0>=nn/nn0 and nn>=0,SYSPARAM(4)-9.5*hh1,SYSPARAM(4)-10*hh1+0.05),Color008591;
stickline(c>=o,c,o,6.6,1),colorff;
stickline(c>=o,l,o,0.1,0),colorff;
stickline(c>=o,c,h,0.1,0),colorff;
stickline(c<o,c,o,6.6,0),colorffff00;
stickline(c<o,h,l,0.1,0),colorffff00;

飞狐移动筹码主图指标公式

 

相关文章