分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]狼巡成本均线(主图)[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2009-02-26 10:22:02
软件简介:

近日抽空,翻书{投机的魅力},觉得写得还不错。书中最后给出抓主升浪撞牛股的公式,偶觉得有必要学习学习。现将源码奉上,请高手老师改为TDX版本的公式,让大家共同受益。谢谢了先!
狼巡成本均线(主图)
AB:=(SUM(CLOSE*AMOUNT,360)/SUM(AMOUNT,360));   
A1:= (SUM(CLOSE*AMOUNT,300)/SUM(AMOUNT,300));
A2:= (SUM(CLOSE*AMOUNT,240)/SUM(AMOUNT,240));
A3:= (SUM(CLOSE*AMOUNT,180)/SUM(AMOUNT,180));
A4:= (SUM(CLOSE*AMOUNT,120)/SUM(AMOUNT,120));
A5:= (SUM(CLOSE*AMOUNT,90)/SUM(AMOUNT,90));
A6:= (SUM(CLOSE*AMOUNT,60)/SUM(AMOUNT,60));
A7:= (SUM(CLOSE*AMOUNT,30)/SUM(AMOUNT,30));
B1:(A1+A2+A3)/3;
B2:(A3+A4+A5)/3;
B3:(A6+A7+A5)/3;
B4:(AB+A1)/2,LINETHICK2;
 

下面的公式源码,都是没有经过测试,甚至连标点符号都没有了,需要自己加工。
狼巡OBWN(附图)

A1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL, IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/100000
A2:=EMA(A1,5)×CLOSE;
LONG:EMA(A2,24)-EMA(A2.52),COLORFFOOFF
XN:EMA(LONG,10),COLOR008800
LONGXN:3×LONG-2×XN,COLOR0000FF
LB:=(LONG-XN)×3
AA:0,COLORRED
STICKLINE(XN>=LONG,AA,LB,0,0),COLOR008800
STICKLINE(XN<LONG,AA,LB,0,0),COLORRED
(说明:A1赋值:如果收盘价>昨收,返回成交量(手),否则返回如果收盘价<昨收,返回-成交量(手),否则返回0的历史累和/100000)




狼巡成本均线(周线)
A1:= (SUM(CLOSE×AMOUNT,90)/SUM(AMOUNT,90))
A2:= (SUM(CLOSE×AMOUNT,60)/SUM(AMOUNT,60))
A3:= (SUM(CLOSE×AMOUNT,30)/SUM(AMOUNT,30))
A4:= (SUM(CLOSE×AMOUNT,20)/SUM(AMOUNT,20))
A5:= (SUM(CLOSE×AMOUNT,10)/SUM(AMOUNT,10))
长期成本:(A1+A2+A3)/3,COLORBLACK,LINETHICK2
中期成本:(A3+A4+A5)/3,COLORFF00FF

狼巡成本均线(周线)选股
A1:= (SUM(CLOSE×AMOUNT,90)/SUM(AMOUNT,90))
A2:= (SUM(CLOSE×AMOUNT,60)/SUM(AMOUNT,60))
A3:= (SUM(CLOSE×AMOUNT,30)/SUM(AMOUNT,30))
A4:= (SUM(CLOSE×AMOUNT,20)/SUM(AMOUNT,20))
A5:= (SUM(CLOSE×AMOUNT,10)/SUM(AMOUNT,10))
AC:= (A1+A2+A3)/3,
AZ:= (A3+A4+A5)/3,
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26)
DEA:=EMA(DIF,9)
CLOSE>AC   AND  CROSS(DIF,DEA)
 


[url=http://www.70822.com/soft/sort013/sort03/down-6784.html]狼巡成本均线(主图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:31.25000 毫秒