好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式自适应均线+全功能量尺+背离公式 飞狐均线全功能指标 源码

自适应均线+全功能量尺+背离公式 飞狐均线全功能指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-09-19 17:19:25
  • 指标公式标签:均线 自适应均线 全功能
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:自适应均线+全功能量尺+背离公式 飞狐均线全功能指标 源码

{叠加引用}
{自适应均线+全功-引用}
ccc:=close;
hhh:=high;
lll:=low;
vvv:=vol;
ooo:=o;
if sysparam(1)>=260 then begin
xx:=setlbound(ccc,sysparam(1)-259);
xx:=setlbound(hhh,sysparam(1)-259);
xx:=setlbound(lll,sysparam(1)-259);
xx:=setlbound(vvv,sysparam(1)-259);
xx:=setlbound(ooo,sysparam(1)-259);
end;oo:ooo,linethick0;cc:ccc,linethick0;
hh:hhh,linethick0;ll:lll,linethick0;
dv:vvv,linethick0;

{自适应均线+全功能量尺+背离}
gb:=sysparam(1);
if gb<1 or gb>datacount then exit;
gb2:=sysparam(2);
gb3:=sysparam(3);
gbp:=gb=barpos;
gbp2:=gb2=barpos;
gbp3:=gb3=barpos;
ccc:=c;
hhh:=high;
lll:=low;
vvv:=vol;
ooo:=o;
if gb>=500 then begin
xx:=setlbound(ccc,gb-499);
xx:=setlbound(hhh,gb-499);
xx:=setlbound(lll,gb-499);
xx:=setlbound(vvv,gb-499);
xx:=setlbound(ooo,gb-499);
end;
hh:=hhv(hhh,2);
ll:=llv(lll,2);
a1:=hh>ref(hh,2) and ccc>ref(ccc,2);
a2:=ll<ref(ll,2) and ccc<ref(ccc,2);
a3:=barslast(a1);
a4:=barslast(a2);
a5:=if(a1,ll,ref(ll,a3));
a6:=if(a2,hh,ref(hh,a4));
yzx:=if(a3>a4,a6,a5);
partline(gb-20<barpos and gb>=barpos and yzx[gb]<ccc[gb],yzx[gb]),color5252ff,linethick1,shift1;
partline(gb-20<barpos and gb>=barpos and yzx[gb]>=ccc[gb],yzx[gb]),colorblue,linethick1,shift1;
bc2:=barslast(gbp)+1;
金h:=if(ccc>100,sum(hhh*vvv,bc2)/sum(vvv,bc2),sum(amount,bc2)/sum(vvv,bc2)/100*sum(hhh,bc2)/sum(ccc,bc2));
金l:=if(ccc>100,sum(lll*vvv,bc2)/sum(vol,bc2),sum(amount,bc2)/sum(vvv,bc2)/100*sum(lll,bc2)/sum(ccc,bc2));
dsc:=if(ref(hhh,bc2-1)>ref(hhh,bc2) and ref(hhh,bc2-1)>ref(hhh,bc2-2) ,金h,金l);
partline(gb<barpos,dsc),colorbc00af,linethick2;

