软件名称:[B]MACD主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2017-05-12 01:13:14
软件简介:
操作线:EMA(CLOSE,5),LINETHICK2,COLORgreen;
EMA23:EMA(CLOSE,23),LINETHICK2,COLORFF00FF;
EMA46:MA(CLOSE,46),CIRCLEDOT,COLORwhite;
eMA115:eMA(CLOSE,115),COLORFFFF00,LINETHICK3;
年线:MA(CLOSE,250),COLORred;
二年:MA(CLOSE,466),COLORyellow;
{画线}
PARTLINE(操作线 ,操作线 >ref(操作线 ,1),RGB(0,255,127),操作线<ref(操作线 ,1),RGB(0,0,255)),LINETHICK3;
PARTLINE(EMA23 ,EMA23 >ref(EMA23 ,1),RGB(255,0,255),EMA23<ref(EMA23 ,1),RGB(0,0,255)),LINETHICK3;
PARTLINE(年线 ,年线 >ref(年线 ,1),RGB(255,50,0),年线<ref(年线 ,1),RGB(0,0,255)),LINETHICK3;
{引用macd}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
STICKLINE(MACD>0,EMA23,操作线,2.0,0),COLORred;
STICKLINE(MACD<0,操作线,EMA23,0.01,0),COLORblue;
{警戒 www.70822.com}
DRAWTEXT(COUNT(C>REF(C,1),4)=4,H*1.01,'警'),COLORYELLOW;
DRAWTEXT(COUNT(C<REF(C,1),4)=4,L*0.993,'注'),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort03/down-111827.html]MACD主图[/url]