指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:KD变色201-602公式 飞狐变色指标 源码
{橙色表示k值>50,青色表示k值<50;棕色表示d值>50,灰色表示d值<50.}
k01:="kdj.k#min1";
k05:="kdj.k#min5";
k15:="kdj.k#min15";
k30:="kdj.k#min30";
k60:="kdj.k#min60";
{}
d01:="kdj.d#min1";
d05:="kdj.d#min5";
d15:="kdj.d#min15";
d30:="kdj.d#min30";
d60:="kdj.d#min60";
{}
p:=sysparam(1);
vertline(barpos=datacount-34),color00aaaa,linethick2;
vertline(barpos=datacount),color00aaaa,linethick2;
stickline(barpos=datacount-17,100,100,340,0),color00aaaa;
stickline(barpos=datacount-17,-80,-80,340,0),color00aaaa;
{}
stickline(barpos=datacount-28 and k01[p]>=50,0,k01[p],40,0),color0088dd;
stickline(barpos=datacount-28 and k01[p] <50,0,k01[p],40,0),colorffdd00;
stickline(barpos=datacount-22 and k05[p]>=50,0,k05[p],40,0),color0088dd;
stickline(barpos=datacount-22 and k05[p] <50,0,k05[p],40,0),colorffdd00;
stickline(barpos=datacount-16 and k15[p]>=50,0,k15[p],40,0),color0088dd;
stickline(barpos=datacount-16 and k15[p] <50,0,k15[p],40,0),colorffdd00;
stickline(barpos=datacount-10 and k30[p]>=50,0,k30[p],40,0),color0088dd;
stickline(barpos=datacount-10 and k30[p] <50,0,k30[p],40,0),colorffdd00;
stickline(barpos=datacount-4and k60[p]>=50,0,k60[p],40,0),color0088dd;
stickline(barpos=datacount-4and k60[p] <50,0,k60[p],40,0),colorffdd00;
{}
stickline(barpos=datacount-27 and d01[p]>=50,0,d01[p],20,0),colorbrown;
stickline(barpos=datacount-27 and d01[p] <50,0,d01[p],20,0),colorgray;
stickline(barpos=datacount-21 and d05[p]>=50,0,d05[p],20,0),colorbrown;
stickline(barpos=datacount-21 and d05[p] <50,0,d05[p],20,0),colorgray;
stickline(barpos=datacount-15 and d15[p]>=50,0,d15[p],20,0),colorbrown;
stickline(barpos=datacount-15 and d15[p] <50,0,d15[p],20,0),colorgray;
stickline(barpos=datacount-9and d30[p]>=50,0,d30[p],20,0),colorbrown;
stickline(barpos=datacount-9and d30[p] <50,0,d30[p],20,0),colorgray;
stickline(barpos=datacount-3and d60[p]>=50,0,d60[p],20,0),colorbrown;
stickline(barpos=datacount-3and d60[p] <50,0,d60[p],20,0),colorgray;
{}
drawtext(barpos=datacount-33,-30,'k:'),colorgreen;
drawtext(barpos=datacount-33,-52,'d:'),colorgreen;
drawtext(barpos=datacount-30,-10,'01'),colorwhite;
drawtext(barpos=datacount-24,-10,'05'),colorwhite;
drawtext(barpos=datacount-18,-10,'15'),colorwhite;
drawtext(barpos=datacount-12,-10,'30'),colorwhite;
drawtext(barpos=datacount-6, -10,'60'),colorwhite;
drawtext(barpos=datacount-30,-30,numtostr(k01[p],2)),color0088ff;
drawtext(barpos=datacount-24,-30,numtostr(k05[p],2)),color0088ff;
drawtext(barpos=datacount-18,-30,numtostr(k15[p],2)),color0088ff;
drawtext(barpos=datacount-12,-30,numtostr(k30[p],2)),color0088ff;
drawtext(barpos=datacount-6, -30,numtostr(k60[p],2)),color0088ff;
{}
drawtext(barpos=datacount-30,-55,numtostr(d01[p],2)),coloryellow;
drawtext(barpos=datacount-24,-55,numtostr(d05[p],2)),coloryellow;
drawtext(barpos=datacount-18,-55,numtostr(d15[p],2)),coloryellow;
drawtext(barpos=datacount-12,-55,numtostr(d30[p],2)),coloryellow;
drawtext(barpos=datacount-6, -55,numtostr(d60[p],2)),coloryellow;
{}
{}
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:sma(rsv,3,1),colorwhite,precision2,linedot;
d:sma(k,3,1),coloryellow,precision2;
partline(d>ref(d,1),d),linethick2,coloryellow;partline(d<ref(d,1),d),colorffbbbb;
kz:ma("kdj.k#week",5),colorgreen,linethick;
partline(kz>ref(kz,1),kz),colorgreen,linethick2;partline(kz<ref(kz,1),kz),colorffaa00;
{}
drawtextex(kz and barstatus=2,1,10,150,'周线机会满仓操作'+' '),color0088ff,align1;
{}
>>>使用本站搜索工具可以找到更多“KD变色201-602公式 飞狐变色指标 源码”