金:dsc[gb3],linethick0;
cc:=ccc;
m5:=if(gb>6,ma(ccc,5),ma(ccc,0));
m10:=if(gb>11,ma(ccc,10),ma(ccc,0));
m20:=if(gb>21,ma(ccc,20),ma(ccc,0));
m30:=if(gb>31,ma(ccc,30),ma(ccc,0));
m60:=if(gb>61,ma(ccc,60),ma(ccc,0));
m90:=if(gb>91,ma(ccc,90),ma(ccc,0));
m120:=if(gb>121,ma(ccc,120),ma(ccc,0));
m240:=if(gb>241,ma(ccc,240),ma(ccc,0));
p[1]:=cc[gb];p[2]:=m5[gb];
p[3]:=m10[gb];p[4]:=m20[gb];
p[5]:=m30[gb];
p[6]:=m60[gb];
p[7]:=m90[gb];
p[8]:=m120[gb];
p[9]:=m240[gb];
s[1]:=cc[gb];s[2]:=m5[gb];
s[3]:=m10[gb];s[4]:=m20[gb];
s[5]:=m30[gb];
s[6]:=m60[gb];
s[7]:=m90[gb];
s[8]:=m120[gb];
s[9]:=m240[gb];
variable:ptr[9]='';
ptr[1]:='●';ptr[2]:='⑤';
ptr[3]:='①';ptr[4]:='②';
ptr[5]:='③';
ptr[6]:='⑥';
ptr[7]:='⑨';
ptr[8]:=' b';
ptr[9]:=' n';
variable:ptrs[9]='';
ptrs[1]:=if(cc[gb]>=cc[gb-1],'↑','↓');
ptrs[2]:=if(m5[gb]>=m5[gb-1],'↑','↓');
ptrs[3]:=if(m10[gb]>=m10[gb-1],'↑','↓');
ptrs[4]:=if(m20[gb]>=m20[gb-1],'↑','↓');
ptrs[5]:=if(m30[gb]>=m30[gb-1],'↑','↓');
ptrs[6]:=if(m60[gb]>=m60[gb-1],'↑','↓');
ptrs[7]:=if(m90[gb]>=m90[gb-1],'↑','↓');
ptrs[8]:=if(m120[gb]>=m120[gb-1],'↑','↓');
ptrs[9]:=if(m240[gb]>=m240[gb-1],'↑','↓');
px:=sortpos(p,0,1,9);
nu1:=if(c>1000,numtostr(s[p[1]],0),numtostr(s[p[1]],2));
nu2:=if(c>1000,numtostr(s[p[2]],0),numtostr(s[p[2]],2));
nu3:=if(c>1000,numtostr(s[p[3]],0),numtostr(s[p[3]],2));
nu4:=if(c>1000,numtostr(s[p[4]],0),numtostr(s[p[4]],2));
nu5:=if(c>1000,numtostr(s[p[5]],0),numtostr(s[p[5]],2));
nu6:=if(c>1000,numtostr(s[p[6]],0),numtostr(s[p[6]],2));
nu7:=if(c>1000,numtostr(s[p[7]],0),numtostr(s[p[7]],2));
nu8:=if(c>1000,numtostr(s[p[8]],0),numtostr(s[p[8]],2));
nu9:=if(c>1000,numtostr(s[p[9]],0),numtostr(s[p[9]],2));
nus1:=if(s[p[1]]>100 or s[p[1]]<10,' ','');
nus2:=if(s[p[2]]>100 or s[p[2]]<10,' ','');
nus3:=if(s[p[3]]>100 or s[p[3]]<10,' ','');
nus4:=if(s[p[4]]>100 or s[p[4]]<10,' ','');
nus5:=if(s[p[5]]>100 or s[p[5]]<10,' ','');
nus6:=if(s[p[6]]>100 or s[p[6]]<10,' ','');
nus7:=if(s[p[7]]>100 or s[p[7]]<10,' ','');
nus8:=if(s[p[8]]>100 or s[p[8]]<10,' ','');
nus9:=if(s[p[9]]>100 or s[p[9]]<10,' ','');
shsz:=strcmp(marketlabel,'sh')=0;
if shsz=1 then x:='1a0001';
if shsz=0 then x:='399001';
叠开:=stkindi(x,'叠加引用.oo',0,-1),linethick0;
叠高:=stkindi(x,'叠加引用.hh',0,-1),linethick0;
叠低:=stkindi(x,'叠加引用.ll',0,-1),linethick0;
叠收:=stkindi(x,'叠加引用.cc',0,-1),linethick0;
ttst:=if(hhv(hhh,80)=hhv(hhh,160),'',' ');
tts:=if(hhv(hhh,55)>=hhv(hhh,145),' ',ttst);
drawtext(gbp2 and ptrs[p[1]]='↓',ccc,tts+ptr[p[1]]+nu1+nus1),align4,colorffff52;
drawtext(gbp2 and ptrs[p[2]]='↓',ccc,tts+' '+ptr[p[2]]+nu2+nus2),align4,colorffff52;
drawtext(gbp2 and ptrs[p[3]]='↓',ccc,tts+' '+ptr[p[3]]+nu3+nus3),align4,colorffff52;
drawtext(gbp2 and ptrs[p[4]]='↓',ccc,tts+' '+ptr[p[4]]+nu4+nus4),align4,colorffff52;
drawtext(gbp2 and ptrs[p[5]]='↓',ccc,tts+' '+ptr[p[5]]+nu5+nus5),align4,colorffff52;
drawtext(gbp2 and ptrs[p[6]]='↓',ccc,tts+' '+ptr[p[6]]+nu6+nus6),align4,colorffff52;
drawtext(gbp2 and ptrs[p[7]]='↓',ccc,tts+' '+ptr[p[7]]+nu7+nus7),align4,colorffff52;
drawtext(gbp2 and ptrs[p[8]]='↓',ccc,tts+' '+ptr[p[8]]+nu8+nus8),align4,colorffff52;
drawtext(gbp2 and ptrs[p[9]]='↓',ccc,tts+' '+ptr[p[9]]+nu9+nus9),align4,colorffff52;
drawtext(gbp2 and ptrs[p[1]]='↑',ccc,tts+ptr[p[1]]+nu1+nus1),align4,color5252ff;
drawtext(gbp2 and ptrs[p[2]]='↑',ccc,tts+' '+ptr[p[2]]+nu2+nus2),align4,color5252ff;
drawtext(gbp2 and ptrs[p[3]]='↑',ccc,tts+' '+ptr[p[3]]+nu3+nus3),align4,color5252ff;
drawtext(gbp2 and ptrs[p[4]]='↑',ccc,tts+' '+ptr[p[4]]+nu4+nus4),align4,color5252ff;
drawtext(gbp2 and ptrs[p[5]]='↑',ccc,tts+' '+ptr[p[5]]+nu5+nus5),align4,color5252ff;
drawtext(gbp2 and ptrs[p[6]]='↑',ccc,tts+' '+ptr[p[6]]+nu6+nus6),align4,color5252ff;
drawtext(gbp2 and ptrs[p[7]]='↑',ccc,tts+' '+ptr[p[7]]+nu7+nus7),align4,color5252ff;
drawtext(gbp2 and ptrs[p[8]]='↑',ccc,tts+' '+ptr[p[8]]+nu8+nus8),align4,color5252ff;
drawtext(gbp2 and ptrs[p[9]]='↑',ccc,tts+' '+ptr[p[9]]+nu9+nus9),align4,color5252ff;
drawtext(gbp3,cc[gb],'---'),pxup8,colorff,shift1;

