macdk线(源码)==别有情趣的指标!_股票公式_顶尖财经网
  您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文

macdk线(源码)==别有情趣的指标!

加入日期:2009-8-11 20:18:00
源码如下:

macdk线==别有情趣的指标!

{macdk线}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*200-100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
月K:=ma("KDJ.k"(89,3,3),26),COLORGREEN;
月J:=ma("KDJ.j"(89,3,3),26),COLORRED;
周k:=ma("KDJ.k"(27,3,3),5),LINETHICK0;
周D:=ma("KDJ.d"(27,3,3),5),,LINETHICK1;
周J:=ma("KDJ.j"(27,3,3),5),LINETHICK0;
RSVa:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*200-100;
日K:=SMA(RSVa,7,1),COLORFFFF00,LINETHICK2;
日D:=SMA(日K,3,1),COLORWHITE,LINETHICK1;
Jj:=3*日K-2*日D,COLORWHITE,,LINETHICK2;
STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),1,0),COLOR0022FF;
STICKLINE(J>REF(J,1),J,REF(J,1),6,0),COLOR0022FF;
STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLOR0099FF;
STICKLINE(J>REF(J,1),J,REF(J,1),1.5,0),COLOR00DDFF;
STICKLINE(J>REF(J,1),J,REF(J,1),0,0),COLOR00DDFF;
STICKLINE(J<REF(J,1),HHV(J,3),LLV(J,3),1,0),COLORFF2200;
STICKLINE(J<REF(J,1),J,REF(J,1),6,0),COLORFF6600;
STICKLINE(J<REF(J,1),J,REF(J,1),3,0),COLORFF9900;
STICKLINE(J<REF(J,1),J,REF(J,1),1.5,0),COLORFFDD00;
STICKLINE(J<REF(J,1),J,REF(J,1),0,0),COLORFFDD00;
maj3:ema(J,3),COLOR00ffff,linethick2;
maj5:ema(J,5),COLOR00ff00,linethick2;
STICKLINE(Jj>REF(Jj,1),HHV(Jj,3),LLV(Jj,3),1,0),COLOR0022FF;
STICKLINE(Jj>REF(Jj,1),Jj,REF(Jj,1),6,0),COLOR0022FF;
STICKLINE(Jj>REF(Jj,1),Jj,REF(Jj,1),3,0),COLOR0099FF;
STICKLINE(Jj>REF(Jj,1),Jj,REF(Jj,1),1.5,0),COLOR00DDFF;
STICKLINE(Jj>REF(Jj,1),Jj,REF(Jj,1),0,0),COLOR00DDFF;
STICKLINE(Jj<REF(Jj,1),HHV(Jj,3),LLV(Jj,3),1,0),COLORFF2200;
STICKLINE(Jj<REF(Jj,1),Jj,REF(Jj,1),6,0),COLORFF6600;
STICKLINE(Jj<REF(Jj,1),Jj,REF(Jj,1),3,0),COLORFF9900;
STICKLINE(Jj<REF(Jj,1),Jj,REF(Jj,1),1.5,0),COLORFFDD00;
STICKLINE(Jj<REF(Jj,1),Jj,REF(Jj,1),0,0),COLORFFDD00;
majj3:ema(Jj,3),COLORffffff,linethick2;
majj5:ema(Jj,5),COLOR0000ff,linethick2;
0,COLORred,linethick2;
20,colorffffff,pointdot;
50,colorffffff;
80,colorffffff,pointdot;
100,colorffffff;
-20,colorffffff,pointdot;
-50,colorffffff;
-80,colorffffff,pointdot;
-100,colorffffff;
 

{顶尖财经网www.58188.com整理}


以上信息为博客会员、合作方、加盟会员提供,本站不拥有版权,版权归原作者所有,所载文章、数据仅供参考,据此操作,风险自负。
顶 尖 财 经 -- 中 华 顶 尖 网 络 信 息 服 务 中 心
Copyright? 2000 - 2004 www.58188.com