kdj买卖分明==看波段赢利啦!_股票公式_顶尖财经网
  您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文

kdj买卖分明==看波段赢利啦!

加入日期:2010-8-23 20:44:01
源码如下:

kdj买卖分明==看波段赢利啦!
{kdj买卖分明}
Var1:=HHV(HIGH,3);
Var2:=(IF(WINNER(1.1*CLOSE)<0,0,WINNER(1.1*CLOSE))-IF(WINNER(0.9*
CLOSE)<0,0,WINNER(0.9*CLOSE)))*100;
Var3:=IF(Var1<0,0,Var1);
Var4:=IF(Var2<0,0,Var2);
v1:=llv(low,10);
v2:=hhv(h,25);
价位线:=ema((c-v1)/(v2-v1)*4,4);
买入:STICKLINE(cross(价位线,0.3),50,0,5,0), COLOR00CCff,LINETHICK1;
卖出:STICKLINE(cross(3.5,价位线),50,100,5,0), colorred,LINETHICK2;
k9:"kdj.k"(9,3,3),color00ffff;
d9:"kdj.d"(9,3,3),color0000ff;
j9:"kdj.j"(9,3,3),colorff99ff;
{KDJ看波段xg}
ma8:=EMA(C,8);
ma20:=EMA(c,20);
rsv9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K9a:= SMA(rsv9,3,1);
D9a:= SMA(K9a,3,1);
J9a:=3*K9a-2*D9a;
aa:=count(cross(ma8,ma20),3)>=1 and d9a<50 and k9a>ref(k9a,1) and
d9a>ref(d9a,1) and
count(cross(j9a,k9a),3)>=1 and c>o and v>ref(v,1)*1.3;
KDJ看波段xg:if(aa,50,0),colorred,stick,linethick5;
v0:0,color00ff00;
v20:20,color00ff00,pointdot;
v50:50,color00ff00;
v80:80,color00ff00,pointdot;
v100:100,color00ff00;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,20,1); {未来函数}
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,90,2);{未来函数}

{股票公式网http://www.58188.com整理}


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