lc:=ref(ccc,1);
trs:=max((hhh - lll),max((hhh - lc),(lc - lll)));
atr:=sma(trs,20,1);

hatr:=hhh[gb]+atr[gb]/2;
latr:=lll[gb]-atr[gb]/2;
partline(m5[gb]<hatr and m5[gb]>latr,m5),colorffffff;
partline(m10[gb]<hatr and m10[gb]>latr,m10),color00ffff;
partline(m20[gb]<hatr and m20[gb]>latr,m20),colorff00ff;
partline(m30[gb]<hatr and m30[gb]>latr,m30),color00ff00;
partline(m60[gb]<hatr and m60[gb]>latr,m60),colorbdbdbd;
partline(m90[gb]<hatr and m90[gb]>latr,m90),colorff0000;
partline(m120[gb]<hatr and m120[gb]>latr,m120),colorff00ff;
partline(m240[gb]<hatr and m240[gb]>latr,m240),color007b7b;
drawtext(gbp3 and m5[gb]<hatr and m5[gb]>latr,m5,'-5'),align1,shift2,colorffffff,pxup8;
drawtext(gbp3 and m10[gb]<hatr and m10[gb]>latr,m10,'-1'),align1,shift1,color00ffff,pxup8;
drawtext(gbp3 and m20[gb]<hatr and m20[gb]>latr,m20,'-2'),align1,shift0,colorff00ff,pxup8;
drawtext(gbp3 and m30[gb]<hatr and m30[gb]>latr,m30,'-3'),align1,shift2,color00ff00,pxup8;
drawtext(gbp3 and m60[gb]<hatr and m60[gb]>latr,m60,'-6'),align1,shift1,colorbdbdbd,pxup8;
drawtext(gbp3 and m90[gb]<hatr and m90[gb]>latr,m90,'-9'),align1,shift0,colorff0000,pxup8;
drawtext(gbp3 and m120[gb]<hatr and m120[gb]>latr,m120,'-b'),align1,shift2,colorff00ff,pxup8;
drawtext(gbp3 and m240[gb]<hatr and m240[gb]>latr,m240,'-n'),align1,shift1,color007b7b,pxup8;
kline(ooo,hhh,lll,ccc,0);

