{白k买进,黄k加码}
input:n(10,1,100);
drawgbk(ema(indexl, 10)<ref(ema(indexl, 10),1), colorrgb(100,100,100),colorrgb(50,50,50),0);
drawgbk(ema(indexl, 10)>=ref(ema(indexl, 10),1),colorrgb(260,50,260),colorrgb(100,0,180),1);
fc:=c;fo:=o;cc:0*c,linethick0;oo:0*c,linethick0;t1:=0*c;t2:=0*c;
for i=1 to datacount do begin
if i=1 and fc[i]>fo[i] then
cc[i]:=fc[i];
oo[i]:=fc[i];
if i=1 and fc[i]<fo[i] then
cc[i]:=fc[i];
oo[i]:=fc[i];
if i>1 then
cc[i]:=cc[i-1];
oo[i]:=oo[i-1];
if i>1 and fc[i]>cc[i]*(1+n/100) then begin
cc[i]:=cc[i-1]*(1+n/100);
oo[i]:=cc[i-1];
end;
if i>1 and fc[i]<oo[i]/(1+n/100) then begin
oo[i]:=oo[i-1]/(1+n/100);
cc[i]:=oo[i-1];
end;
if oo[i]=oo[i-1] then
t1[i]:=t1[i-1]+1;
if cc[i]=cc[i-1] then
t2[i]:=t2[i-1]+1;
end;
o1:=ref(oo,t1+1);
c1:=ref(cc,t2+1);
stickline(c1=oo,cc,oo,0,0)colorbrown;
stickline(o1=cc,cc,oo,0,0)colorgray;
var2:=ema(close,5);
var3:=ema(close,10);
var4:=ema(close,20);
var5:=ema(close,30);
var6:=(var2+var3+var4+var5)/4;
var7:=(var6-ref(var6,15))/ref(var6,15)*100;
var9:=ema(var7,8);
stickline(var7<1*ref(var7,1),high,low,0,0),colorgreen;
stickline(var7<1*ref(var7,1),open,close,8, 0),color006000;
stickline(var7<1*ref(var7,1),open,close,7, 0),color007500;
stickline(var7<1*ref(var7,1),open,close,6, 0),color009100;
stickline(var7<1*ref(var7,1),open,close,5, 0),color00a600;
stickline(var7<1*ref(var7,1),open,close,4, 0),color00bb00;
stickline(var7<1*ref(var7,1),open,close,3, 0),color00cc00;
stickline(var7<1*ref(var7,1),open,close,2, 0),colorgreen;
stickline(var7<1*ref(var7,1),open,close,1, 0),colorgreen;
stickline(var7>1*ref(var7,1),high,low,0,0),colorred;
stickline(var7>1*ref(var7,1),open,close,8, 0),color000055;
stickline(var7>1*ref(var7,1),open,close,7, 0),color000077;
stickline(var7>1*ref(var7,1),open,close,6, 0),color000099;
stickline(var7>1*ref(var7,1),open,close,5, 0),color0000dd;
stickline(var7>1*ref(var7,1),open,close,4, 0),color0000ff;
stickline(var7>1*ref(var7,1),open,close,3, 0),color0000ff;
stickline(var7>1*ref(var7,1),open,close,2, 0),color0000ff;
stickline(var7>1*ref(var7,1),open,close,1, 0),color0000ff;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),high,low,0,0),colorblue;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,8, 0),colora12100;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,7, 0),colorb72100;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,6, 0),colorc32100;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,5, 0),colorcf2100;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,4, 0),colordb2100;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,3, 0),colorff5e00;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,2, 0),colorff6e00;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),open,close,1, 0),colorff6e00;
买进价:=((close-ref(ma(close,6),1))/6+ma(close,6))*1.004;
买进条件:=cross(close,买进价) and 买进价>ref(买进价,1);
stickline(买进条件,high,low,0,1),colorwhite,linethick2;
stickline(买进条件,open,close,8,0),color808080;
stickline(买进条件,open,close,7,0),color919890;
stickline(买进条件,open,close,6,0),colorb4b5af;
stickline(买进条件,open,close,5,0),colorcccccc;
stickline(买进条件,open,close,4,0),colordddddd;
stickline(买进条件,open,close,3,0),coloreeeeee;
stickline(买进条件,open,close,2,0),colorf5f1f1;
stickline(买进条件,open,close,1,0),colorfffafa;
加码价:=((close-ref(ma(close,18),1))/18+ma(close,18))*1.004;
加码条件:=cross(close,加码价) and 加码价>ref(加码价,1);
stickline(加码条件,high,low,0,1),coloryellow,linethick2;
stickline(加码条件,open,close,8,0),color0033ff;
stickline(加码条件,open,close,7,0),color00beff;
stickline(加码条件,open,close,6,0),color13bcff;
stickline(加码条件,open,close,5,0),color13d1ff;
stickline(加码条件,open,close,4,0),color00d6ff;
stickline(加码条件,open,close,3,0),color13e5ff;
stickline(加码条件,open,close,2,0),color00f6fc;
stickline(加码条件,open,close,1,0),color00f6fc;
aa:=if(close>200,182.60001,1.826);
bb:=if(close>200,91.3,0.913);
大下箱:intpart(close/aa)*aa,circledot,linethick3,colorffff00;
大上箱:大下箱+aa,circledot,linethick3,colorff;
小下箱:intpart(close/bb)*bb,circledot,linethick1,colorff00ff;
小上箱:小下箱+bb,circledot,linethick1,colorffff;
a1:=count(c>0,0);
a2:ma(c,a1),linethick2,colorblue;
区域上限:ref(h,barscount(c)-1),colorred;
区域下限:ref(l,barscount(c)-1),colorgreen;
区域中限:(区域上限+区域下限)/2,coloryellow;
jjj3:ema(low, 30),linethick2;
jjj1:ema(low, 5),linethick2;
jjj2:ema(low, 10),linethick2;
上一指标公式:股价定位超美主图公式下载 飞狐股价公式指标 源码
下一指标公式:自用主图公式下载 飞狐自用源码指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文白K买进黄K加码公式下载 飞狐买进指标 源码仅供学习研究。