软件名称:[B]关于均线乖离双周期显示,副图,源码,贴图说明[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2012-10-16 04:08:48
软件简介:
为了使均线乖离在一个图显示二个周期的乖离情况,便于短长结合分析,而做此指标,当参数N为1时,显示的短周期乖离,调整参数N为2或0时,则显示的长周期均线乖离.而均线的长短则由自己决定.
这里的均线选择仅供参考.
均价:=(C+if(H=C,C,H)+if(L=C,C,L)+O)/4;
AAA:=(WMA(均价,2.5)+WMA(均价,5)+wMA(均价,10)+WMA(均价,20))/4;
lxx:=(REF(AAa,2)+REF(AAa,1)+REF(AAa,0))/3,COLORYELLOW;
AA:=(WMA(均价,5)+WMA(均价,10)+WMA(均价,20)+WMA(均价,30)+WMA(均价,60)+WMA(均价,120))/6;
轴心线:=(REF(AA,10)+REF(AA,5)+REF(AA,0))/3,COLORYELLOW,PRECISION2;
lx:=IF(n=1,lxx,轴心线);
go:=O-lx;
gh:=h-lx;
gl:=l-lx;
gc:=c-lx;
GK:(go+gh+gl+gc)/4,COLORWHITE;
mGK:wMA(GK,3),COLORYELLOW;
mGK3:wMA(MGK,3),COLORMAGENTA;
信号:IF(CROSS(MA(GK,2),0),MA(C,2),0),LINETHICK;
STICKLINE(GC>=GO,GL,GH,0.1,0),COLORRED;
STICKLINE(GC>GO,GO,GC,6,0),COLORRED;
STICKLINE(GC>GO,GO,GC,2,0),COLORCC66FF;
STICKLINE(GC<GO,GO,GC,6,0),COLORAAAA00;
STICKLINE(GC<GO,GO,GC,2,0),COLORFFCCAA;
STICKLINE(GC<GO,GL,GH,0.1,0),COLORCYAN;
变线:0,COLORWHITE;
[url=http://www.70822.com/soft/sort013/sort02/down-53903.html]关于均线乖离双周期显示,副图,源码,贴图说明[/url]