if ccc[gb]<ccc[gb3] then begin
股涨%:=(ccc[gb3]-lll[gb])/lll[gb]*100,linethick0;
盘涨%:=(叠收[gb3]-叠低[gb])/叠低[gb]*100,linethick0;
涨周期:=gb3-gb,linethick0;
drawtext(gbp and gb<gb3,ccc[gb3],'↑'),align0,pxdn5,color5252ff;
drawtext(if(gb3-gb<40,gb-40=barpos,gbp) and gb<gb3,ccc[gb3],' 股涨:'+numtostr(股涨%,2)+' 盘涨:'+numtostr(盘涨%,2)+' 涨:'+numtostr(涨周期,0)+'周期'),align4,pxdn34,color5252ff;
stickline(gbp and gb<gb3,ccc[gb3],ccc[gb3],20,0),color5252ff;
stickline(gbp and gb<gb3,lll[gb],lll[gb],20,0),color5252ff;
end
else begin
股跌%:=(ccc[gb3]-hhh[gb])/hhh[gb]*100,linethick0;
盘跌%:=(叠收[gb3]-叠高[gb])/叠高[gb]*100,linethick0;
跌周期:=gb3-gb,linethick0;
drawtext(gbp and gb<gb3,ccc[gb3],'↓'),align0,pxup20,colorffff52;
drawtext(if(gb3-gb<40,gb-40=barpos,gbp) and gb<gb3,ccc[gb3],' 股跌: '+numtostr(股跌%,2)+' 盘跌:'+numtostr(盘跌%,2)+' 跌:'+numtostr(跌周期,0)+'周期'),align4,pxdn34,colorffff52;
stickline(gbp and gb<gb3,ccc[gb3],ccc[gb3],20,0),colorffff52;
stickline(gbp and gb<gb3,hhh[gb],hhh[gb],20,0),colorffff52;
end
光标:=sysparam(6);
kk:=光标-ccc;
if kk[gb]>0 then begin
起始l:=lll[gb],colorred,linethick1;
stickline(gbp2 and gb<gb3,光标,光标,12,0),color5252ff;
stickline(gbp2 and gb<gb3,lll[gb],lll[gb],12,0),color5252ff;
gbz382:=(光标-lll[gb])*0.382+lll[gb];
gbz500:=(光标-lll[gb])*0.5+lll[gb];
gbz618:=(光标-lll[gb])*0.618+lll[gb];
涨%1:=(hhh[gb3]-lll[gb])/(光标-lll[gb]);
stickline(gbp2 and gb<gb3,gbz382,gbz382,12,0),color5252ff;
stickline(gbp2 and gb<gb3,gbz500,gbz500,12,0),color5252ff;
stickline(gbp2 and gb<gb3,gbz618,gbz618,12,0),color5252ff;
stickline(gbp2 and gb<gb3,ccc[gb3],ccc[gb3],12,0),colorbffff52;
涨幅统计:=(光标-起始l)/起始l*100,linethick;
drawtext(gbp2 and gb<gb3,起始l,'↓'),align0,pxup20,color5252ff;
drawtext(gbp2 and gb<gb3,光标,'↑'),align0,pxdn5,color5252ff;
drawtext(gb2+1=barpos and gb<gb3,光标,'统涨%:'+numtostr(涨幅统计,2)+'\n0.618:'+numtostr(gbz618,2)+'\n\n0.500:'+numtostr(gbz500,2)+'\n\n\n0.382:'+numtostr(gbz382,2)+')'+'\n\n\n\n'+numtostr(涨%1,3)+':'+numtostr(hhh[gb3],2)+'(h)'+'\n\n\n\n\n今 收:'+numtostr(ccc[gb3],2)
+'\n\n\n\n\n\n光 标:'+numtostr(光标,2)),align1,pxdn30,color5252ff;
end;
else begin
起始h:=hhh[gb],colorblue ,linethick1;
stickline(gbp2 and gb<gb3,光标,光标,12,0),colorffff52;
stickline(gbp2 and gb<gb3,hhh[gb],hhh[gb],12,0),colorffff52;
gbd382:=((hhh[gb]-光标)*0.618+光标);
gbd500:=((hhh[gb]-光标)*0.5+光标);
gbd618:=((hhh[gb]-光标)*0.382+光标);
跌%1:=(1-(lll[gb3]-光标)/(hhh[gb]-光标));
stickline(gbp2 and gb<gb3,gbd382,gbd382,12,0),colorffff52;
stickline(gbp2 and gb<gb3,gbd500,gbd500,12,0),colorffff52;
stickline(gbp2 and gb<gb3,gbd618,gbd618,12,0),colorffff52;
stickline(gbp2 and gb<gb3,ccc[gb3],ccc[gb3],12,0),color5252ff;
跌幅统计:=(光标-起始h)/起始h*100,linethick;
drawtext(gbp2 and gb<gb3,起始h,'↑'),align0,pxdn5,colorffff52;
drawtext(gbp2 and gb<gb3,光标,'↓'),align0,pxup20,colorffff52;
drawtext(gb2+1=barpos and gb<gb3,起始h,'统跌%:'+numtostr(跌幅统计,2)+'\n0.382:'+numtostr(gbd382,2)+'\n\n0.500:'+numtostr(gbd500,2)+'\n\n\n0.618:'+numtostr(gbd618,2)+'\n\n\n\n'+numtostr(跌%1,3)+':'+numtostr(lll[gb3],2)+'(l)'+
'\n\n\n\n\n今 收:'+numtostr(ccc[gb3],2)+'\n\n\n\n\n\n光 标:'+numtostr(光标,2)),align1,pxdn30,colorffff52;
end

