软件名称:[B]乖离韵律 副图源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2014-06-01 01:21:46
软件简介:
DRAWGBKLAST(C>0,STRIP(RGB(25,15,0),RGB(60,200,0),70));
stickline(HHV(HIGH,5)>=REF(HHV(HIGH,5),1),-40,40,0.5,0),POINTDOT,color808080;
B5:=(C-MA(C,5))/MA(C,5)*100;{5天乖离}
B10:=(C-MA(C,10))/MA(C,10)*100;{10天乖离}
Bj10:=ma(B10,3);
B55:=(C-MA(C,55))/MA(C,55)*100;{N天乖离,取55}
Bj55:= MA(B55,8);
{-----------------【图解模板】---------------------}
{填色}
FILLRGN(Bj55,0,Bj55>0 and Bj55>ref(Bj55,1)),ColorFF55FF;
FILLRGN(Bj55,0,Bj55<0 and Bj55<ref(Bj55,1)),colorblue;
FILLRGN(Bj55,0,Bj55>0 and Bj55<ref(Bj55,1)),Color00FF00;
FILLRGN(Bj55,0,Bj55<0 and Bj55>ref(Bj55,1)),COLORFF55FF;
{背离}
A1:=BARSLAST(REF(CROSS(B55,Bj55),1));
底背离:=REF(C,A1+1)>C AND B55>REF(B55,A1+1) AND CROSS(B55,Bj55);
DRAWLINE(A1=0,Bj55,底背离,Bj55,0),Color0098FF,linethick3;
A2:=BARSLAST(REF(CROSS(Bj55,B55),1));
顶背离:=REF(C,A2+1)<C AND REF(Bj55,A2+1)>B55 AND CROSS(Bj55,B55);
DRAWLINE(A2=0,Bj55,顶背离,Bj55,0),COLORGREEN,DOTLINE;
{乖离}
乖离5:=B5;
均离10:=Bj10;
乖离55:B55,PRECIS2,LINETHICK2,COLORWHITE;
均离55:Bj55,PRECIS2,LINETHICK2,COLOR0000FF;
[url=http://www.70822.com/soft/sort013/sort03/down-72993.html]乖离韵律 副图源码[/url]