135均线战法(波顶、波底、强势、生命、趋势线、黑马线)
da1:=if(55>totalbarscount,totalbarscount,55);
da:=if(currbarscount>da1,0,da1);
hi:=refdate(hhv(h,da),date);
lo:=refdate(llv(l,da),date);
c1:=if(currbarscount<=da,c,drawnull);
gz:=exp(ln(hi/lo)/10);
lh1:=sum(if(c1>=(hi/gz),v,0),da);
lh2:=sum(if(c1>=(hi/pow(gz,2)) and c1<(hi/gz),v,0),da);
lh3:=sum(if(c1>=(hi/pow(gz,3)) and c1<(hi/pow(gz,2)),v,0),da);
lh4:=sum(if(c1>=(hi/pow(gz,4)) and c1<(hi/pow(gz,3)),v,0),da);
lh5:=sum(if(c1>=(hi/pow(gz,5)) and c1<(hi/pow(gz,4)),v,0),da);
lh6:=sum(if(c1>=(hi/pow(gz,6)) and c1<(hi/pow(gz,5)),v,0),da);
lh7:=sum(if(c1>=(hi/pow(gz,7)) and c1<(hi/pow(gz,6)),v,0),da);
lh8:=sum(if(c1>=(hi/pow(gz,8)) and c1<(hi/pow(gz,7)),v,0),da);
lh9:=sum(if(c1>=(lo*gz) and c1<lo*pow(gz,2),v,0),da);
lh10:=sum(if(c1>=lo and c1<lo*gz,v,0),da);
l1:=refdate(hhv(lh1,da),date),linethick5;
l2:=refdate(hhv(lh2,da),date),linethick5;
l3:=refdate(hhv(lh3,da),date),linethick5;
l4:=refdate(hhv(lh4,da),date);
l5:=refdate(hhv(lh5,da),date);
l6:=refdate(hhv(lh6,da),date);
l7:=refdate(hhv(lh7,da),date);
l8:=refdate(hhv(lh8,da),date);
l9:=refdate(hhv(lh9,da),date);
l10:=refdate(hhv(lh10,da),date);
ss:=(l1+l2+l3+l4+l5+l6+l7+l8+l9+l10);
stickline(ceiling(da*l1/ss)*3>=currbarscount,hi*99/100,hi/gz,9,0)color871f78,linethick2;
stickline(ceiling(da*l2/ss)*3>=currbarscount,hi/pow(gz,1)*99/100,hi/pow(gz,2),9,0)color871f78,linethick2;
stickline(ceiling(da*l3/ss)*3>=currbarscount,hi/pow(gz,2)*99/100,hi/pow(gz,3),9,0)color871f78,linethick2;
stickline(ceiling(da*l4/ss)*3>=currbarscount,hi/pow(gz,3)*99/100,hi/pow(gz,4),9,0)color871f78,linethick2;
stickline(ceiling(da*l5/ss)*3>=currbarscount,hi/pow(gz,4)*99/100,hi/pow(gz,5),9,0)color871f78,linethick2;
stickline(ceiling(da*l6/ss)*3>=currbarscount,hi/pow(gz,5)*99/100,hi/pow(gz,6),9,0)color00ff00,linethick2;
stickline(ceiling(da*l7/ss)*3>=currbarscount,hi/pow(gz,6)*99/100,hi/pow(gz,7),9,0)color8e6b23,linethick2;
stickline(ceiling(da*l8/ss)*3>=currbarscount,lo*pow(gz,2),lo*pow(gz,3)*99/100,9,0)color8e6b23,linethick2;
stickline(ceiling(da*l9/ss)*3>=currbarscount,lo*pow(gz,1),lo*pow(gz,2)*99/100,9,0)color8e6b23,linethick2;
stickline(ceiling(da*l10/ss)*3>=currbarscount,lo,lo*pow(gz,1)*99/100,9,0)color8e6b23,linethick2;
drawkline(h,o,l,c);x5:hhv((ref(close,1)+ref(close,2)+ref(close,3)+ref(close,4))/4,5),linethick1,color00ff00;
x10:hhv((ref(close,2)+ref(close,3)+ref(close,4)+ref(close,5))/4,10),linethick1,coloryellow;
x20:hhv((ref(close,3)+ref(close,4)+ref(close,5)+ref(close,6))/4,20),linethick2,colorblue;
by:=cross(c,x5) and cross(c,x10) and cross(c,x20) and c/ref(c,1)>1.015;
bh:=cross(x5,x10) and c>o;
{stickline(by or bh,l,l-0.03,4,0),coloryellow;}
drawtext(by or bh,l-0.12,'●操作'),coloryellow;
{ddc:=cross(x5,c) and cross(x10,c) and cross(x20,c);
drawtext(ddc,h+0.15,'●'),coloryellow;}
{指标要点:
卷帘操作,垂帘休息.
指标原理:
x5、x10、x20均线依次取前4天平均值的5、10、20天最高值,
通过运算显示出不同于其它均线运行的趋势,
当三条均线由下或由上发散粘合时,股价在不同周期内的最高值趋于一致,
股价变动的几率比较大。
指标用法:
x5、x10、x20线在相对低位粘合成一条线时,向上变盘的可能性最大,
且股价同时上穿合一线可视为买点,三线发散向上持有或加仓,
此时由下向上形成浅色粉帘称为卷帘操作。在高位三线合一应该小心,
既有向上变盘的可能性也有向下变盘的可能性。但向下的可能性最大,
此时由高向下形成绿色帘称为垂帘休息,应该减仓或择机卖出。三线发散向下,
持币观望,等待机会。};
ty:=c;
hd:=filter(backset(filter(ref(ty,5)=hhv(ty,2*5+1),5),5+1),5);
ld:=filter(backset(filter(ref(ty,3)=llv(ty,2*3+1),3),3+1),3);
a:=ref(c,barslast(hd));
b:=ref(c,barslast(ld));
t10:=barslast(hd)<barslast(ld) and not(hd) ;
t20:=barslast(hd)>barslast(ld) and not(ld);
波顶:if(t10,a,a),coloryellow,linethick3;
stickline(t10,a,a,0,0),colorff0000,linethick2;
波底:if(t20,b,b),colorwhite,linethick2;
强势2:ma(c,2),colormagenta,linethick0;
生命5:ma(c,5),colorred,linethick2;
dg1:=(cross(强势2,生命5));
drawicon(dg1,生命5,9);势10:ma(c,10),colorblue,linethick1;
命18:ma(c,18),coloryellow,linethick0;
dg0:=(cross(生命5,命18));
drawicon(dg1,命18,1);
if(生命5>ref(生命5,1),生命5,drawnull),colorred,linethick2;
if(生命5<ref(生命5,1),生命5,drawnull),colorgreen,linethick2;
var1:=if((close>180),91.3,0.91299998);
短支:(intpart((close)/(var1)))*(var1),color0000ff,circledot,linethick1;
短压:短支+var1,color008000,circledot,linethick1;
var20:=(close>ref(短压,1)) and (close>ref(高,1)) and ((vol)/(ref(vol,1))>2) and (vol>ma(vol,120));
aa1:=amount/v;bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;dd1:=l<ma(c,5)*0.921;ee1:=v<ma(v,5)*1.5;
ff1:=bb1 and cc1 and dd1 and ee1;drawtext(ff1,(low* 0.99),'老鼠仓'),color4080ff;
a51:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);
黑马线:=ema(a51,5);a54:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;
趋势线:=(ma(3*sma(a54,6,1)-2*sma(sma(a54,5,1),5,1),2));
drawtext(cross(趋势线,0)and 黑马线<40,(high* 0.97),'▲大黑马'),colorwhite;
lc:=ref(close,1);rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);ma15:=ema(close,21);drawtext(cross(ff,ma15),(low * 0.99),'底背离'),colora6e500;
drawtext(cross(88,rsi),(high * 1.01),'顶背离'),color1880ff;
var2:=llv(low,27);var3:=hhv(high,34);var4:=ema((close-var2)/(var3-var2)*4,4)*25;
注意买:=if((var4<10),80,100);rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;超跌:=if(j<0,10,0);bddd:=llv(j,2)=llv(j,8);
买入:=if(cross(j,ref(j+0.01,1)) and bddd and j<20,30,0);
drawtext(买入 and 注意买=100 and 超跌=0,low,'短线'),color8000ff;
mtm:=c-ref(c,1);dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
p:=8;
豆:=ref(high,p)=hhv(high,2*p+1);
豆豆:=filter(豆,p);
豆豆1981:=backset(豆豆,p+1);
豆1981:=filter(豆豆1981,p);{高点}
压力:ref(high,barslast(豆1981)),colorff00ff,crossdot,linethick1;
r11:=backset(islastbar,barslast(豆1981)+1);
s11:=r11>ref(r11,1);
压力轨:drawline(豆1981,high,s11,high,1),coloryellow,linethick2;
aa2:=ref(low,p)=llv(low,2*p+1);
bb2:=filter(aa2,p);
cc2:=backset(bb2,p+1);
dd2:=filter(cc2,p);{低点}
支撑:ref(low,barslast(dd2)),color00ff00,crossdot,linethick1;
t11:=backset(islastbar,barslast(dd2)+1);
u11:=t11>ref(t11,1);
支撑轨:drawline(dd2,low,u11,low,1),colorblue,linethick2;
中轨:(压力轨+支撑轨)/2,color7fff00,linethick2;
{135均线战法}
yy10:=c>ma(c,11) and open<ma(c,11);{一阳三线}
yy30:=c>ma(c,33) and open<ma(c,33);
yy50:=c>ma(c,55) and open<ma(c,55);
drawtext(yy10 and yy50 and yy30,low-0.1,'一阳三线'),colorred;
sj10:=abs(ma(close,11)-ma(close,33))<c*0.01;{11线33线55线接近}
sj20:=abs(ma(close,33)-ma(close,55))<c*0.01;
sj30:=cross(ma(close,11),ma(close,55));{11线上穿55线}
drawtext(sj10 and sj20 and sj30,high+0.1,'三军集合'),colorred;diff:=ema(close,10) - ema(close,20);
dea:=ema(diff,5);
b4:=cross(diff,dea) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
drawtext(b4,l-0.30,'金叉'),color0099ff;
x1:=(c+l+h)/3;
bb5:=atan(ema(x1,5)-ref(ema(x1,5),1))*3.1416*10;
ema3:=ema(c,3);
c3:=ref(c,1);
涨停:=if((c-c3)*100/c3>=(10-0.01*100/c3),1,0);
stickline(涨停,open,close,1.0,0),colorred;
跌停:=if((c3-c)*100/c3>=(10-0.01*100/c3),1,0);
stickline(跌停,open,close,2.5,0),colorblue;
a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a4:=sma(a3,3,1);
a5:=sma(a4,3,1);
a6:=3*a4-2*a5;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,5),5)/ema(ema(abs(a7),5),5);
进:=llv(a8,2)=llv(a8,5) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(进=1,5),low-0.05,'↖买进'),coloryellow;
{好公式网 http:// 整理}
stickline(进,open,close,2,0),coloryellow;
多分顶:hhv(h,480),colorred,linethick2;
上一指标公式:短线抄底001 提供公式下载 通达信提供源码
下一指标公式:淘金线 主图公式下载 通达信源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文135均线战法另版本波顶波底强势生命趋势线黑马线公式下载 通达信均线黑马仅供学习研究。