指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:恭贺新年发一KDJ改良公式 飞狐改良新年指标 源码
恭贺新年,发一kdj指标
指标只是东拼西凑而成,说不上好,用得着就看看,用不着也看看吧,祝大家新年快乐!
drawgbk(close=close,colorrgb(30,30,60),colorrgb(30,30,60),1);
lc := ref(close,1);
rsi:sma(max(close-lc,0),7,1)/sma(abs(close-lc),7,1)*100,linethick,coloraa77bb,precision2;
fillrgn(rsi>30,rsi,30),coloraa99cc;
fillrgn(rsi<=30,rsi,30),color008080;
var1:=if(open<=ref(open,1),0,max(high-open,open-ref(open,1)));
var2:=if(open>=ref(open,1),0,max(open-low,open-ref(open,1)));
var3:=sum(var1,5);
var4:=sum(var2,5);
var5:=if(var3>var4,(var3-var4)/var3,if(var3=var4,0,(var3-var4)/var4));
var6:=ma(var5,5);
var8:=if(open<=ref(open,1),0,max(high-open,open-ref(open,1)));
var9:=if(open>=ref(open,1),0,max(open-low,open-ref(open,1)));
vara:=sum(var8,3);
varb:=sum(var9,3);
varc:=if(vara>varb,(vara-varb)/vara,if(vara=varb,0,(vara-varb)/varb));
vard:=ma(varc,3);
火:=barslast(ema(close,5)<ref(ema(close,5),1))*6,colorred;
vare:=hhv(close,2);
varf:=barslast(vare<ref(vare,2));
var10:=if(varf>=1,llv(vare,varf),low);
var11:=var10+var10*varf*0.5/100;
var12:=if(var11<ref(var11,1),ma(low,3),var11);
var13:=var10+var10*(varf-1)*1.618/100;
山:= count(ema(close,5)>ref(ema(close,5),1),5)*6;
var14:=if(open<=ref(open,1),0,max(high-open,open-ref(open,1)));
var15:=if(open>=ref(open,1),0,max(open-low,open-ref(open,1)));
var16:=sum(var8,3);
var17:=sum(var9,3);
var18:=if(vara>varb,(vara-varb)/vara,if(vara=varb,0,(vara-varb)/varb));
var19:=ma(varc,3);
var1a:=if(open<=ref(open,1),0,max(high-open,open-ref(open,1)));
var1b:=if(open>=ref(open,1),0,max(open-low,open-ref(open,1)));
var1c:=sum(var8,3);
var1d:=sum(var9,3);
var1e:=if(vara>varb,(vara-varb)/vara,if(vara=varb,0,(vara-varb)/varb));
var1f:=ma(varc,3);
var20:=if(open<=ref(open,1),0,max(high-open,open-ref(open,1)));
var21:=if(open>=ref(open,1),0,max(open-low,open-ref(open,1)));
var22:=sum(var8,3);
var23:=sum(var9,3);
var24:=if(vara>varb,(vara-varb)/vara,if(vara=varb,0,(vara-varb)/varb));
var25:=ma(varc,3);
stickline(山=0 and 火=0,0-10,10-10,6,0),colorblue;//观望:
stickline(山>0 and c>ref(c,1),0-10,山-10,6,1),colorred;//下跌→抛出:
stickline(山>0 and c<=ref(c,1),0-10,山-10,6,1),colorf0f000;
stickline(火>0,火-10,0-10,3,0),colormagenta; //买入或持股:
stickline(山<火,火-10,山-10,3,0),coloraa;//植被:
stickline(ref(山,1)=0 and 山>0,0-10,10-10,5,0),coloryellow;
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:sma(rsv,3,1),linethick,precision2,colorwhite;
d:sma(k,3,1),linethick,precision2,color1477ff;
j:3*k-2*d,colorred,linethick,precision2;
fillrgn(k>=d,k,d),colorbrown;
fillrgn(k<d,k,d),colorcyan;
rsvd:=(indexc-llv(indexl,13))/(hhv(indexh,13)-llv(indexl,13))*100;
kd:=sma(rsvd,5,1);
dd:=sma(kd,3,1);
stickline(kd>=dd,kd,dd,5,0),color1477ff;
stickline(kd<dd,kd,dd,5,0),colorblue;
partline(j>ref(j,1),j),colorred,linethick2;
partline(j<=ref(j,1),j),colorgreen,linethick2;
超跌:if(j<0,0,-10),colorred,linethick1;
bddd:=llv(j,2)=llv(j,8);
抄底:if(cross(j,ref(j+0.01,1)) and bddd and j<20,0,-10),coloryellow,linethick1;
加码:if(cross(j,ref(j+0.01,1)) and bddd and between(j,20,60),1,0),color00ffff,pointdot,linethick0;
bdgd:=hhv(j,2)=hhv(j,8) and j>80;
小心:if(cross(ref(j-0.01,1),j) and ref(bdgd,1),100,110),colorgreen,linethick1;
drawtext(加码,j,'△'),coloryellow;
drawtext(ref(火,3)>0 and ref(火,2)>0 and ref(火,1)>0 and 火=0 and ref(火,1)>山,d,'调\n整'),coloryellow,align;
>>>使用本站搜索工具可以找到更多“恭贺新年发一KDJ改良公式 飞狐改良新年指标 源码”