当前位置:分析家公式网 → 股票公式 → 大智慧I公式 → 一键转帖:高灵敏MACD+KDJ
软件名称:[B]高灵敏MACD+KDJ[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2009-10-18 14:25:29
软件简介:
{高灵敏MACD+KDJ}
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=100*(s2-s6);
STICKLINE(dk>0,0,dk,0,1),COLORRED;
STICKLINE(dk<0,0,dk,0,1),COLORblue;
0,COLOR00ff00;
均衡:=EMA(ema(ema(c,3),2),2),COLORWHITE;
TYP:=(HIGH + LOW + CLOSE)/3;
cci:=((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))/4;
DI:=(均衡 - ref(均衡,2));
DE:=EMA(DI,7);
MACD:=ema((DI-DE)+cci,1);
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,4,0),COLOR0000AA;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,3.5,0),COLOR0000BB;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,3,0),COLOR0000CC;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,2.5,0),COLOR0000CC;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,2,0),COLOR0000DD;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,1.5,0),COLOR0000EE;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,1,0),COLOR0000FF;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,0.5,0),COLORRED;
{黄柱}
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,4,0),color0090FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,3.5,0),color009FFF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,3,0),color00a6FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,2.5,0),color00b5FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,2,0),color00c4FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,1.5,0),Color00d3ff;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,1,0),color00e2FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,0.5,0),color00FFFF;
{蓝柱}
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,4,0),COLORFF0000;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,3.5,0),COLORFF3300;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,3,0),COLORFF5500;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,2.5,0),COLORFF7700;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,2,0),COLORFF9900;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,1.5,0),COLORFFBB00;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,1,0),COLORFFDD00;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,0.5,0),COLORFFFF00;
{粉柱}
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,4,0),ColorFF88ff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,3.5,0),ColorFF99ff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,3,0),ColorFFaaff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,2.5,0),ColorFFbbff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,2,0),ColorFFccff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,1.5,0),ColorFFddff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,1,0),ColorFFeeff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,0.5,0),ColorFFffff;
Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Var3:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Var4:=SMA(Var3, 9, 1);
Var5:=SMA(Var4, 3, 1);
J:ema(3*Var4-2*Var5,2)-50,linethick2,colorwhite;
A2:EMA(Var4, n)-50, COLORFF55CC;
A3:EMA(A2, n), COLORFF33CC;
A4:EMA(A3, n), COLORFF11CC;
A5:EMA(A4, n), COLORffff00;
A6:EMA(A5, N), COLORgreen;
A7:EMA(A6, N), COLORgreen;
AA:EMA(A5, 10),LINETHICK2, COLORred;
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=100*(s2-s6);
STICKLINE(dk>0,0,dk,0,1),COLORRED;
STICKLINE(dk<0,0,dk,0,1),COLORblue;
0,COLOR00ff00;
均衡:=EMA(ema(ema(c,3),2),2),COLORWHITE;
TYP:=(HIGH + LOW + CLOSE)/3;
cci:=((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))/4;
DI:=(均衡 - ref(均衡,2));
DE:=EMA(DI,7);
MACD:=ema((DI-DE)+cci,1);
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,4,0),COLOR0000AA;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,3.5,0),COLOR0000BB;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,3,0),COLOR0000CC;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,2.5,0),COLOR0000CC;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,2,0),COLOR0000DD;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,1.5,0),COLOR0000EE;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,1,0),COLOR0000FF;
STICKLINE(macd>0 and dk>ref(dk,1),dk/2,0,0.5,0),COLORRED;
{黄柱}
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,4,0),color0090FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,3.5,0),color009FFF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,3,0),color00a6FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,2.5,0),color00b5FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,2,0),color00c4FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,1.5,0),Color00d3ff;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,1,0),color00e2FF;
STICKLINE(macd>0 and dk<ref(dk,1),dk/2,0,0.5,0),color00FFFF;
{蓝柱}
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,4,0),COLORFF0000;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,3.5,0),COLORFF3300;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,3,0),COLORFF5500;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,2.5,0),COLORFF7700;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,2,0),COLORFF9900;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,1.5,0),COLORFFBB00;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,1,0),COLORFFDD00;
STICKLINE(macd<0 and dk<ref(dk,1),dk/2,0,0.5,0),COLORFFFF00;
{粉柱}
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,4,0),ColorFF88ff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,3.5,0),ColorFF99ff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,3,0),ColorFFaaff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,2.5,0),ColorFFbbff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,2,0),ColorFFccff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,1.5,0),ColorFFddff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,1,0),ColorFFeeff;
STICKLINE(macd<0 and dk>ref(dk,1),dk/2,0,0.5,0),ColorFFffff;
Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Var3:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Var4:=SMA(Var3, 9, 1);
Var5:=SMA(Var4, 3, 1);
J:ema(3*Var4-2*Var5,2)-50,linethick2,colorwhite;
A2:EMA(Var4, n)-50, COLORFF55CC;
A3:EMA(A2, n), COLORFF33CC;
A4:EMA(A3, n), COLORFF11CC;
A5:EMA(A4, n), COLORffff00;
A6:EMA(A5, N), COLORgreen;
A7:EMA(A6, N), COLORgreen;
AA:EMA(A5, 10),LINETHICK2, COLORred;
[url=http://www.70822.com/soft/sort013/sort04/down-4287.html]高灵敏MACD+KDJ[/url]