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

软件名称:[B]天狼成本均线(源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2010-01-02 05:21:14
软件简介:

线是成本均线,我是按照天狼的成本日期设的比较了一下相差不多,
再有就是RSI,KDJ,MACD的关键点
源码如下:欢迎各位老师批评指正。
P1:=8;P2:=21;P3:=60;
AGA:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
AGB:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
AGC:=IF(AGB,1,(AGA<(DYNAINFO(5)+0.01) && AGA>(DYNAINFO(6)-0.01)));
趋:IF(AGC,0.01*EXPMA(AMOUNT,P1)/EXPMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1))COLORYELLOW,LINETHICK1;
势:IF(AGC,0.01*EXPMA(AMOUNT,P2)/EXPMA(VOL,P2),EMA((HIGH+LOW+CLOSE)/3,P2))COLORMAGENTA,LINETHICK1;
为:IF(AGC,0.01*EXPMA(AMOUNT,P3)/EXPMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3))COLORGREEN,LINETHICK1;
王∞:IF(AGC,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120))COLORBLUE,LINETHICK1;
AA:="RSI.RSI1"(3,14,24);
R买:=IF(AA<6,24,0);
R抄底:=CROSS(23,R买),;
R卖:=CROSS(85,AA);
R顶:=CROSS(AA,95);
K买:=IF("KDJ.J"<0,10,0);
K抄底:=CROSS(9.9,K买),;
J:="KDJ.J";
K卖:=CROSS(90,J);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);  
DEA:=EMA(DIFF,9);
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
JC:=IF(SSS-SSB=2 AND SSS>REF(SSS,1),1,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
M穿0:=COUNT(DIF>=0,10)=1 AND DIF>=0;
M下穿0:=COUNT(DIF<=0,10)=1 AND DIF<=0;
DRAWTEXT(M下穿0,H+0.19,'风险'),COLORGREEN;
DRAWTEXT(R卖,H+0.39,'走'),COLORRED;
DRAWTEXT(R顶,H+0.59,'放量就卖'),COLORYELLOW;
DRAWTEXT(K卖,H+0.19,'减仓'),COLORWHITE;
DRAWTEXT(M穿0,REF(CLOSE,1),'上零轴'),COLORAD9920;
DRAWTEXT(JC,REF(CLOSE,1),'M金'),COLORYELLOW;
DRAWTEXT(R抄底,(L*0.97),'R'),COLORYELLOW;
DRAWTEXT(K抄底,REF(CLOSE,1),'K'),COLORWHITE;


[url=http://www.70822.com/soft/sort013/sort03/down-15581.html]天狼成本均线(源码)[/url]

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