您现在的位置:  股票知识 > 股票公式 > 正文
南财搜索

飞狐短中结合指标公式

2014-07-01 15:44    股票知识   zhishi.southmoney.com
    

  飞狐短中结合指标公式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

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号