指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:金牛KDJ公式 飞狐指标KDJ指标 源码
送鼠迎牛,奉献一个金牛kdj指标
祝朋友们新的一年,新的进步!
drawgbk(v>1,colorrgb(0,0,0),colorrgb(40,80,100),1);
日k:ma("kdj.k",1),precision2,coloraa99cc,linethick;
日d:ma("kdj.d",1),linethick,precision2,colorcyan;
日j:ma("kdj.j",1),linethick,precision2,colorbrown;
fillrgn(日k>=日d,日k,日d),coloraa99cc;
fillrgn(日k<日d,日k,日d),color008080;
fillrgn(日j>=日k,日k,日j),colorbrown;
fillrgn(日j<日k,日k,日j),colorcyan;
stickline(c>0,80,80,3,0),colorblue,linedot;
stickline(c>0,50,50,3,0),colorffffff,linedot;
动力:sma(ma((c-ref(c,1))/ref(c,1),5)*100,2,1)*5,linethick,precision2,colorff;
fillrgn(动力>0,动力,0),color000080;
fillrgn(动力<0,动力,0),colorgray;
partline(动力>ref(动力,1),0),colorff,linethick2;
周j:forcast("kdj13.j2#week",13),precision2;
周je:wma(周j,5),precision2;
周k:ma("kdj13.k2#week",5),linethick,precision2,colorff8800;
周d:=ma("kdj13.d2#week",5),linethick,precision2,color661ffd;
stickline(周k<=周d,周k,周d,4,0),colorff7700;stickline(周k<=周d,周k,周d,3.5,0),colorff8800;
stickline(周k<=周d,周k,周d,3,0),colorff9900;stickline(周k<=周d,周k,周d,2.5,0),colorffaa00;
stickline(周k<=周d,周k,周d,2,0),colorffbb00;stickline(周k<=周d,周k,周d,1.5,0),colorffcc00;
stickline(周k<=周d,周k,周d,1,0),colorffdd00;stickline(周k<=周d,周k,周d,0.5,0),colorffee00;
stickline(周k>周d,周k,周d,4,0),color131ffd;stickline(周k>周d,周k,周d,3.5,0),color661ffd;
stickline(周k>周d,周k,周d,3,0),color5050ff;stickline(周k>周d,周k,周d,2.5,0),color5f5fff;
stickline(周k>周d,周k,周d,2,0),color6c6cff;stickline(周k>周d,周k,周d,1.5,0),color7e7eff;
stickline(周k>周d,周k,周d,1,0),color9d9dff;stickline(周k>周d,周k,周d,0.5,0),colorafafff;
stickline(周k>周d and 周k<=ref(周k,1),周k,(周d),4,0),colorwhite;
stickline(周k<=周d and 周k>ref(周k,1),周d,(周k),4,0),coloryellow;
diff:=ema(c,12)-ema(c,26);
difr:(diff-llv(diff,9))/(hhv(diff,9)-llv(diff,9))*100,colorc080ff,precision2;
partline(difr<ref(difr,1),difr),color008080,linethick1;
partline(周j<=ref(周j,1),周j),linethick1,color009900;
partline(周j>ref(周j,1),周j),linethick1,colorff;
partline(周je<=ref(周je,1),周je),linethick1,colorff9999;
partline(周je>ref(周je,1),周je),linethick1,color99ff;
周金叉:if(cross(周j,周k),0,-20),colorred;
drawtext(周金叉>-20,10,'周\n金'),colorred;
下面是引用指标:
{kdj13}
rsv2:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
k2:sma(rsv2,3,1);
d2:sma(k2,3,1);
j2:3*k2-2*d2;
>>>使用本站搜索工具可以找到更多“金牛KDJ公式 飞狐指标KDJ指标 源码”