看到几个老师的主图,做了整合,配合最近的趋势非常实用。
1.波段很直观,做股票在强势区域做还是比弱势要容易的多,谢谢上上的主图。
2.叠加了融胜轨道,但轨道不显示线而是跟随每根k线上数字显示,感谢融队的思路和指标。
3.叠加了论坛里一个很经典的筹码,忘记是哪位老师的了。筹码在右侧显示,中长线尽量考虑买靠近下方筹码位置的票,放量突破上方重压筹码区并且涨幅不大的时候可以追仓;短线找放量突破较大筹码堆积区的票并且买入的价格尽量介于下方支撑筹码位置。如果买在两堆筹码中间了,那震荡起来就比较痛苦了。
4.叠加了千钧老师dde金指里的一部分代码,在此缅怀老师并深深感谢老师。
另:主图上叠加了一些财务数据,只是个人习惯,需要的还可以再添加别的,我平常关注的主要是收益、流通和负债率。负债率大于1,收益大于1.5的票如果处于刚突破下方2条筹码附近的,那绝对是好股,比如大商股份12.14号和12.28号两根带量的阳线,关注这类股票回调后都是上车的机会。
别的功能朋友们再继续发掘,我抛个砖希望有玉的尽管来砸。。。
波段主图
{筹码}
c1:=c;
n:=10;
lb:=cost(1);
hb:=cost(99);
w:=(hb-lb)/10;
n0:=lb;
n1:=lb+w;
n2:=lb+2*w;
n3:=lb+3*w;
n4:=lb+4*w;
n5:=lb+5*w;
n6:=lb+6*w;
n7:=lb+7*w;
n8:=lb+8*w;
n9:=lb+9*w;
n10:=hb;
a0:=winner(n1)*100-winner(n0)*100;
a1:=winner(n2)*100-winner(n1)*100;
a2:=winner(n3)*100-winner(n2)*100;
a3:=winner(n4)*100-winner(n3)*100;
a4:=winner(n5)*100-winner(n4)*100;
a5:=winner(n6)*100-winner(n5)*100;
a6:=winner(n7)*100-winner(n6)*100;
a7:=winner(n8)*100-winner(n7)*100;
a8:=winner(n9)*100-winner(n8)*100;
a9:=winner(n10)*100-winner(n9)*100;
xa0:drawsl(barstatus=2 and a0>0,(n1+n0)/2,0,n*a0,1),color262626,linethick4;
xa1:drawsl(barstatus=2 and a1>0,(n2+n1)/2,0,n*a1,1),color262626,linethick4;
xa2:drawsl(barstatus=2 and a2>0,(n3+n2)/2,0,n*a2,1),color262626,linethick4;
xa3:drawsl(barstatus=2 and a3>0,(n4+n3)/2,0,n*a3,1),color262626,linethick4;
xa4:drawsl(barstatus=2 and a4>0,(n5+n4)/2,0,n*a4,1),color262626,linethick4;
xa5:drawsl(barstatus=2 and a5>0,(n6+n5)/2,0,n*a5,1),color262626,linethick4;
xa6:drawsl(barstatus=2 and a6>0,(n7+n6)/2,0,n*a6,1),color262626,linethick4;
xa7:drawsl(barstatus=2 and a7>0,(n8+n7)/2,0,n*a7,1),color262626,linethick4;
xa8:drawsl(barstatus=2 and a8>0,(n9+n8)/2,0,n*a8,1),color262626,linethick4;
xa9:drawsl(barstatus=2 and a9>0,(n10+n9)/2,0,n*a9,1),color262626,linethick4;
{k线颜色}
stickline(close>open,close,open,8,0),color0088ff;
stickline(close<open,open,close,8,0),color666600;
{融胜轨道}
aa:=ma((2*close+high+low)/4,5);
通1:=aa*102/100;
通2:=aa*(200-102)/100;
zz:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
dd:=dma(close,zz);
上:=(1+7/100)*dd;
下:=(1-7/100)*dd;
中:=(上+下)/2;
顶:=(1+14/100)*dd;
底:=(1-14/100)*dd;
轨道角度1:=(atan((ma(底,5)/ref(ma(底,5),1)-1)*100)*180/3.14115926),linethick0;
五日角度1:=(atan((ma(c,5)/ref(ma(c,5),1)-1)*100)*180/3.14115926),linethick0;
drawtext(sysparam(1)=barpos and c>顶,l,'顶 '+numtostr(顶[sysparam(1)],2)),pxdn27,color0088ff;
drawtext(sysparam(1)=barpos and c<顶,l,'顶 '+numtostr(顶[sysparam(1)],2)),pxdn27,color666600;
drawtext(sysparam(1)=barpos and c>上,l,'上 '+numtostr(上[sysparam(1)],2)),pxdn52,color0088ff;
drawtext(sysparam(1)=barpos and c<上,l,'上 '+numtostr(上[sysparam(1)],2)),pxdn52,color666600;
drawtext(sysparam(1)=barpos and c>中,l,'中 '+numtostr(中[sysparam(1)],2)),pxdn77,color0088ff;
drawtext(sysparam(1)=barpos and c<中,l,'中 '+numtostr(中[sysparam(1)],2)),pxdn77,color666600;
drawtext(sysparam(1)=barpos and c>下,l,'下 '+numtostr(下[sysparam(1)],2)),pxdn102,color0088ff;
drawtext(sysparam(1)=barpos and c<下,l,'下 '+numtostr(下[sysparam(1)],2)),pxdn102,color666600;
drawtext(sysparam(1)=barpos and c>底,l,'底 '+numtostr(底[sysparam(1)],2)),pxdn127,color0088ff;
drawtext(sysparam(1)=barpos and c<底,l,'底 '+numtostr(底[sysparam(1)],2)),pxdn127,color666600;
{drawtext(sysparam(1)=barpos and 上,上,'上'+numtostr(上[sysparam(1)],2)),pxup8,colorwhite;
drawtext(sysparam(1)=barpos and 中,中,'中'+numtostr(中[sysparam(1)],2)),pxup8,coloryellow;
drawtext(sysparam(1)=barpos and 下,下,'下'+numtostr(下[sysparam(1)],2)),pxup8,colorwhite;
drawtext(sysparam(1)=barpos and 底,底,'底'+numtostr(底[sysparam(1)],2)),pxup8,colorgreen;}
zh:=hhv(h,22);zhh:=h;
zgf1:=zhh/1.0809;zgf2:=zhh/1.1618;
zgf3:=zhh/1.0809/1.1618;zgf4:=zhh/1.1618/1.1618;
drawtextex(c,1,10,650,'第一回调区:'+numtostr(zgf1[sysparam(1)],2)+'--'+numtostr(zgf2[sysparam(1)],2)+''),color00ff00;
drawtextex(c,1,10,700,'第二回调区:'+numtostr(zgf3[sysparam(1)],2)+'--'+numtostr(zgf4[sysparam(1)],2)+''),color00ff00;
zl:=llv(l,22);zll:=l;
zgfb1:=zll*1.0809;zgfb2:=zll*1.1618;zgfb3:=zll*1.0809*1.1618;zgfb4:=zll*1.1618*1.1618;
drawtextex(c,1,10,450,'第一压力区:'+numtostr(zgfb1[sysparam(1)],2)+''+'--'+numtostr(zgfb2[sysparam(1)],2)+''),color00eeff;
drawtextex(c,1,10,500,'第二压力区:'+numtostr(zgfb3[sysparam(1)],2)+''+'--'+numtostr(zgfb4[sysparam(1)],2)+''),color00eeff;
drawtextex(c,1,10,400,'本次起动价:'+numtostr(zl[sysparam(1)],2)+''),color00eeff;
drawtextex(c,1,10,600,'预计回调价:'+numtostr(zh[sysparam(1)],2)+''),color00dd00;
drawtextex(c,1,10,50,'收 益: '+ numtostr(finance(33),2)+' 元'),colorffb060;
drawtextex(c,1,120,50,'净资产: '+numtostr(finance(34),2 )+' 元'),colorffb060;
drawtextex(c,1,10,100,'流通股:'+ numtostr(finance(7)/10000,2)+' 亿'),colorffb060;
drawtextex(c,1,120,100,'占总股本:'+numtostr(finance(7)/finance(1)*100 ,2)+' %'),colorffb060;
drawtextex(c,1,10,150,'负债率:'+ numtostr(finance(11)/finance(15),2)),colorffb060;
drawtextex(c,1,120,150,'主营收入:'+numtostr(finance(20)/10000,1 )+''),colorffb060;
{drawtextex(c,1,10,250,strleft(blkname,90)),color00ffff;}
drawtextex(c,1,10,200,'主题投资:'+selfstring('主题投资')),colorffb060;
drawtextex(c,1,10,0,'善谋者,谋势;不善者,谋子'),color0088ff;
{波段主图}
input:kg1(20,1,50);
input:f1(10,1,20);
input:p(10,1,20);
d3x3:ma(c,3),shift3,colormagenta;
kg:=if(datatype<=1,1,if(datatype<=3,5,if(datatype<=5,10,kg1)));
f:=if(datatype<=3,1,if(datatype=4,3,if(datatype=5,5,f1)));
zx:=zig(4,kg);
cch:=peak(4,kg,1);
ccy:=trough(4,kg,1);
cc:if(zx<ref(zx,1),cch,ccy),linethick0;
w1:=cross(cch-0.02,zx);
w2:=cross(zx,ccy+0.02);
fd:=f/100;
ys:=if(zx<ref(zx,1),fd,-fd);
w:=if(zx<ref(zx,1),w1,w2);
h1:ref(cc*(1-ys*1),barslast(w)),linethick0;
h2:ref(cc*(1-ys*2),barslast(w)),linethick0;
h3:ref(cc*(1-ys*3),barslast(w)),linethick0;
h4:ref(cc*(1-ys*4),barslast(w)),linethick0;
h5:ref(cc*(1-ys*5),barslast(w)),linethick0;
h6:ref(cc*(1-ys*6),barslast(w)),linethick0;
h7:ref(cc*(1-ys*7),barslast(w)),linethick0;
h8:ref(cc*(1-ys*8),barslast(w)),linethick0;
h9:ref(cc*(1-ys*9),barslast(w)),linethick0;
h10:ref(cc*(1-ys*10),barslast(w)),linethick0;
h11:ref(cc*(1-ys*11),barslast(w)),linethick0;
h12:ref(cc*(1-ys*12),barslast(w)),linethick0;
h13:ref(cc*(1-ys*13),barslast(w)),linethick0;
h14:ref(cc*(1-ys*14),barslast(w)),linethick0;
h15:ref(cc*(1-ys*15),barslast(w)),linethick0;
hhd:=sysparam(4);
lld:=sysparam(5);
系数:=if(datatype=2,1.00005,if(datatype<6,1.0005,1.002));
stickline(cc>=lld and cc<=hhd,cc,cc*系数,20,0),colorff;
stickline(cc>=lld and cc<=hhd,h1,h1,5,0),colora0a0a0;
stickline(h1>lld and h1<hhd,h2,h2,5,0),colora0a0a0;
stickline(h2>lld and h2<hhd,h3,h3,5,0),colora0a0a0;
stickline(h3>lld and h3<hhd,h4,h4,5,0),colora0a0a0;
stickline(h4>lld and h4<hhd,h5,h5,5,0),colora0a0a0;
stickline(h5>lld and h5<hhd,h6,h6,5,0),colora0a0a0;
stickline(h6>lld and h6<hhd,h7,h7,5,0),colora0a0a0;
stickline(h7>lld and h7<hhd,h8,h8,5,0),colora0a0a0;
stickline(h8>lld and h8<hhd,h9,h9,5,0),colora0a0a0;
stickline(h9>lld and h9<hhd,h10,h10,5,0),colora0a0a0;
stickline(h10>lld and h10<hhd,h11,h11,5,0),colora0a0a0;
stickline(h11>lld and h11<hhd,h12,h12,5,0),colora0a0a0;
stickline(h12>lld and h12<hhd,h13,h13,5,0),colora0a0a0;
stickline(h13>lld and h13<hhd,h14,h14,5,0),colora0a0a0;
stickline(h14>lld and h14<hhd,h15,h15,5,0),colora0a0a0;
drawtext(w and cc>=lld and cc<=hhd,h1,''+numtostr(f*1,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h1>lld and h1<hhd,h2,''+numtostr(f*2,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h2>lld and h2<hhd,h3,''+numtostr(f*3,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h3>lld and h3<hhd,h4,''+numtostr(f*4,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h4>lld and h4<hhd,h5,''+numtostr(f*5,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h5>lld and h5<hhd,h6,''+numtostr(f*6,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h6>lld and h6<hhd,h7,''+numtostr(f*7,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h7>lld and h7<hhd,h8,''+numtostr(f*8,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h8>lld and h8<hhd,h9,''+numtostr(f*9,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h9>lld and h9<hhd,h10,''+numtostr(f*10,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h10>lld and h10<hhd,h11,''+numtostr(f*11,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h11>lld and h11<hhd,h12,''+numtostr(f*12,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h12>lld and h12<hhd,h13,''+numtostr(f*13,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h13>lld and h13<hhd,h14,''+numtostr(f*14,0)+'%'),pxdn5,colora0a0a0;
drawtext(w and h14>lld and h14<hhd,h15,''+numtostr(f*15,0)+'%'),pxdn5,colora0a0a0;
ak1:=barslast(w1)+1;
bk1:=barslast(w2)+1;
目前:=if(bk1>ak1,ak1,bk1);
drawnumber(w1,cc,ref(目前,1),0),align2,pxup30,colorff00ff;
drawnumber(w2,cc,ref(目前,1),0),align2,pxdn10,colorff00;
方向:=if(cc=cch,'下行 ','上升 ');
周期:=if(datatype=6,'天 ',if(datatype=7,'周 ',if(datatype=8,'月 ','单位')));
drawtextex(cc=cch,1,320,0,'目前波段'+方向+numtostr(目前,0)+周期),color666600;
drawtextex(cc<>cch,1,320,0,'目前波段'+方向+numtostr(目前,0)+周期),color0088ff;
drawtext(w1,cc,''+周期),pxup30,colorff00ff;
drawtext(w2,cc,''+周期),pxdn10,colorff00;
{p:10,1,30}
x1:=trough(4,p,1);
x8:=troughbars(4,p,1)=0;
x11:=troughbars(4,p,2);
x18:=troughbars(4,p,1);
x13:=troughbars(4,p,1);
x3:=peak(4,p,1);
x31:=peakbars(4,p,2);
x38:=peakbars(4,p,1);
x33:=peakbars(4,p,1);
x5:=peakbars(4,p,1)=0;
光标位置:=sysparam(1);
cldis:=x13[sysparam(1)];
chdis:=x33[sysparam(1)];
tcl:=光标位置-cldis;
tch:=光标位置-chdis;
bldis:=x18[sysparam(1)];
bhdis:=x38[sysparam(1)];
tbl:=光标位置-bldis;
tbh:=光标位置-bhdis;
aldis:=x11[sysparam(1)];
ahdis:=x31[sysparam(1)];
tal:=光标位置-aldis;
tah:=光标位置-ahdis;
k一浪a:=if(tcl>tch,tal,tah);
k二浪b:=if(tcl>tch,tbh,tbl);
k三浪c:=if(tcl>tch,tcl,tch);
ph:=high;
pl:=low;
p一浪a:if(tcl>tch,pl[tal+0],ph[tah+0]),linethick0;
p二浪b:if(tcl>tch,ph[tbh+0],pl[tbl+0]),linethick0;
p三浪c:if(tcl>tch,pl[tcl+0],ph[tch+0]),linethick0;
drawline(barpos=k一浪a,p一浪a,barpos=k二浪b,p二浪b,0),linedot,color77ffff;
drawline(barpos=k二浪b,p二浪b,barpos=k三浪c,p三浪c,0),linedot,color77ffff;
一浪长:=p二浪b-p一浪a;
y1:=一浪长;
p1:=p三浪c+y1;
vertline(barpos=k三浪c),linedot,colorffff;
drawtext(barpos=k三浪c,sysparam(4)*0.95,'转\n \n\n折\n \n点'),colorffff;
y0618:=一浪长*0.618;
p0618:=p三浪c+y0618;
partline(barpos>k三浪c,p0618),colorccff;
drawtext(barpos=k三浪c,p0618,' '+numtostr(p0618,3)+' cop'),colorccff;
y1000:=一浪长*1;
p1000:=p三浪c+y1000;
partline(barpos>k三浪c,p1000),colorccff;
drawtext(barpos=k三浪c,p1000,' '+numtostr(p1000,3)+' op'),colorccff;
y1618:=一浪长*1.618;
p1618:=p三浪c+y1618;
partline(barpos>k三浪c,p1618),colorccff;
drawtext(barpos=k三浪c,p1618,' '+numtostr(p1618,3)+' xop'),colorccff;
dk:=ma(close,7);
{stickline(dk<=close and close>=open,high,low,0.1,1),colorff;
stickline(dk<=close and close>=open,close,open,8,1),colorff;
stickline(dk<=close and close<open,high,low,0.1,0),colorff;
stickline(dk<=close and close<open,close,open,8,0),colorff;
stickline(dk>close and close>=open,high,low,0.1,1),colorff00;
stickline(dk>close and close>=open,close,open,8,1),colorff00;
stickline(dk>close and close<open,high,low,0.1,0),colorff00;
stickline(dk>close and close<open,close,open,8,0),colorff00;}
当前月:=fracpart(round(currentdate/100)/100)*100;
月:=month;
日:=day;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='1',close,numtostr(当前月,0)+'月时间之窗:5(小寒)、6、15、20(大寒)、21、*25\n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='2',close,numtostr(当前月,0)+'月时间之窗:4(立春)、6、15、18(雨水)21\n \n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='3',close,numtostr(当前月,0)+'月时间之窗:5(惊蛰)、6、15、*20(春分)、21\n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='4',close,numtostr(当前月,0)+'月时间之窗:4(清明)、6、15、20(谷雨)21\n \n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='5',close,numtostr(当前月,0)+'月时间之窗:5(立夏)、6、*12、15、21(小满)\n \n \n \n \n'),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='6',close,numtostr(当前月,0)+'月时间之窗:5(芒种)、6、*14、21(夏至)\n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='7',close,numtostr(当前月,0)+'月时间之窗:7(小暑)、8、15、*19、23(大暑)\n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='8',close,numtostr(当前月,0)+'月时间之窗:*6、7(立秋)、8、18、23(处暑)\n \n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='9',close,numtostr(当前月,0)+'月时间之窗:7(白露)、8、15、*18、23(秋分)\n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='10',close,numtostr(当前月,0)+'月时间之窗:8(寒露)、15、23(霜降)、*31\n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='11',close,numtostr(当前月,0)+'月时间之窗:7(立冬)、8、15、22(小雪)23、*28\n \n \n \n \n \n '),align5,colorffff;
drawtext(sysparam(2)=barpos and numtostr(当前月,0)='12',close,numtostr(当前月,0)+'月时间之窗:7(大雪)、8、15、22(冬至)23、*31\n \n \n \n \n \n '),align5,colorffff;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文叠加后很实用的波段主图+融轨数字+筹码堆积+撑压提示公式下载 飞狐筹码堆积指标 源码仅供学习研究。