direction:=c-ref(c,5) ;
xx:=abs(c-ref(c,1)) ;
volatility:=sum(xx,5) ;
er:=abs(direction/volatility) ;
fastc:=2/(2+1) ;
slowc:=2/(15+1) ;
ssc:=er*(fastc-slowc )+slowc ;
constant:=ssc*ssc,linethick0 ;
yy:=ref(c,1)+constant*(c-ref(c,1)) ;
aaa:=if(sum(1,0)=2+1,yy,0) ;
bbb:=barslast(aaa>0) ;
ddd:=ref(c,bbb ) ;
cc:=c;
for m=5+2 to datacount do
ddd[m]:=ddd[m-1]+constant[m]*(cc[m]-ddd[m-1]);
ama:=ddd;
t1:=ddd>ref(ddd,1);
t3:=not(t1) and abs(ddd-ref(ddd,1))/ddd*10000<5;
t2:=not(t1 or t3);
kfm1:=if(t1[gb],'▲','▼');
kfm:=if(t3[gb],'◆',kfm1);
hs:=vvv/capital*100;
资金乖离率:=(hs-ma(hs,5))/ma(hs,5);
vdif:=(资金乖离率-ref(资金乖离率,16));
vdbcd:=sma(vdif,76,1);
vmm:=ma(vdbcd,13);
zjgl:=if(vdbcd[gb]>=vmm[gb],'◎','※');

rsv:=(ccc-llv(lll,9))/(hhv(hhh,9)-llv(lll,9))*100;
k:=sma(rsv,3,1),linethick0;
d:=sma(k,3,1),linethick0;
j:=3*k-2*d,linethick0;
pp[1]:=k[gb];pp[2]:=d[gb];
pp[3]:=j[gb];
ss[1]:=k[gb];ss[2]:=d[gb];
ss[3]:=j[gb];
variable:pptr[3]='';
pptr[1]:='k:';
pptr[2]:='d:';
pptr[3]:='j:';
variable:pptrs[3]='';
pptrs[1]:=if(k[gb]>k[gb-1],'↑','↓');
pptrs[2]:=if(d[gb]>d[gb-1],'↑','↓');
pptrs[3]:=if(j[gb]>j[gb-1],'↑','↓');
px1:=sortpos(pp,1,1,3);
n1:=3;n2:=9;n3:=12;n4:=26;
diff:=ema(ccc,n3)-ema(ccc,n4);
dea:=ema(diff,n2);
mac1:=if(diff[gb]>dea[gb],'↑','↓');
rsv:=(ccc-llv(lll,n3))/(hhv(hhh,n3)-llv(lll,n3))*100;
k:=sma(rsv,n1,1);
d:=sma(k,n1,1);
mac2:=if(k[gb]>d[gb],'↑','↓');
lc:=ref(ccc,1);
rsi1:=(sma(max(ccc-lc,0),n2,1))/(sma(abs(ccc-lc),n2,1))*100;
rsi2:=(sma(max(ccc-lc,0),n4,1))/(sma(abs(ccc-lc),n4,1))*100;
mac3:=if(rsi1[gb]>rsi2[gb],'↑','↓');
rsv:=-(hhv(hhh,n4)-ccc)/(hhv(hhh,n4)-llv(lll,n4))*100;
lwr1:=sma(rsv,n1,1);
lwr2:=sma(lwr1,n1,1);
mac4:=if(lwr1[gb]>lwr2[gb],'↑','↓');
bbi:=(ma(ccc,n1)+ma(ccc,n2)+ma(ccc,n3)+ma(ccc,n4))/4;
mac5:=if(ccc[gb]>bbi[gb],'↑','↓');
mtm:=ccc-ref(ccc,1);
mms:=100*ema(ema(mtm,n2),n1)/ema(ema(abs(mtm),n2),n1);
mmm:=100*ema(ema(mtm,n4),n3)/ema(ema(abs(mtm),n4),n3);
mac6:=if(mms[gb]>mmm[gb],'↑','↓');
ttss:=if(llv(lll,55)=llv(lll,160),'',' ');
drawtext(gbp2,ccc,ttss+pptr[pp[1]]+numtostr(ss[pp[1]], 0)+pptrs[pp[1]]+pptr[pp[2]]+numtostr(ss[pp[2]], 0)+pptrs[pp[2]]+pptr[pp[3]]+numtostr(ss[pp[3]], 0)+pptrs[pp[3]]+' mkrwbl'+mac1+mac2+mac3+mac4+mac5+mac6+kfm+zjgl),pxdn10,align5,colorffff52;
typ := (hhh + lll + ccc)/3;
rs:=sum(if(typ>ref(typ,1),typ*vvv,0),9)/sum(if(typ<=ref(typ,1),typ*vvv,0),9);
能量:100-100/(1+rs),linethick,colorred;
差:能量[gb]-能量[gb-1],linethick;

