飞狐容易赚钱的主图指标公式

[复制链接]
查看92 | 回复0 | 2021-8-21 12:43:58 | 显示全部楼层 |阅读模式

input:n(3,3,6),F(18,18,26);
DRAWTEXTEX(sysparam(3)=BARPOS,0,1,1,'★代码:'+STKLABEL+'■所属板块:'+BLKNAME),Colorwhite;
DRAWTEXTEX(sysparam(3)=BARPOS,0,1,15,'★名称:'+STKNAME+' ★流通盘:'+NUMTOSTR(FINANCE(1)/10000,4)+'(亿股)'+' ■有感创于09.05.10。迷惑'),LINETHICK3,ColorFFFF80;
ty:=h;ty1:=l;AAA:=(3*C+H+L+O)/6;as:=(o+h+l+c)/4;AR11:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
A1:=REF(ty,N)=HHV(ty,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); D1:=FILTER(C1,N);
A2:=REF(ty1,N)=LLV(ty1,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); D2:=FILTER(C2,N);
H1:=(D1 AND NOT(D2)) OR BARSTATUS=2 OR BARSCOUNT(C)=1;L1:=(D2 AND NOT(D1));
X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));
G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);H2:=D1 AND NOT(D2);
L2:=LD OR BARSTATUS=2 OR BARSCOUNT(C)=1;AR33:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));
G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);
R1:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1); S1:=R1>REF(R1,1);
T1:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1); U1:=T1>REF(T1,1);
R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2); S2:=R2>REF(R2,1);
T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2); U2:=T2>REF(T2,1);
T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2); U3:=T3>REF(T3,1);
T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2); U4:=T4>REF(T4,1);
R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2); S3:=R3>REF(R3,1);
R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2); S4:=R4>REF(R4,1);
AR22:=CROSS(AR11,0.9);AR44:=CROSS(AR33,0.9);VAR1:=WMA(AAA,8);
STICKLINE(CLOSE,REF(HIGH,BARSLAST(ar22)),REF(HIGH,BARSLAST(ar22)),5,0),ColorEA91B5;
STICKLINE(CLOSE,REF(LOW,BARSLAST(ar44)),REF(LOW,BARSLAST(ar44)),5,0),Color00b4ff;
ABa:EMA((EMA(C,4)+EMA(C,6)+EMA(C,12)+EMA(C,24))/4,2),LINETHICK0,COLOR208fFF;
BL: MA(as,f),linethick1,Color00FFFF,LINEDOT;
PARTLINE(BL<REF(BL,1),BL),colorff0000,linethick1;
壓一:DRAWLINE(S2,ty,S1,ty,1),Color80FFFF;
撐一:DRAWLINE(U2,l,U1,l,1),POINTDOT,Color00FFFF;
壓二:DRAWLINE(S3,ty,S2,ty,1),Color00FF00;
撐二:DRAWLINE(U3,ty1,U2,ty1,1),POINTDOT,Color00FF00; {www.gupang.com 股旁网_飞狐股票指标公式}
壓三:DRAWLINE(S4,ty,S3,ty,1),ColorFFAAFF;
撐四:DRAWLINE(U4,ty1,U3,ty1,1),POINTDOT,ColorFFAAFF;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
短线:VAR1,COLORWHITE,LINETHICK2;
中线:VAR6,COLORYELLOW,LINETHICK2;
下跌:=IF(VAR1=VAR6,VAR6,0);
PARTLINE(下跌=VAR6,VAR6),COLOR00FF00,LINETHICK2;
PARTLINE(短线<REF(短线,1),短线),color00ff00,linethick2;

202108211210.jpg

202108211210.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则