设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐波段主图公式源码 飞狐指标公式大全

2015-10-12 17:06:46 股票入门 http://rumen.southmoney.com

飞狐波段主图公式源码 飞狐指标公式大全 南方财富网小编为您带来最新的飞狐指标公式

WRAP: break-word; WHITE-SPACE: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">

波段主图

{筹码}
c1:=C;
N:=10;
LB:=COST(1);
HB:=COST(99);
W:=(HB-LB)/10;

N0:=LB;
N1:=LB+W;
N2:=LB+2*W;
N3:=LB+3*W;
N4:=LB+4*W;
N5:=LB+5*W;
N6:=LB+6*W;
N7:=LB+7*W;
N8:=LB+8*W;
N9:=LB+9*W;
N10:=HB;

A0:=WINNER(N1)*100-WINNER(N0)*100;
A1:=WINNER(N2)*100-WINNER(N1)*100;
A2:=WINNER(N3)*100-WINNER(N2)*100;
A3:=WINNER(N4)*100-WINNER(N3)*100;
A4:=WINNER(N5)*100-WINNER(N4)*100;
A5:=WINNER(N6)*100-WINNER(N5)*100;
A6:=WINNER(N7)*100-WINNER(N6)*100;
A7:=WINNER(N8)*100-WINNER(N7)*100;
A8:=WINNER(N9)*100-WINNER(N8)*100;
A9:=WINNER(N10)*100-WINNER(N9)*100;

xa0:DRAWSL(BARSTATUS=2 and A0>0,(N1+N0)/2,0,N*A0,1),Color262626,LINETHICK4;
xa1:DRAWSL(BARSTATUS=2 and A1>0,(N2+N1)/2,0,N*A1,1),Color262626,LINETHICK4;
xa2:DRAWSL(BARSTATUS=2 and A2>0,(N3+N2)/2,0,N*A2,1),Color262626,LINETHICK4;
xa3:DRAWSL(BARSTATUS=2 and A3>0,(N4+N3)/2,0,N*A3,1),Color262626,LINETHICK4;
xa4:DRawsl(BARSTATUS=2 and A4>0,(N5+N4)/2,0,N*A4,1),Color262626,LINETHICK4;
xa5:DRAWSL(BARSTATUS=2 and A5>0,(N6+N5)/2,0,N*A5,1),Color262626,LINETHICK4;
xa6:DRAWSL(BARSTATUS=2 and A6>0,(N7+N6)/2,0,N*A6,1),Color262626,LINETHICK4;
xa7:DRAWSL(BARSTATUS=2 and A7>0,(N8+N7)/2,0,N*A7,1),Color262626,LINETHICK4;
xa8:DRAWSL(BARSTATUS=2 and A8>0,(N9+N8)/2,0,N*A8,1),Color262626,LINETHICK4;
xa9:DRAWSL(BARSTATUS=2 and A9>0,(N10+N9)/2,0,N*A9,1),Color262626,LINETHICK4;

{K线颜色}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),Color0088FF;
STICKLINE(CLOSE<OPEN,OPEN,CLOSE,8,0),COLOR666600;

[1] [2] [3] [4] 下一页

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。