指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:K变色固定3日-年2公式 飞狐变色指标 源码
{晶红色表示k值>50,青色表示k值<50.}
kr :="kdj.k#day";
kz :="kdj.k#week" ;
ky :="kdj.k#month" ;
kn :="kdj.k#year" ;
p:=sysparam(1);
{}
vertline(barpos=datacount-26),color00aaaa,linethick2;
vertline(barpos=datacount),color00aaaa,linethick2;
stickline(barpos=datacount-13,100,100,260,0),color00aaaa;
stickline(barpos=datacount-13,-80,-80,260,0),color00aaaa;
{}
stickline(barpos=datacount-22 and kr[p] >=50,0,kr[p] ,40,0),colormagenta;
stickline(barpos=datacount-22 and kr[p]<50,0,kr[p] ,40,0),colorcyan;
stickline(barpos=datacount-16 and kz[p] >=50,0,kz[p] ,40,0),colormagenta;
stickline(barpos=datacount-16 and kz[p]<50,0,kz[p] ,40,0),colorcyan;
stickline(barpos=datacount-10 and ky[p] >=50,0,ky[p] ,40,0),colormagenta;
stickline(barpos=datacount-10 and ky[p]<50,0,ky[p] ,40,0),colorcyan;
stickline(barpos=datacount-4and kn[p] >=50,0,kn[p] ,40,0),colormagenta;
stickline(barpos=datacount-4and kn[p]<50,0,kn[p] ,40,0),colorcyan;
{}
drawtext(barpos=datacount-24,-10,'kr\n' +numtostr(kr[p] ,2)),pxdn5,colorwhite;
drawtext(barpos=datacount-18,-10,'kz\n' +numtostr(kz[p] ,2)),pxdn5,colorwhite;
drawtext(barpos=datacount-12,-10,'ky\n' +numtostr(ky[p] ,2)),pxdn5,colorwhite;
drawtext(barpos=datacount-6 ,-10,'kn\n' +numtostr(kn[p] ,2)),pxdn5,colorwhite;
{}
>>>使用本站搜索工具可以找到更多“K变色固定3日-年2公式 飞狐变色指标 源码”