指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:kdj短线王---精品称王称霸公式 飞狐kdj指标 源码
{kdj短线王}
乖离率:=(c-ma(c,250))/ma(c,250)*100,color00ffff,linethick2;
ma乖离率5:=ema(乖离率,5),color4080ff;
ma乖离率20:=ema(乖离率,20),colorred;
n1:=barslast(cross(c,ma(c,250)));
n2:=barslast(cross(ma(c,250),c));
长期趋势:=if(n1<n2,n1+1,0),color0000ff;
峰值乖离:=hhv(乖离率,长期趋势),color00ff00;
n1a:=barslast(cross(c,ma(c,13)));
n2a:=barslast(cross(ma(c,13),c));
短线跟踪:if(n1a<n2a,n1a+1,0),colorffffff,linethick1,linestick;
v0:0,colorffa2af;
rsv5:=(close-llv(low,5))/(hhv(high,5)-llv(low,5))*100-50;
短k5:=sma(rsv5,3,1);
短d5:=sma(短k5,3,1);
短j5:3*短k5-2*短d5,coloraaaaaa;
rsv27:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100-50;
中k27:sma(rsv27,3,1),linethick3,colorffffff;
rsv89:=(close-llv(low,89))/(hhv(high,89)-llv(low,89))*100-50;
k89:=sma(rsv89,13,1);
长d89:sma(k89,3,1),linethick3,colorff00ff;
v50:50,color00ff00;
v30:30,color00ff00,pointdot;
v30a:-30,color00ff00,pointdot;
v50a:-50,color00ff00;
var1:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
var2:=2*abs(var1);
上升浪: if(var1>0,var1,0),colorred, linestick;
下跌浪: if(var1<0,var2,0),color00ff00,linestick;
s1:=v/ma(v,20);
xg:if(s1>2 and c>ref(c,1) and v>ref(v,1),30,0),stick,colorffffff,
linethick2;
drawtext(s1>2 and c>ref(c,1) and v>ref(v,1),40,'大'),colorff00ff;
drawtext(s1>2 and c>ref(c,1) and v>ref(v,1),55,'量'),colorff00ff;
>>>使用本站搜索工具可以找到更多“kdj短线王---精品称王称霸公式 飞狐kdj指标 源码”