软件名称:[B]发一个简单实用的波段小指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2012-02-10 07:57:19
软件简介:
{价差MACD}
DRAWGBK(CLOSE=CLOSE,COLORRGB(30,30,60),COLORRGB(30,30,60),1);
hloc:=(h+l+2*c)/4;
价差:sma((hloc-ref(hloc,1))/ref(hloc,1),3,1)*1000,PRECISION2,LINETHICK;
macd:=价差;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,5,0 ),COLOR00AAFF;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,3.5,0 ),COLOR00BBFF;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,2,0 ),COLOR00CCFF;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,1.5,0 ),COLOR00DDFF;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,1,0 ),COLOR00EEFF;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,0.5,0 ),COLOR00FFFF;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,5,0 ),COLOR0000AA;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,3.5 ,0 ),COLOR0011BB;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,2,0 ),COLOr0022CC;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,1.5 ,0 ),COLOR0033DD;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,1 ,0 ),COLOR0044EE;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,0.5 ,0 ),COLOR0055FF;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,5,0 ),COLORAA00BB;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,3.5 ,0 ),COLORBB11BB;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,2,0 ),COLORCC22BB;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,1.5,0 ),COLORDD33BB;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,1 ,0 ),COLOREE44BB;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,0.5,0 ),COLORFF55BB;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,5,0 ),COLORFF7700;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,3.5 ,0 ),COLORFF8811;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,2,0 ),COLORFFAA22;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,1.5 ,0 ),COLORFFBB33;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,1 ,0 ),COLORFFDD44;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,0.5 ,0 ),COLORFFFF55;
xg1:=COUNT(macd>0 and macd>ref(macd,1),3)=3;
STICKLINE(xg1,macd/2,0,8,0 ),COLORBLUE;
xg2:=ref(macd,1)<ref(macd,2) and (-ref(macd,1))/(-macd)>2 and COUNT(macd<0,3)=3;
STICKLINE(xg2,macd*1.2,macd*1.5,8,0 ),COLORYELLOW;
btx:=sma((FORCAST(hloc,13)-ref(FORCAST(hloc,13),1))/ref(FORCAST(hloc,13),1),3,1)*1000;
波段线:btx,COLORMAGENTA,PRECISION2,LINETHICK2;
PARTLINE(波段线<ref(波段线,1),波段线),COLORGREEN,LINETHICK2;
对比线:FORCAST(波段线,8),PRECISION2,LINETHICK1,LINEDOT,COLORWHITE;
[url=http://www.70822.com/soft/sort013/sort02/down-44062.html]发一个简单实用的波段小指标[/url]