参数n...5...2..300
c5:sma(cost(50),5,1),colorred,pointdot;
c8:sma(cost(80),5,1),colorgreen,pointdot;
c18:sma(cost(18),5,1),colorwhite,pointdot;
雪:(sum(c,n-1)+c)/n,linethick0,colorred;
m5:ema(c,5),colorwhite;
m15:ema(c,15),coloryellow;
m60:ema(c,60),colorgreen;
m240:ema(c,240),colorcyan;
{m220:ma(c,220),colorgray;
m440:ma(c,440),colorblue;}
a15:=backset(islastbar,15);
stickline(ref(a15,1)=0 and a15,hhv(h,30),llv(l,30),0,0),coloryellow;
a30:=backset(islastbar,30);
stickline(ref(a30,1)=0 and a30,hhv(h,30),llv(l,30),0,0),coloryellow;
a60:=backset(islastbar,60);
stickline(ref(a60,1)=0 and a60,hhv(h,30),llv(l,30),0,0),coloryellow;
a220:=backset(islastbar,220);
stickline(ref(a220,1)=0 and a220,hhv(h,30),llv(l,30),0,0),coloryellow;
aabb:=cross(ma(c,3),ma(c,8)) and ma(c,8)>ref(ma(c,8),1) ;
stickline(aabb and datatype>6,l,l*0.990,6,0),coloryellow;
aabb1:=cross(ma(c,50),ma(c,60)) and ma(c,60)>ref(ma(c,60) ,1) ;
asz:=ma(c,60)>ref(ma(c,60) ,1) and ma(c,50)>ref(ma(c,50) ,1);aabb2:=ref(asz,1)=0 and asz ;
stickline((aabb1 or aabb2) and ma(c,5)<ma(c,220) and ma(c,5)>ma(c,60) and datatype>6,l,l*0.90,6,0),colorblue;
{阻力:if(period>4,0.998*"kx.hh#month",if(period>1,0.998*"kx.hh#week",0.998*"kx.hh#day")),colorgreen;
支撑:if(period>4,1.002*"kx.ll#month",if(period>1,1.002*"kx.ll#week",1.002*"kx.ll#day")),coloryellow;};
ty:=c;
a1:=ref(ty,10)=hhv(ty,2*10+1); vb1:=filter(a1,10); c1:=backset(vb1,10+1); hd:=filter(c1,10);
a2:=ref(ty,10)=llv(ty,2*10+1); vb2:=filter(a2,10); c2:=backset(vb2,10+1); ld:=filter(c2,10);
a:=ref(h,barslast(hd)); b:=ref(l,barslast(ld));
t1:=barslast(hd)<barslast(ld) and not(hd) ;
t2:=barslast(hd)>barslast(ld) and not(ld);
波峰:if(t1,a,a),colorff00ff,pointdot;
stickline(t1,a,a,9,0),colorff00ff;
波谷:if(t2,b,b),color80ff00,pointdot;
stickline(t2,b,b,9,0),color80ff00;
fh:=high;fl:=low;
drawtextex(sysparam(3)=barpos,0,10,8,'【代码:'+stklabel+' 名称:'+stkname+'】'),colorwhite;
drawtext((barpos = sysparam(2)),high,('所属板块:' + blkname)+ '\n')align4,colorgreen;
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
drawtextex(c,0,300,1,
numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'
+numtostr(fd[p],0)+'日,'+wday[wd[p]+1]+'\n'),coloryellow;
drawtextex(1,1,20,150,'雪
狼 提 醒 顺 上 飞'),colorred;
stickline((close < open),high,low,1,0),color8800;
stickline((close < open),high,low,0,0),colorff00;
stickline((close < open),close,open,8,0),color8800;
stickline((close < open),close,open,7,0),color9900;
stickline((close < open),close,open,6,0),coloraa00;
stickline((close < open),close,open,5,0),colorbb00;
stickline((close < open),close,open,4,0),colorcc00;
stickline((close < open),close,open,3,0),colordd00;
stickline((close < open),close,open,2,0),coloree00;
stickline((close < open),close,open,1,0),colorff00;
stickline((close >= open),high,low,1,0),colorff;
stickline((close >= open),high,low,0,0),coloreeff;
stickline((close >= open),close,open,8,0),colorff;
stickline((close >= open),close,open,7,0),color22ff;
stickline((close >= open),close,open,6,0),color44ff;
stickline((close >= open),close,open,5,0),color66ff;
stickline((close >= open),close,open,4,0),color88ff;
stickline((close >= open),close,open,3,0),coloraaff;
stickline((close >= open),close,open,2,0),colorccff;
stickline((close >= open),close,open,1,0),coloreeff;
{立体柱子:红色}
stickline(close>open,close,open,8,0) ,color000033;
stickline(close>open,close,open,6,0) ,color000066;
stickline(close>open,close,open,4,0) ,color000099;
stickline(close>open,close,open,3,0) ,color0000bb;
stickline(close>open,close,open,1,0) ,color0000dd;
var9q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref (c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2) =hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3) =hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
红持:var9q,color0000ff,linethick0;
{立体柱子:红色}
stickline(var9q,c,(o+c)/2,8,0),color000044;
stickline(var9q,c,(o+c)/2,7,0),color000055;
stickline(var9q,c,(o+c)/2,6,0),color000066;
stickline(var9q,c,(o+c)/2,5,0),color000077;
stickline(var9q,c,(o+c)/2,4,0),color000099;
stickline(var9q,c,(o+c)/2,3,0),color0000bb;
stickline(var9q,c,(o+c)/2,2,0),color0000dd;
stickline(var9q,c,(o+c)/2,1,0),color0000ff;
varaq:=c=hhv(c,4) and ref(c,1)=llv(c,4);
粉变:varaq,colorff99ff,linethick0;
stickline(varaq,c,(o+c)/2,8,0),colorff11ff;
stickline(varaq,c,(o+c)/2,7,0),colorff22ff;
stickline(varaq,c,(o+c)/2,6,0),colorff33ff;
stickline(varaq,c,(o+c)/2,5,0),colorff55ff;
stickline(varaq,c,(o+c)/2,4,0),colorff77ff;
stickline(varaq,c,(o+c)/2,3,0),colorff99ff;
stickline(varaq,c,(o+c)/2,2,0),colorffbbff;
stickline(varaq,c,(o+c)/2,1,0),colorffddff;
varbq:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
银灰跌:varbq,color888888,linethick0;
{立体柱子:银色}
stickline(varbq,c,(o+c)/2,8,0),color333333;
stickline(varbq,c,(o+c)/2,7,0),color444444;
stickline(varbq,c,(o+c)/2,6,0),color555555;
stickline(varbq,c,(o+c)/2,5,0),color777777;
stickline(varbq,c,(o+c)/2,4,0),color999999;
stickline(varbq,c,(o+c)/2,3,0),colorbbbbbb;
stickline(varbq,c,(o+c)/2,2,0),colordddddd;
stickline(varbq,c,(o+c)/2,1,0),colorffffff;
varcq:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
绿买:varcq,color00ff00,linethick0;
{立体柱子:绿色}
stickline(varcq,o,(o+c)/2,8,0),color004400;
stickline(varcq,o,(o+c)/2,6,0),color005500;
stickline(varcq,o,(o+c)/2,5,0),color007700;
stickline(varcq,o,(o+c)/2,4,0),color009900;
stickline(varcq,o,(o+c)/2,3,0),color00bb00;
stickline(varcq,o,(o+c)/2,2,0),color00dd00;
stickline(varcq,o,(o+c)/2,1,0),color00ff00;
vardq:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref (c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
蓝抛:vardq,colorff9900,linethick0;
{立体柱子:深蓝色}
stickline(vardq,o,(o+c)/2,8,0),colorff1100;
stickline(vardq,o,(o+c)/2,7,0),colorff2200;
stickline(vardq,o,(o+c)/2,6,0),colorff3300;
stickline(vardq,o,(o+c)/2,5,0),colorff5500;
stickline(vardq,o,(o+c)/2,4,0),colorff7700;
stickline(vardq,o,(o+c)/2,3,0),colorff9900;
stickline(vardq,o,(o+c)/2,2,0),colorffbb00;
stickline(vardq,o,(o+c)/2,1,0),colorffdd00;
{立体柱子:金色}
zdf:=(close-ref(close,1))/ref(close,1)*100;
stickline(zdf>9.8,open,close,8,0),color004444;
stickline(zdf>9.8,open,close,7,0),color005555;
stickline(zdf>9.8,open,close,6,0),color006666;
stickline(zdf>9.8,open,close,5,0),color007777;
stickline(zdf>9.8,open,close,4,0),color009999;
stickline(zdf>9.8,open,close,3,0),color00bbbb;
stickline(zdf>9.8,open,close,2,0),color00dddd;
stickline(zdf>9.8,open,close,1,0),color00ffff;
z:=(close > ref(close,1));
成功:((((((((((((((((((((((((((((((all(z,1) + all(z,2)) +
all(z,3)) + all(z,4)) + all(z,5)) + all(z,6)) + all(z,7)) +
all(z,8)) + all(z,10)) + all(z,11)) + all(z,12)) + all(z,13)) +
all(z,14)) + all(z,15)) + all(z,16)) + all(z,17)) + all(z,18)) +
all(z,19)) + all(z,20)) + all(z,21)) + all(z,22)) + all(z,23)) +
all(z,24)) + all(z,25)) + all(z,26)) + all(z,27)) + all(z,28)) +
all(z,29)) + all(z,30)) + all(z,31)) + all(z,32)),linethick0,colorff;
d:=(close < ref(close,1));
失败:((((((((((((((((((((((((((((((all(d,1) +
all(d,2)) + all(d,3)) + all(d,4)) + all(d,5)) +
all(d,6)) + all(d,7)) + all(d,8)) + all(d,10)) +
all(d,11)) + all(d,12)) + all(d,13)) + all(d,14)) +
all(d,15)) + all(d,16)) + all(d,17)) + all(d,18)) +
all(d,19)) + all(d,20)) + all(d,21)) + all(d,22)) +
all(d,23)) + all(d,24)) + all(d,25)) + all(d,26)) +
all(d,27)) + all(d,28)) + all(d,29)) + all(d,30)) +
all(d,31)) + all(d,32)),linethick0,colorff00;
xl2:=(((close - ema(close,21)) / ema(close,21)) * 100);
xl3:=cross(xl2,(0 - 20));
{缺 口1}
drawtext(l>ref(h,1),ref(h,1),''),colorwhite;
drawtext(h<ref(l,1),ref(l,1),''),colorblue;
{缺 口2}
koh:=low>ref(high,1);
kol:=high<ref(low,1);
hif:=low>ref(high,barslast(koh)+1);
nhif:=low<=ref(high,barslast(koh)+1);
lif:=high<ref(low,barslast(kol)+1);
nlif:=high>=ref(low,barslast(kol)+1);
drawicon(hif and barslast(koh)<barslast(nhif) and
barslast(hif)<barslast(nhif),ref(high,barslast(koh)+1),10),align0;
drawicon(lif and barslast(kol)<barslast(nlif) and
barslast(lif)<barslast(nlif),ref(low,barslast(kol)+1),11),align0;
aabb:cross(ma(c,3),ma(c,8)) ,linethick0 ;
stickline(aabb and datatype>5,l,l*0.990,6,0),coloryellow;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用主图主图公式下载 飞狐源码贴图指标 源码仅供学习研究。