d1:=ema(ccc,3)-ema(ccc,8);
d2:=ema(ooo,3)-ema(ooo,8);
d3:=ema(hhh,3)-ema(hhh,8);
d4:=ema(lll,3)-ema(lll,8);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(ccc,a1+1)>ccc and ref(diff,a1+1)<diff and cross(diff,dea);
macd底背离:=filter(b1>0,5);
drawtext(macd底背离 and gb-10<=barpos and gb>=barpos ,lll,'m'),color7272ff,pxdn9,align0;
a2:=barslast(ref(cross(k,d),1));
b2:=ref(ccc,a2+1)>ccc and ref(k,a2+1)<k and cross(k,d);
kdj底背离:=filter(b2>0,5);
drawtext(kdj底背离 and gb-10<=barpos and gb>=barpos ,lll,'k'),color7272ff,pxdn9,align0;
drawtext(kdj底背离,0.8,'k'),colorblue;
a3:=barslast(ref(cross(rsi1,rsi2),1));
b3:=ref(ccc,a3+1)>close and ref(rsi1,a3+1)<rsi1 and cross(rsi1,rsi2);
rsi底背离:=filter(b3>0,5);
drawtext(rsi底背离 and gb-10<=barpos and gb>=barpos ,lll,'r'),color7272ff,pxdn9,align0;
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(ccc,c1+1)<ccc and ref(diff,c1+1)>diff and cross(dea,diff);
macd顶背离:=filter(d1>0,5);
drawtext(macd顶背离 and gb-10<=barpos and gb>=barpos,hhh,'m'),colorb5ae4a,pxup23,align0;
c2:=barslast(ref(cross(d,k),1));
d2:=ref(ccc,c2+1)<ccc and ref(k,c2+1)>k and cross(d,k);
kdj顶背离:=filter(d2>0,5);
drawtext(kdj顶背离 and gb-10<=barpos and gb>=barpos,hhh,'k'),colorb5ae4a,pxup23,align0;
c3:=barslast(ref(cross(rsi2,rsi1),1));
d3:=ref(ccc,c3+1)<ccc and ref(rsi1,c3+1)>rsi1 and cross(rsi2,rsi1);
rsi顶背离:=filter(d3>0,5);
drawtext(rsi顶背离 and gb-10<=barpos and gb>=barpos,hhh,'r'),colorb5ae4a,pxup23,align0;

全部完毕!!!!!鼠标移动!!!变化多多!!!




自适应均线+全功能量尺+背离

  >>>使用本站搜索工具可以找到更多自适应均线+全功能量尺+背离公式 飞狐均线全功能指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文自适应均线+全功能量尺+背离公式 飞狐均线全功能指标 源码仅供学习研究。

猜你喜欢

学了又学