波段操作的选择
用东方求败30分钟加均线做波段不错。本公式有未来,但是还是个好公式
波段趋势 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.036,colorlicyan; 高风区2:y293*1.031,colorlicyan; 高风区3:y293*1.026,colorlicyan; 良机区1:y293*0.974,colorlicyan; 良机区2:y293*0.969,colorlicyan; 良机区3:y293*0.964,colorlicyan; 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; k13:expma(c,204) ,colorwhite; k14:expma(c,216) ,colorwhite; k15:expma(c,228) ,colorwhite; k16:expma(c,260) ,colorwhite; k1:expma(c,6),colorred; k2:expma(c,14) ,colorred; k3:expma(c,20) ,colorred; k4:expma(c,24) ,colorligreen; k5:expma(c,30) ,coloryellow; k6:expma(c,36) ,coloryellow; k7:expma(c,42) ,coloryellow; k8:expma(c,48) ,coloryellow; k9:expma(c,100) ,colorblue; k10:expma(c,112) ,colorblue; k11:expma(c,124) ,colorblue; k12:expma(c,138) ,colorblue;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文波段操作的选择(通达信指标+主图源码+贴图)下载 通达信源码操作仅供学习研究。