股民大家庭

 找回密码
 立即注册

扫一扫,访问微社区

搜索
查看: 9801|回复: 0
打印 上一主题 下一主题

[飞狐]飞狐短中结合源码公式

[复制链接]
跳转到指定楼层
1
发表于 2010-01-05 02:22:02 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
飞狐短中结合源码公式:
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;



上一篇:[大智慧]大智慧缺口时窗源码公式
下一篇:[飞狐]飞狐均价差源码公式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

今日股市|网站地图|股民学校|手机版|小黑屋|股民大家庭 |网站地图24小时在线客服

GMT+8, 2025-2-4 08:47 , Processed in 8.128175 second(s), 28 queries , Gzip On.

Powered by 股民大家庭

© 2007-2019 www.gupiao168.com


快速回复 返回顶部 返回列表