软件名称:[B]亮丽画面的MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2009-11-19 06:25:14
软件简介:
[通达信]亮丽画面的MACD
DIF:EMA(CLOSE,13)-EMA(CLOSE,21);
DEA:EMA(DIF,2);
CD:(DIF-DEA)*7,COLORRED,LINETHICK2;
DRAWBAND(DIF,RGB(255,50,0),DEA,RGB(0,255,50));
界: 0,COLORFFFF00,LINETHICK1;
DRAWTEXT(ISLASTBAR AND DIF>REF(DIF,1),DIF,' ↑趋势'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND DIF<REF(DIF,1),DIF,' ↓趋势'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND CD>REF(CD,1),CD,' ↑柱'),COLOR0000FF;
DRAWTEXT(ISLASTBAR AND CD<REF(CD,1),CD,' ↓柱'),COLOR00FF00;
STICKLINE((CD > 0),0,CD,1,0),COLOR0000CC;
STICKLINE((CD > 0),0,CD*0.9,1,0),COLOR0000EE;
STICKLINE((CD > 0),0,CD*0.8,1,0),COLOR0011FF;
STICKLINE((CD > 0),0,CD*0.7,1,0),COLOR0033FF;
STICKLINE((CD > 0),0,CD*0.6,1,0),COLOR0055FF;
STICKLINE((CD > 0),0,CD*0.5,1,0),COLOR0077FF;
STICKLINE((CD > 0),0,CD*0.4,1,0),COLOR0099FF;
STICKLINE((CD > 0),0,CD*0.3,1,0),COLOR00BBFF;
STICKLINE((CD > 0),0,CD*0.2,1,0),COLOR00DDFF;
STICKLINE((CD > 0),0,CD*0.1,1,0),COLOR00FFFF;
STICKLINE((CD < 0),0,CD,1,0),COLORCC0033;
STICKLINE((CD < 0),0,CD*0.9,1,0),COLOREE0033;
STICKLINE((CD < 0),0,CD*0.8,1,0),COLORFF1133;
STICKLINE((CD < 0),0,CD*0.7,1,0),COLORFF3333;
STICKLINE((CD < 0),0,CD*0.6,1,0),COLORFF5533;
STICKLINE((CD < 0),0,CD*0.5,1,0),COLORFF7733;
STICKLINE((CD < 0),0,CD*0.4,1,0),COLORFF9933;
STICKLINE((CD < 0),0,CD*0.3,1,0),COLORFFBB33;
STICKLINE((CD < 0),0,CD*0.2,1,0),COLORFFDD33;
STICKLINE((CD < 0),0,CD*0.1,1,0),COLORFFFF33;
DI:=EMA(C,12)-EMA(C,26);
DE:=EMA(DI,9);
DRAWICON(CROSS(DI,DE),DIF,17);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DRAWICON(CROSS(K,D) AND K>20 AND D<50,CD,23);
DRAWTEXT(CROSS(K,D) AND K>20 AND D<50,CD,' KD金叉'),COLORFFFFFF;
DIF:EMA(CLOSE,13)-EMA(CLOSE,21);
DEA:EMA(DIF,2);
CD:(DIF-DEA)*7,COLORRED,LINETHICK2;
DRAWBAND(DIF,RGB(255,50,0),DEA,RGB(0,255,50));
界: 0,COLORFFFF00,LINETHICK1;
DRAWTEXT(ISLASTBAR AND DIF>REF(DIF,1),DIF,' ↑趋势'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND DIF<REF(DIF,1),DIF,' ↓趋势'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND CD>REF(CD,1),CD,' ↑柱'),COLOR0000FF;
DRAWTEXT(ISLASTBAR AND CD<REF(CD,1),CD,' ↓柱'),COLOR00FF00;
STICKLINE((CD > 0),0,CD,1,0),COLOR0000CC;
STICKLINE((CD > 0),0,CD*0.9,1,0),COLOR0000EE;
STICKLINE((CD > 0),0,CD*0.8,1,0),COLOR0011FF;
STICKLINE((CD > 0),0,CD*0.7,1,0),COLOR0033FF;
STICKLINE((CD > 0),0,CD*0.6,1,0),COLOR0055FF;
STICKLINE((CD > 0),0,CD*0.5,1,0),COLOR0077FF;
STICKLINE((CD > 0),0,CD*0.4,1,0),COLOR0099FF;
STICKLINE((CD > 0),0,CD*0.3,1,0),COLOR00BBFF;
STICKLINE((CD > 0),0,CD*0.2,1,0),COLOR00DDFF;
STICKLINE((CD > 0),0,CD*0.1,1,0),COLOR00FFFF;
STICKLINE((CD < 0),0,CD,1,0),COLORCC0033;
STICKLINE((CD < 0),0,CD*0.9,1,0),COLOREE0033;
STICKLINE((CD < 0),0,CD*0.8,1,0),COLORFF1133;
STICKLINE((CD < 0),0,CD*0.7,1,0),COLORFF3333;
STICKLINE((CD < 0),0,CD*0.6,1,0),COLORFF5533;
STICKLINE((CD < 0),0,CD*0.5,1,0),COLORFF7733;
STICKLINE((CD < 0),0,CD*0.4,1,0),COLORFF9933;
STICKLINE((CD < 0),0,CD*0.3,1,0),COLORFFBB33;
STICKLINE((CD < 0),0,CD*0.2,1,0),COLORFFDD33;
STICKLINE((CD < 0),0,CD*0.1,1,0),COLORFFFF33;
DI:=EMA(C,12)-EMA(C,26);
DE:=EMA(DI,9);
DRAWICON(CROSS(DI,DE),DIF,17);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DRAWICON(CROSS(K,D) AND K>20 AND D<50,CD,23);
DRAWTEXT(CROSS(K,D) AND K>20 AND D<50,CD,' KD金叉'),COLORFFFFFF;
[url=http://www.70822.com/soft/sort013/sort05/down-14613.html]亮丽画面的MACD[/url]