飞狐短中结合指标公式,飞狐顶底虚线指标公式
admin888
|飞狐短中结合指标公式,飞狐顶底虚线指标公式
飞狐短中结合指标公式
input:N(5,1,50),N1(25,10,200);
A:=(N-HHVBARS(H,N))/N*100;
B:=(N-LLVBARS(L,N))/N*100;
P:=(N1-HHVBARS(H,N1))/N1*100;
Q:=(N1-LLVBARS(L,N1))/N1*100;
短高:(N-HHVBARS(H,N))/N*80,colorgreen;
短低:(N-LLVBARS(L,N))/N*80,colorred;
长高:(N1-HHVBARS(H,N1))/N1*90,colorcyan;
长低:(N1-LLVBARS(L,N1))/N1*90,colormagenta;
卖:if(ref(P,1)=ref(A,1) and ref(A,1)=100 and (A and P)<100 and Q<=40 and B<=50 ,100,110),colorgreen,linethick3;
买:if(ref(Q,1)=ref(B,1) and ref(B,1)=100 and (B and Q)<100 and P<=40 and A<=50 ,0,-10),coloryellow,linethick3;
stickLINE(b=100 and q=100 and 买=0 ,120,-20,0.5,0),colorwhite,POINTDOT;
stickLINE(a=100 and p=100 and 卖=100,120,-20,0.5,0),colorred,POINTDOT;
飞狐顶底虚线指标公式
顶部:90,LINEDOT,COLOR3C3CFF,PRECISION0;
分界:50,LINEDOT,COLORYELLOW,PRECISION0;
底部:10,LINEDOT,COLORCYAN,PRECISION0;
VAR1:=LLV(LOW,13);
VAR2:=HHV(HIGH,13);
主力:SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1),COLORRED,PRECISION2;
散户:Sma((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1),COLORGREEN,PRECISION2;
FILLRGN(主力>=50,主力,50),COLOR32329B,PRECISION2;
FILLRGN(50>主力,50,主力),COLOR326400,PRECISION2;
VAR3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(A
bs(CLOSE-REF(CLOSE,1)),5,1)*100;
操作:SMA(((主力-LLV(主力,6))/(HHV(主力,6)-LLV(主力,6))*100),2,1),COLORYELLOW;
操作2:ema(VAR3,3),COLORBLUE,PRECISION2;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。