股民大家庭

 找回密码
 立即注册

扫一扫,访问微社区

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

[通达信]通达信威廉K线主图源码公式

[复制链接]
跳转到指定楼层
1
发表于 2009-11-10 14:08:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
通达信威廉K线主图源码公式:
input:N(19,1,999)

WR:=(100 + ((100 * (CLOSE - HHV(HIGH,N))) / (HHV(HIGH,N) - LLV(LOW,N))));
WR24:=(100 + ((100 * (CLOSE - HHV(HIGH,(N * 2)))) / (HHV(HIGH,(N * 2)) - LLV(LOW,(N * 2)))));
上档:HHV(HIGH,N),COLORFF00FF;
强势:(((HHV(HIGH,N) - LLV(LOW,N)) * 0.8) + LLV(LOW,N)),COLOR808080;
上防:(((HHV(HIGH,N) - LLV(LOW,N)) * 0.618) + LLV(LOW,N)),COLOR808080;
中线:((HHV(HIGH,N) + LLV(LOW,N)) / 2),COLORFFFFFF;
下防:(((HHV(HIGH,N) - LLV(LOW,N)) * 0.382) + LLV(LOW,N)),COLOR808080;
弱势:(((HHV(HIGH,N) - LLV(LOW,N)) * 0.2) + LLV(LOW,N)),COLOR808080;
下档:LLV(LOW,N),COLORFF00FF;
多空线:MA(CLOSE,13),COLORFFFF00;
振幅:=((HHV(HIGH,N) - LLV(LOW,N)) / LLV(LOW,N));
STICKLINE(((WR >= 80) AND (CLOSE >= OPEN)),OPEN,CLOSE,8,1),COLORFF00FF;
STICKLINE(((WR >= 80) AND (CLOSE < OPEN)),OPEN,CLOSE,8,0),COLORFF00FF;
STICKLINE((((WR >= 50) AND (WR < 80)) AND (CLOSE >= OPEN)),OPEN,CLOSE,8,1),COLORFF00FF;
STICKLINE((CLOSE > OPEN),HIGH,CLOSE,0.4,0),COLORFF00FF;
STICKLINE((CLOSE > OPEN),OPEN,LOW,0.4,0),COLORFF00FF;
STICKLINE((((WR >= 50) AND (WR < 80)) AND (CLOSE < OPEN)),OPEN,CLOSE,8,0),COLORFF00FF;
STICKLINE(((WR <= 50) AND (CLOSE >= OPEN)),OPEN,CLOSE,8,1),COLORFF00FF;
STICKLINE(((WR <= 20) AND (CLOSE < OPEN)),OPEN,CLOSE,8,0),COLORFF00FF;
{STICKLINE((((WR > 20) AND (WR < 50)) AND (CLOSE >= OPEN)),OPEN,CLOSE,8,1),COLORFF00FF;
STICKLINE((OPEN > CLOSE),HIGH,OPEN,0.4,0),COLORFF00FF;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,0.4,0),COLORFF00FF;}
{STICKLINE((((WR > 20) AND (WR < 50)) AND (CLOSE < OPEN)),OPEN,CLOSE,8,0),COLORFF00FF;}



上一篇:[指南针] 指南针CYQKL博弈K线长度源码公式
下一篇:[飞狐]飞狐K线显示止损价源码公式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-1-29 06:05 , Processed in 7.622146 second(s), 28 queries , Gzip On.

Powered by 股民大家庭

© 2007-2019 www.gupiao168.com


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