飞狐峰谷均线主图指标公式,飞狐多空过招指标公式
admin888
|飞狐峰谷均线主图指标公式,飞狐多空过招指标公式
飞狐峰谷均线主图指标公式
input: N(55,1,100);
AA:=REF(H,N)=HHV(H,2*N+1);
BB:=BacKSET(AA,N+1);//未来涵数 “BACKSET”
CC:=FILTER(BB,N) AND H=HHV(H,N+1);
AA2:=REF(L,N)=LLV(L,2*N+1);
BB2:=BACKSET(AA2,N+1);
CC2:=FILTER(BB2,N) AND L=LLV(L,N+1);
AA3:=REF(H,2*N)=HHV(H,4*N+1);
BB3:=BACKSET(AA3,2*N+1);
CC3:=FILTER(BB3,2*N) AND H=HHV(H,2*N+1);
AA4:=REF(L,2*N)=LLV(L,4*N+1);
BB4:=BACKSET(AA4,2*N+1);
CC4:=FILTER(BB4,2*N) AND L=LLV(L,2*N+1);
a1:=BArslAst(CC);
M1:ma(h,a1+1),PRECISION2,LINETHICK0,COLORYELLOW;
PARTLINE(a1>0,M1),COLORYELLOW;
a11:=ref(a1,a1+1);
M2:ma(h,a11+a1),PRECISION2,LINETHICK0,COLORCYAN;
PARTLINE(a1>0,M2),COLORCYAN;
a2:=BARSLAST(CC2);
M3:ma(l,a2+1),PRECISION2,LINETHICK0,COLORMAGENTA;
PARTLINE(a2>0,M3),PRECISION2,COLORMAGENTA;
a22:=ref(a2,a2+1);
M4:ma(l,a22+a2),PRECISION2,LINETHICK0,COLORWHITE;
PARTLINE(a2>0,M4),COLORWHITE;
a3:=BARSLAST(CC3);
M5:ma(h,a3+1),PRECISION2,LINETHICK0,COLORBLUE;
PARTLINE(a3>0,M5),COLORBLUE;
a4:=BARSLAST(CC4);
M6:ma(l,a4+1),PRECISION2,LINETHICK0,COLORGREEN;
PARTLINE(a4>0,M6),COLORGREEN;
飞狐多空过招指标公式
A:ema((CLOSE-ref(c,1))/ref(c,1)*10-(INDEXC-ref(INDEXC,1))/ref(INDEXC,1)*10,5),LINETHICK0,COLORRED;
stICKLINE(A>0,0,A,1,2),LINETHICK1,COLORRED;
STICKLINE(A<0,0,A,1,2),LINETHICK2,COLORGREEN;
HSNP1:=CLOSE-REF(CLOSE,1);
HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
HSNP3:=REF(CLOSE,1)-CLOSE;
HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
HSNP6:=100-100/(1+HSNP5);
HSNP7:=Ema(HSNP6,21);
HSNP8:=EMA(HSNP7,5);
HSNP:=EMA(HSNP7,3);
np:= (HSNP7-HSNP),COLORfuchsia,linethick1;
nl:=(HSNP-HSNP7),COLORYELLOW,linethick1;
STICKLINE(nl<0,0,nl,1,2),Color0B0B77;
STICKLINE(np<0,0,np,1,2),COLOR666666;
JJ :=(C*2+H+L)/4;
SK := EMA(JJ,13) - EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
长线1:IF(SD>=SP,SD,SP),LINETHICK2,COLORfuchsia;
长线2:IF(SP-SD,SP,SD),LINETHICK2,COLORWHITE;
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
做多:IF(A1>=B1,A1,B1),LINETHICK2,COLORRED;
做空:IF(B1-A1,B1,A1),LINETHICK2,COLORGREEn;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。