分价表
a0:=barscount(close);
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)),vol,0);
c1:=if(between(close,(a4 - (0 * hh1)),(a4 - (1 * hh1))),vv0,0);
c2:=if(between(close,(a4 - (1 * hh1)),(a4 - (2 * hh1))),vv0,0);
c3:=if(between(close,(a4 - (2 * hh1)),(a4 - (3 * hh1))),vv0,0);
c4:=if(between(close,(a4 - (3 * hh1)),(a4 - (4 * hh1))),vv0,0);
c5:=if(between(close,(a4 - (4 * hh1)),(a4 - (5 * hh1))),vv0,0);
c6:=if(between(close,(a4 - (5 * hh1)),(a4 - (6 * hh1))),vv0,0);
c7:=if(between(close,(a4 - (6 * hh1)),(a4 - (7 * hh1))),vv0,0);
c8:=if(between(close,(a4 - (7 * hh1)),(a4 - (8 * hh1))),vv0,0);
c9:=if(between(close,(a4 - (8 * hh1)),(a4 - (9 * hh1))),vv0,0);
c10:=if(between(close,(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)),colorffb97a;
fillrgn((((v2 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (1 * hh1)),((a4 - (2 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v3 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (2 * hh1)),((a4 - (3 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v4 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (3 * hh1)),((a4 - (4 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v5 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (4 * hh1)),((a4 - (5 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v6 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (5 * hh1)),((a4 - (6 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v7 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (6 * hh1)),((a4 - (7 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v8 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (7 * hh1)),((a4 - (8 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v9 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (8 * hh1)),((a4 - (9 * hh1)) + 0.05)),colorffb97a;
fillrgn((((v10 / av0) >= (nn / nn0)) and (nn >= 0)),(a4 - (9 * hh1)),((a4 - (10 * hh1)) + 0.05)),colorffb97a;
c11:=if(between(close,(a4 - (0 * hh1)),(a4 - (0.5 * hh1))),vv0,0);
c12:=if(between(close,(a4 - (0.5 * hh1)),(a4 - (1 * hh1))),vv0,0);
c13:=if(between(close,(a4 - (1 * hh1)),(a4 - (1.5 * hh1))),vv0,0);
c14:=if(between(close,(a4 - (1.5 * hh1)),(a4 - (2 * hh1))),vv0,0);
c15:=if(between(close,(a4 - (2 * hh1)),(a4 - (2.5 * hh1))),vv0,0);
c16:=if(between(close,(a4 - (2.5 * hh1)),(a4 - (3 * hh1))),vv0,0);
c17:=if(between(close,(a4 - (3 * hh1)),(a4 - (3.5 * hh1))),vv0,0);
c18:=if(between(close,(a4 - (3.5 * hh1)),(a4 - (4 * hh1))),vv0,0);
c19:=if(between(close,(a4 - (4 * hh1)),(a4 - (4.5 * hh1))),vv0,0);
c20:=if(between(close,(a4 - (4.5 * hh1)),(a4 - (5 * hh1))),vv0,0);
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));
av01:=max(v11,max(v12,max(v13,max(v14,max(v15,max(v16,max(v17,max(v18,max(v19,v20)))))))));
fillrgn((((v11 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (0 * hh1)),((a4 - (1 * hh1)) + 0.05)),colorff0000;
fillrgn((((v12 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (1 * hh1)),((a4 - (2 * hh1)) + 0.05)),colorff0000;
fillrgn((((v13 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (2 * hh1)),((a4 - (3 * hh1)) + 0.05)),colorff0000;
fillrgn((((v14 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (3 * hh1)),((a4 - (4 * hh1)) + 0.05)),colorff0000;
fillrgn((((v15 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (4 * hh1)),((a4 - (5 * hh1)) + 0.05)),colorff0000;
fillrgn((((v16 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (5 * hh1)),((a4 - (6 * hh1)) + 0.05)),colorff00ff;
fillrgn((((v17 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (6 * hh1)),((a4 - (7 * hh1)) + 0.05)),colorff00ff;
fillrgn((((v18 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (7 * hh1)),((a4 - (8 * hh1)) + 0.05)),colorff00ff;
fillrgn((((v19 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (8 * hh1)),((a4 - (9 * hh1)) + 0.05)),colorff00ff;
fillrgn((((v20 / av01) >= (nn / nn0)) and (nn >= 0)),(a4 - (9 * hh1)),((a4 - (10 * hh1)) + 0.05)),colorffff;
多空:=open;
stickline((close > 多空),high,low,0.5,0),colorff;
stickline(((close > 多空) and (close > open)),open,close,8,0),color102088;
stickline(((close > 多空) and (close > open)),open,close,7,0),color102099;
stickline(((close > 多空) and (close > open)),open,close,6,0),color1020aa;
stickline(((close > 多空) and (close > open)),open,close,5,0),color1020bb;
stickline(((close > 多空) and (close > open)),open,close,4,0),color1020cc;
stickline(((close > 多空) and (close > open)),open,close,3,0),color1020dd;
stickline(((close > 多空) and (close > open)),open,close,2,0),color1020ee;
stickline(((close > 多空) and (close > open)),open,close,1,0),color1020ff;
stickline(((close > 多空) and (close < open)),open,open,8,0),color102088;
stickline(((close > 多空) and (close < open)),open,open,7,0),color102099;
stickline(((close > 多空) and (close < open)),open,open,6,0),color1020aa;
stickline(((close > 多空) and (close < open)),open,open,5,0),color1020bb;
stickline(((close > 多空) and (close < open)),open,open,4,0),color1020cc;
stickline(((close > 多空) and (close < open)),open,open,3,0),color1020dd;
stickline(((close > 多空) and (close < open)),open,open,2,0),color1020ee;
stickline(((close > 多空) and (close < open)),open,open,1,0),color1020ff;
stickline((close < 多空),high,low,0.5,0),colorff8800;
stickline(((close < 多空) and (close < open)),open,close,8,0),colorff7700;
stickline(((close < 多空) and (close < open)),open,close,7,0),colorff8800;
stickline(((close < 多空) and (close < open)),open,close,6,0),colorff9900;
stickline(((close < 多空) and (close < open)),open,close,5,0),colorffaa00;
stickline(((close < 多空) and (close < open)),open,close,4,0),colorffbb00;
stickline(((close < 多空) and (close < open)),open,close,3,0),colorffcc00;
stickline(((close < 多空) and (close < open)),open,close,2,0),colorffdd00;
stickline(((close < 多空) and (close < open)),open,close,1,0),colorffee00;
stickline(((close < 多空) and (close > open)),open,open,8,0),colorff7700;
stickline(((close < 多空) and (close > open)),open,open,7,0),colorff8800;
stickline(((close < 多空) and (close > open)),open,open,6,0),colorff9900;
stickline(((close < 多空) and (close > open)),open,open,5,0),colorffaa00;
stickline(((close < 多空) and (close > open)),open,open,4,0),colorffbb00;
stickline(((close < 多空) and (close > open)),open,open,3,0),colorffcc00;
stickline(((close < 多空) and (close > open)),open,open,2,0),colorffdd00;
stickline(((close < 多空) and (close > open)),open,open,1,0),colorffee00;
stickline((close = 多空),open,close,8,0),colorffff00;
stickline((close = 多空),high,low,0.5,0),colorffff00;
上一指标公式:好财神公式 飞狐财神指标 源码
下一指标公式:波神凯线公式 飞狐波神凯线指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分价表公式 飞狐分价表指标 源码仅供学习研究。