飞狐短中结合指标公式

2023-10-10 18:58发布

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,-1
 解锁全文需 1  财富值,免费注册即送20财富值!