mac99可变四区
现在我们认为仅仅有均线不能说明其阻力位.支撑位.我们加进了四区图.加进了黄金分割.而且这个公式和其他不同的就是他每出现一个新的高低点就重新划分新的四区和黄金分割.这是其他同类公式无法比拟的.就是上万个你也找不出能和这个公式相同的.或者接近相同的公式.我们永远不会重复编辑公式而是要不断更新.创造与众不同的公式.
下边经过改编的新图原码.我们必需谢谢【九九九九九九】提供的源码.才有现在的公式.而且新公式的要领和原作是一样的.我就是借题发挥而已.也是告诉大家学会怎么利用原来的公式.为我所用.只有使用你自己的编辑公式.用起来才能得心应手.明明白白公式的含义.其实世界上哪有那么些发明创造.能在前人的基础上更新.改造.提高.也是前进.而且是必需的.只要不是原封不动就是向前进步了.你不妨仔细比较就会发现.细微的变化还是不少的.这就加进了我本人的看法.你再去利用公式前也要加进你的意思公式才会更好的为你服务.其实这才是我编辑这个公式的真正企图.
{可变四区}
{1.k线}
stickline(close>open,close,open,8.5,0) ,color000011;
stickline(close>open,close,open,7,0) ,color000033;
stickline(close>open,close,open,6,0) ,color000055;
stickline(close>open,close,open,5,0) ,color000077;
stickline(close>open,close,open,4,0) ,color000099;
stickline(close>open,close,open,3,0) ,color0000bb;
stickline(close>open,close,open,2,0) ,color0000dd;
stickline((close >= open),high,low,0.5,0),color0000ff;
stickline((open >= close),close,open,8.5,0),color006600;
stickline((open >= close),close,open,7,0),color008800;
stickline((open >= close),close,open,6,0),color00aa00;
stickline((open >= close),close,open,5,0),color00bb00;
stickline((open >= close),close,open,4,0),color00cc00;
stickline((open >= close),close,open,3,0),color00dd00;
stickline((open >= close),close,open,2,0),color00ee00;
stickline((open > close),high,low,0.5,0),color00ff00;
ah1:hhv(h,last(cross(ma(c,90),ma(c,30))=0)+1),color0077ff;
al2:llv(l,last(cross(ma(c,90),ma(c,30))=0)+1),colorff9900;
下跌:last(ah1>h),precis0 ,linethick0;
drawtext(barstatus=2 and 下跌,ah1,'----【n:='+numtostrn(下跌,0)+'】---- '),align2,color00ffff,linethick3,layer0;
x:=barslast(dispstatus=1)+1;
p:=backset(dispstatus=2,x/2+1);
k:=barslast(cross(p,0.5))+1;
k0:(0.5*ah1+0.5*al2),color00ffff,dotline;
k1:if(k>=0,(0.618*ah1+0.382*al2),0),color0077ff,dotline;
k2:if(k>=0,al2+(ah1-al2)*0.74,0),color00ffff,dotline;
k3:if(k>=0,al2+(ah1-al2)*0.865,0),color0000ff,dotline;
k5:if(k>=0,(0.382*ah1+0.618*al2),0),color0598ff,dotline;
k6:if(k>=0,ah1-(ah1-al2)*0.74,0),dotline;
k7:if(k>=0,ah1-(ah1-al2)*0.865,0),color99ff99,dotline;
nnl:=dispstatus=2;
drawtext(nnl,ah1*0.998,'最高--→'+ah1+'元'),align1,color0047ff,linethick1;
drawtext(nnl,k3,'0.865-→'+numtostrn(k3,2)+'元'),align1,color0047ff,linethick1;
drawtext(nnl,k2,'0.742-→'+numtostrn(k2,2)+'元'),align1,color00ffff,linethick1;
drawtext(nnl,k1,'0.618-→'+numtostrn(k1,2)+'元'),align1,color0047ff,linethick1;
drawtext(nnl,k0,'0.500-→'+numtostrn(k0,2)+'元'),align1,color00ff00,linethick1;
drawtext(nnl,k5,'0.382-→'+numtostrn(k5,2)+'元'),align1,color00ffff,linethick1;
drawtext(nnl,k6,'0.258-→'+numtostrn(k6,2)+'元'),align1,color0047ff,linethick1;
drawtext(nnl,k7,'0.135-→'+numtostrn(k7,2)+'元'),align1,color99ff99,linethick1;
drawtext(nnl,al2*1,'最低--→'+al2+'元'),align1,valign2,color0047ff,linethick1;
hk1:=al2+(ah1-al2)*0.742;
hk2:=al2+(ah1-al2)*0.5;
hk3:=al2+(ah1-al2)*0.258;
fillrgn(ah1,hk1,ah1>hk1,rgb(90,0,90)),layer7;
fillrgn(hk1,hk2,hk1>hk2,rgb(0,0,90)),layer7;
fillrgn(hk2,hk3,hk2>hk3,rgb(0,90,0)),layer7;
fillrgn(hk3,al2,hk3>al2,rgb(0,45,0)),layer7;
#define n(mac99) if(barscount(c)<mac99,0,mac99)
if datatype>10 then begin{月}
ma(close,n(6)),dotline,color999999;
ma(close,n(12)),dotline,linethick2,color0080ff;
ma(close,n(24)),dotline,linethick2,colorblue;
ma(close,n(48)),dotline,linethick2,color400080;
end
if datatype=9 then begin{周}
ma(close,n(4)),dotline,color999999;
ma(close,n(12)),dotline,linethick2,color0080ff;
ma(close,n(24)),dotline,linethick2,colorblue;
ma(close,n(48)),dotline,linethick2,color400080;
end
if datatype=8 then begin {日}
m5:ma(close,n(5)),color0000ff;
m13:ma(close,n(13)),color0077ff;
m21:ma(close,n(21)),color999999;
m55:ma(close,n(55)),linethick2,color0080ff;
m89:ma(close,n(89)),linethick2,colorblue;
m121:ma(close,n(121)),linethick2,color400080;
end
if datatype=7 then begin {60分}
ma(close,n(5)),dotline,colorgreen;
ma(close,n(10)),dotline,colorred;
ma(close,n(20)),dotline,color999900;
ma(close,n(100)),dotline,color999999;
end
if datatype=6 then begin {30分}
ma(close,n(5)),dotline,colorff00ff;
ma(close,n(10)),dotline,colorgreen;
ma(close,n(60)),dotline,color999900;
ma(close,n(300)),dotline,color999999;
end
if datatype=5 then begin {15分}
ma(close,n(5)),dotline,color00ffff;
ma(close,n(10)),dotline,colorff00ff;
ma(close,n(20)),dotline,colorgreen;
ma(close,n(100)),dotline,color999900;
end
if datatype=4 then begin {5分}
ma(close,n(5)),dotline,colorwhite;
ma(close,n(15)),dotline,color00ffff;
ma(close,n(30)),dotline,colorff00ff;
ma(close,n(60)),dotline,colorgreen;
end
if datatype=3 or datatype=1 then begin {分时or 1分}
ma25n1:ma(close,n(25)),dotline,colorwhite;
ma75n1:ma(close,n(75)),dotline,color00ffff;
ma150n1:ma(close,n(150)),dotline,colorff00ff;
ma300n1:ma(close,n(300)),dotline,colorgreen;
end
if datatype=2 then begin {分笔};
ma100f:ma(close,n(100)),dotline,colorwhite;
ma200f:ma(close,n(200)),dotline,color00ffff;
ma500f:ma(close,n(500)),dotline,colorff00ff;
ma1000f:ma(close,n(1000)),dotline,colorgreen;
end;
上一指标公式:低位区反弹翻红买入短线公式下载 大智慧指标低位区买入源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文mac99可变四区公式下载 大智慧指标源码mac99仅供学习研究。