a0:=barscount(c);a3:=sysparam(3);a2:=sysparam(2);
a4:=sysparam(4);a5:=sysparam(5);
nn0:=a3-a2;nn:=a0-a2;hh1:=(a4-a5)/8;
hh2:=hh1/4;
ll1:=llv(l,nn0);ll2:=ll1[a3];
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)),linethick;
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)))))))));
x1:=v1/av0>=nn/nn0 and nn>=0;
x3:=v3/av0>=nn/nn0 and nn>=0;
x5:=v5/av0>=nn/nn0 and nn>=0;
x7:=v7/av0>=nn/nn0 and nn>=0;
fillrgn(v1/av0>=nn/nn0 and nn>=0,a4-0*hh1,a4-1*hh1+hh1*0.5),color666666;//+0.07
fillrgn(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+hh1*0.5),color666666;
fillrgn(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+hh1*0.5),color666666;
fillrgn(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+hh1*0.5),color666666;
fillrgn(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+hh1*0.5),color666666;
fillrgn(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+hh1*0.5),color666666;
fillrgn(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+hh1*0.5),color666666;
fillrgn(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+hh1*0.5),color666666;
//fillrgn(v9/av0>=nn/nn0 and nn>=0,a4-8*hh1,a4-9*hh1+hh1*0.65),color666666;
//fillrgn(v10/av0>=nn/nn0 and nn>=0,a4-9*hh1,a4-10*hh1+hh1*0.65),color666666;
{阴柱}
stickline(open>=close ,close ,open,0,0 ),color00ff00;
stickline(open>=close ,close ,open,8,0 ),color008800;
stickline(open>=close ,close ,open,7,0 ),color009900;
stickline(open>=close ,close ,open,6,0 ),color00aa00;
stickline(open>=close ,close ,open,5,0 ),color00bb00;
stickline(open>=close ,close ,open,4,0 ),color00cc00;
stickline(open>=close ,close ,open,3,0 ),color00dd00;
stickline(open>=close ,close ,open,2,0 ),color00ee00;
stickline(open>=close ,close ,open,1,0 ),color00ff00;
{红柱}
stickline(close>open,close,open,0,0) ,colorffbbff;
stickline(close>open,close,open,8,0) ,colorff00ff;
stickline(close>open,close,open,7,0) ,colorff22ff;
stickline(close>open,close,open,6,0) ,colorff44ff;
stickline(close>open,close,open,5,0) ,colorff66ff;
stickline(close>open,close,open,4,0) ,colorff88ff;
stickline(close>open,close,open,3,0) ,colorff99ff;
stickline(close>open,close,open,2,0) ,colorffaaff;
stickline(close>open,close,open,1,0) ,colorffbbff;
ssl:close,linethick;
上限:a4,linethick;
间距:hh1,linethick;
drawnumber(filter(refx(x1<ref(x1,1),6) and v1>0,10),a4,a4-0*hh1,2),colorcyan;
drawnumber(filter(refx(x3<ref(x3,1),6) and v3>0,10),(a4-2.7*3*hh2),a4-2*hh1,2),colorcyan;
drawnumber(filter(refx(x5<ref(x5,1),6) and v5>0,10),(a4-3.2*5*hh2),a4-4*hh1,2),colorcyan;
drawnumber(filter(refx(x7<ref(x7,1) and v7>0,5),10),ll2+1.1*7*hh2,a4-6*hh1,2),colorcyan;
//drawnumber(refx(x7<ref(x7,1),6) and v7>0,(a4-4*7*hh2)*1.03,a4-6*hh1,2),colorcyan;
ma10:ema(c,10),colorwhite;
二十线:ema(c,20),colorf00ff0,linethick1;
三十线:ema(c,30),color00ff00,linethick1;
五百线:ema(c,500),colorff0000,linethick1;
九十线:ema(close,90),linethick1;
一百二十线:ema(close,120),linethick1;
生命线:ema(close,250),linethick1,colorred;
diff:=( ema(close,7) - ema(close,19));
dea:=ema(diff,9) ;
macd:=0.90*(diff-dea);
tj:=(diff>=dea);
tj1:=(diff>=0);
var1:=(close*2+high+low)/4;
sk:= ema(var1,13)-ema(var1,73);
sd:= ema(sk,2);
stickline((cross(sk,sd) and sk<-0.04 and(c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or(cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or
c/ref(c,1)>0.035)),o,c,3,0),coloryellow;
aaf:=llv(low,34);
bbf:=ma(aaf,4);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),4.1,1)/sma(abs(close-lc),4.1,1)*100;
drawicon(cross(84,rsi) ,h*1.03,5);
drawicon(cross(rsi,11) ,l*0.99,4);
var27:=ref(close,1);
var28:=sma(max(close-var27,0),5.5,1)/sma(abs(close-var27),6,1)*100;
drawicon(if(cross(76,var28),1,0),h*1.03,5);
{drawtext(filter(ema(close,60)-ema(close,12)>0 and ema(close,12)/low>1.15,5),
low,'☆'),linethick7 , colorff00ff;}
vara:=((amount)/(vol))/(100);
varb:=((3)*(high)+low+open+(2)*(close))/(7);
varc:=((sum(amount,7))/(vara))/(100);
vard:=dma(varb,(vol)/(varc));
vare:=((close-vard)/(vard))*(100);
varf:=((close-llv(low,34))/(hhv(high,34)-llv(low,34)))*(100);
varj:=ma(vare,20)+std(vare,20);
bias18:=((close-ma(close,18))/(ma(close,18)))*(100);
aa:=sma(varf,3,1);
ss:=(ref(bias18,1)>=5) and cross(varj,vare) and (aa>79);
{drawtext((ref(bias18,1)>=5) and cross(varj,vare) and
(aa>ss),h*1.02,'☆'),linethick7,colorgreen;}
var1:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>ref(zig(3,10),2);{zig 有未来}
var2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig(3,10),2);
stickline(var1,c,o,8,0),coloryellow,linethick2;{高位黄色}
stickline(var1,c,o,3,0),coloryellow,linethick2;{高位黄色}
stickline(var1,h,l,1,0),coloryellow,linethick2;{高位黄色}
stickline(var2,c,o,8,0),colorred,linethick2;{底位红色}
stickline(var2,c,o,3,0),colorred,linethick2;{底位红色}
stickline(var2,h,l,1,0),colorred,linethick2;{底位红色};
上一指标公式:多头力量公式下载 飞狐多头指标 源码
下一指标公式:五域论湛——标志性K线公式下载 飞狐五域论湛指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文殷保华主图合成公式下载 飞狐合成指标 源码仅供学习研究。