30分钟盯盘的选择
我常常30分钟盯盘,效果不错的一个指标。几位老师的作品集成。
{参数设置:起点(0,9999,1),终点(0,9999,1)}
t:=(c+l+h)/3;
sl:=((ref(t,1)*ref(v,1)+t*v)/(ref(v,1)+v));
vv:=sl;
y911:=iff(currbarscount=1, (xma(vv,9)*9-ma(vv,8)+ma(vv,7) -ma(vv,6)+ma(vv,5) -ma(vv,4)+ma(vv,3) -ma(vv,2) +vv)/9,xma(vv,9));
y912:=iff(currbarscount=1, (xma(y911,9)*9-ma(y911,8)+ma(y911,7) -ma(y911,6)+ma(y911,5) -ma(y911,4)+ma(y911,3) -ma(y911,2) +y911)/9,xma(y911,9));
y913:=iff(currbarscount=1, (xma(y912,9)*9-ma(y912,8)+ma(y912,7) -ma(y912,6)+ma(y912,5) -ma(y912,4)+ma(y912,3) -ma(y912,2) +y912)/9,xma(y912,9));
中期趋势:y913,linethick2,colorgreen;
y291:=iff(currbarscount=1,(xma(vv,29)*29-ma(vv,28)+ma(vv,27)-ma(vv,26)+ma(vv,25)-ma(vv,24)+ma(vv,23)-ma(vv,22)+ma(vv,21)-ma(vv,20)+ma(vv,19)-ma(vv,18)+ma(vv,17)-ma(vv,16)+ma(vv,15)-ma(vv,14)+ma(vv,13)-ma(vv,12)+ma(vv,11) -ma(vv,10)+ma(vv,9) -ma(vv,8)+ma(vv,7) -ma(vv,6)+ma(vv,5) -ma(vv,4)+ma(vv,3) -ma(vv,2)+vv)/29,xma(vv,29));
y292:=iff(currbarscount=1,(xma(y291,29)*29-ma(y291,28)+ma(y291,27)-ma(y291,26)+ma(y291,25)-ma(y291,24)+ma(y291,23)-ma(y291,22)+ma(y291,21)-ma(y291,20)+ma(y291,19)-ma(y291,18)+ma(y291,17)-ma(y291,16)+ma(y291,15)-ma(y291,14)+ma(y291,13)-ma(y291,12)+ma(y291,11) -ma(y291,10)+ma(y291,9) -ma(y291,8)+ma(y291,7) -ma(y291,6)+ma(y291,5) -ma(y291,4)+ma(y291,3) -ma(y291,2)+y291)/29,xma(y291,29));
y293:=iff(currbarscount=1,(xma(y292,29)*29-ma(y292,28)+ma(y292,27)-ma(y292,26)+ma(y292,25)-ma(y292,24)+ma(y292,23)-ma(y292,22)+ma(y292,21)-ma(y292,20)+ma(y292,19)-ma(y292,18)+ma(y292,17)-ma(y292,16)+ma(y292,15)-ma(y292,14)+ma(y292,13)-ma(y292,12)+ma(y292,11) -ma(y292,10)+ma(y292,9) -ma(y292,8)+ma(y292,7) -ma(y292,6)+ma(y292,5) -ma(y292,4)+ma(y292,3) -ma(y292,2)+y292)/29,xma(y292,29));
长期趋势:y293,linethick2,colorgreen;
if(y293>ref(y293,1),y293,drawnull),colorred,linethick2;
if(y913>ref(y913,1),y913,drawnull),colormagenta,linethick2;
高险区1:y293*1.02584,colorlicyan;
高风区2:y293*1.03216,colorlicyan;
高风区3:y293*1.03848,colorlicyan;
良机区1:y293*0.97416,colorliblue;
良机区2:y293*0.96784,colorliblue;
良机区3:y293*0.96152,colorliblue;
wsr1:=(close-ma(close,5))/ma(close,5)*100;
wsr2:=cross(wsr1,5);
wsr3:=cross(8,wsr1);
wsr4:=cross(wsr1,-5);
wsr5:=cross(wsr1,-8);
wsr6:=wsr3;
wsr7:=wsr4 or wsr5;
wsr8:=wsr7 and filter(wsr7,5);
wsr10:drawicon(wsr8,l-0.01,1);
wsr9:=wsr6 and filter(wsr6,5);
wsr11:drawicon(wsr9,h+0.01,2);
wsr12:=o<良机区3;
drawicon(wsr12 and filter(wsr12,12),l-0.03,9);
w1:=c>ref(c,1) and macd<ref(macd,1) and macd>0 and v<ref(v,1);
w2:=c>ref(c,1) and macd<0 and macd<ref(macd,1) and v<ref(v,1);
xg:=w1 or w2;
var1:=amount/vol/7;
var2:=(3*high+low+open+2*close)/7;
var3:=sum(amount,10)/var1/7;
var4:=dma(var2,vol/var3);
var5:=(close-var4)/var4*100,colorlimagenta;
xg1:=cross(var5,ma(var5,2)) and var5<0 and c<(hhv(h,5)*0.88) and ref(o>c,1) and ref(o>c,2);
xg3:=xg and xg1 and l<良机区1;
wsr13:=o>良机区3 and l<良机区1 or xg3;
drawicon(wsr13 and filter(wsr13,10),l-0.03,5);
wsr14:=h>高风区3;drawicon(wsr14 and filter(wsr14,15),h+0.03,6);
wsr15:=h<高风区3 and h>高风区2;drawicon(wsr15 and filter(wsr15,5),h+0.03,4);
wsr16:=(indexc-ma(indexc,3))/ma(indexc,3);
wsr17:=(indexc-ma(indexc,8))/ma(indexc,8);
wsr18:=(indexc-ma(indexc,18))/ma(indexc,18);
wsr19:=(wsr16 + wsr17 + wsr18)/3;
wsr20:=(c-ma(c,3))/ma(c,3);
wsr21:=(c-ma(c,8))/ma(c,8);
wsr22:=(c-ma(c,18))/ma(c,18);
wsr23:=(wsr20 + wsr21 + wsr22)/3;
wsr24:=(wsr19>ref(wsr19,1) and cross(wsr23,wsr19))*50;
wsr25:=(indexc-ma(indexc,6))/ma(indexc,6);
wsr26:=(indexc-ma(indexc,12))/ma(indexc,12);
wsr27:=(indexc-ma(indexc,24))/ma(indexc,24);
wsr28:=(wsr25 + wsr26 + wsr27)/3;
wsr29:=(c-ma(c,6))/ma(c,6);
wsr30:=(c-ma(c,12))/ma(c,12);
wsr31:=(c-ma(c,24))/ma(c,24);
wsr32:=(wsr29 + wsr30 + wsr31)/3;
wsr33:=(wsr28>ref(wsr28,1) and cross(wsr32,wsr28))*20;
wsr34:=(indexc-ma(indexc,13))/ma(indexc,13);
wsr35:=(indexc-ma(indexc,34))/ma(indexc,34);
wsr36:=(indexc-ma(indexc,55))/ma(indexc,55);
wsr37:=(wsr34 + wsr35 + wsr36)/3;
wsr38:=(c-ma(c,13))/ma(c,13);
wsr39:=(c-ma(c,34))/ma(c,34);
wsr40:=(c-ma(c,55))/ma(c,55);
wsr41:=(wsr38 + wsr39 + wsr40)/3;
wsr42:=(wsr37>ref(wsr37,1) and cross(wsr41,wsr37));
wsr43:=(indexc-ma(indexc,13))/ma(indexc,13);
wsr44:=(indexc-ma(indexc,34))/ma(indexc,34);
wsr45:=(indexc-ma(indexc,55))/ma(indexc,55);
wsr46:=(wsr43 + wsr44 + wsr45)/3;
wsr47:=(c-ma(c,30))/ma(c,30);
wsr48:=(c-ma(c,60))/ma(c,60);
wsr49:=(c-ma(c,90))/ma(c,90);
wsr50:=(wsr47 + wsr48 + wsr49)/3;
wsr51:=(wsr46>ref(wsr46,1) and cross(wsr50,wsr46));
wsr52:=(indexc-ma(indexc,34))/ma(indexc,34);
wsr53:=(indexc-ma(indexc,55))/ma(indexc,55);
wsr54:=(indexc-ma(indexc,89))/ma(indexc,89);
wsr55:=(wsr52 + wsr53 + wsr54)/3;
wsr56:=(c-ma(c,60))/ma(c,60);
wsr57:=(c-ma(c,120))/ma(c,120);
wsr58:=(c-ma(c,220))/ma(c,220);
wsr59:=(wsr56 + wsr57 + wsr58)/3;
wsr60:=(wsr59>ref(wsr59,1) and cross(wsr59,wsr55));
wsr61:=wsr24 or wsr33 or wsr42 or wsr51 or wsr60;
drawtext(wsr61 and h<y293 and filter(wsr61,5),良机区3,'良机');
xg88:=(wsr61 and h<y293 and filter(wsr61,5))=1;
{立体k线}
stickline(close>open,h,low,0.3,0 ),color9933ff;
stickline(open>=close,l,high,0.3,0 ),color66cc33;
stickline(open>=close ,close ,open,3,0),color009900;
stickline(open>=close ,close ,open,2,0),color00cc00;
stickline(open>=close ,close ,open,1.5,0),color33ff00;
stickline(open>=close ,close ,open,1,0),color66ff00;
stickline(close>open,close,open,3,0),color000099;
stickline(close>open,close,open,2,0 ),color0000cc;
stickline(close>open,close,open,1.5,0 ),color0000ff;
stickline(close>open,close,open,1,0 ),color0033ff;
{修正价格}
重心:=(c+0.618*ref(c,1)+0.382*ref(c,2)+0.236*ref(c,3)+0.146*ref(c,4))/2.382,coloryellow,linethick1;
gao:=hhv(c,60)-llv(c,60);
rsi:=sma(max(重心-ref(重心,1),0),5,1)/sma(abs(重心-ref(重心,1)),5,1);
{趋势}
平衡:=ema(((slope(close,22) * 20) + close),55);
红升:if(重心>=平衡,平衡,drawnull),colorred,linethick2;
蓝降:if(重心<平衡,平衡,drawnull),colorblue,linethick2;
aa:=起点;
bb:=终点;
cyc:=if(capital=0,(sum(c,aa)-sum(c,bb))/(aa-bb),(sum(amount,aa)-sum(amount,bb))/(sum(vol,aa)-sum(vol,bb))/100);
区间成本:const(cyc),nodraw;
区间换手:(sum(vol,aa)-sum(vol,bb))/capital*100,nodraw;
计算周期:aa-bb,nodraw;
hh:=refdate(hhv(h,起点),date);
ll:=refdate(llv(l,起点),date);
n1:=if(period=7,1.05,if(period=6,1.02,1.01));
n2:=if(period=7,0.95,if(period=6,0.98,0.99));
stickline(currbarscount<=终点,区间成本*n1,区间成本*n2,5,0),color808080;
stickline(currbarscount<=终点,区间成本,区间成本,5,0),colorwhite;
stickline(currbarscount=起点,hh,ll,0,-1),coloryellow;
stickline(currbarscount=终点,hh,ll,0,-1),coloryellow;
drawtext(currbarscount=起点,ll,'起点'),colorwhite;
drawtext(currbarscount=终点,ll,'终点'),colorwhite;
drawkline(high,open,low,close);
bdgd:=c=hhv(c,20);
gdsj:=barslast(bdgd);
t线:if(gdsj>0,ref(c,gdsj),ref(c,gdsj)),pointdot,colorred,linethick4;
gj:=(c+h+l+o)/4;
明阻:=l+(gj-l)+(c-l);
明支:=l+(c-gj);
今阻:ref(明阻, 1),colorgreen,nodraw;
今支:ref(明支, 1),colorff00ff,nodraw;
stickline(islastbar and c>=今阻,今阻*1.0001,今阻*0.9999,15,0),color0000ff;
stickline(islastbar and c<今阻,今阻*1.0001,今阻*0.9999,15,0),color00ff00;
stickline(islastbar and c>=今支,今支*1.0001,今支*0.9999,15,0),colorff00ff;
stickline(islastbar and c<今支,今支*1.0001,今支*0.9999,15,0),colorff8800;
上一指标公式:神奇波段指标(副图、源码、贴图)下载 通达信神奇指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文30分钟盯盘的选择指标(主副图 源码,图示)下载 通达信盯盘源码仅供学习研究。