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

软件名称:[B]主副套装指标(源码)[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:3.00 KB
官方主页:Home Page
更新时间:2010-06-17 13:10:49
软件简介:

大半个月没上网,刚打开有几个消息,有朋友问我搬到别网了?有朋友问我为啥没新帖。谢谢挂念,只是没时间上网而已。
刚花了点时间把以前的几个指标改了改送给朋友们。

(主图)
{////////////////////////////////////}
{平均价咯}
A:=(3*C+H+L+O)/6;
XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;
YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;
YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;
SMH:=EMA(YCZXH,21);
SML:=EMA(YCZXL,21);
SMJ:=(SML+SMH)/2;

PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55;
A1:=EMA(PJ,3),COLOR004000;A2:=EMA(PJ,5),COLOR004000;
A3:=EMA(PJ,7),COLOR004000;A4:=EMA(PJ,9),COLOR004000;
A5:=EMA(PJ,11),COLOR004000;

LX:=REF(XJ,1);
ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;
KX1:=(CLOSE>=OPEN) AND ZD>=50;
KX2:=(CLOSE<OPEN) AND ZD>=50;
KX3:=(CLOSE>=OPEN) AND ZD<50;
KX4:=(CLOSE<OPEN) AND ZD<50;
{////////////////////////////////////}
PARTLINE(1,SMH),COLOR004000;
PARTLINE(1,SML),COLOR004000;
PARTLINE(1,SMJ),COLOR004000;

PARTLINE(A5<REF(A5,1),A5),COLOR820000,LINETHICK2;
PARTLINE(A5>REF(A5,1),A5),COLOR00005B,LINETHICK2;
PARTLINE(A4<REF(A4,1),A4),COLOR8C0000,LINETHICK1;
PARTLINE(A4>REF(A4,1),A4),COLOR000055,LINETHICK1;
PARTLINE(A3<REF(A3,1),A3),COLOR9B0000,LINETHICK1;
PARTLINE(A3>REF(A3,1),A3),COLOR00006C,LINETHICK1;
PARTLINE(A2<REF(A2,1),A2),COLORBB0000,LINETHICK1;
PARTLINE(A2>REF(A2,1),A2),COLOR00007D,LINETHICK1;
PARTLINE(A1<REF(A1,1),A1),COLORCC0000,LINETHICK1;
PARTLINE(A1>REF(A1,1),A1),COLOR00009B,LINETHICK1;

STICKLINE(KX1,C,O,4,1),COLOR4440FF;
STICKLINE(KX1,C,H,0.5,1),COLOR4440FF;
STICKLINE(KX1,O,L,0.5,1),COLOR4440FF;
STICKLINE(KX2,C,O,4,0),COLOR4440FF;
STICKLINE(KX2,O,H,0.5,0),COLOR4440FF;
STICKLINE(KX2,C,L,0.5,0),COLOR4440FF;
STICKLINE(KX3,C,O,4,1),COLORFFFF33;
STICKLINE(KX3,C,H,0.5,1),COLORFFFF33;
STICKLINE(KX3,O,L,0.5,1),COLORFFFF33;
STICKLINE(KX4,C,O,4,0),COLORFFFF33;
STICKLINE(KX4,O,H,0.5,0),COLORFFFF33;
STICKLINE(KX4,C,L,0.5,0),COLORFFFF33;


(副图
{////////////////////////////////////////////////}
A:=(C*3+O+H+L)/6;
XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;
LX:=REF(XJ,1);
ZD1:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;
ZD2:=(SMA(MAX(XJ-LX,0),7,1)/SMA(ABS(XJ-LX),7,1))*100;
LSC:=REF(C,4);
RMI:=SMA(MAX(C-LSC,0),7,1)/SMA(ABS(C-LSC),7,1)*100;
RMIM:=SMA(RMI,3,1);RMIMA:=SMA(RMIM,3,1);FRMIM:=RMIMA-100;
{/////////////////////////////////////////////////}
REFLINE:100,50,0,-100;
FILLRGN(1,35,20),COLOR000040;
FILLRGN(1,65,80),COLOR002000;
PARTLINE(1,ZD1),COLOR0000FF;
PARTLINE(1,ZD2),COLOR00FFFF;
STICKLINE(RMIMA>=50,-50,FRMIM,4,0),COLOR000080;
STICKLINE(RMIMA>=50,-50,FRMIM,3,0),COLOR0000A6;
STICKLINE(RMIMA>=50,-50,FRMIM,2,0),COLOR0000CE;
STICKLINE(RMIMA>=50,-50,FRMIM,1,0),COLOR0000FF;
STICKLINE(RMIMA<50,-50,FRMIM,4,0),COLOR800000;
STICKLINE(RMIMA<50,-50,FRMIM,3,0),COLORB00000;
STICKLINE(RMIMA<50,-50,FRMIM,2,0),COLORD50000;
STICKLINE(RMIMA<50,-50,FRMIM,1,0),COLORFF0000;
STICKLINE(FRMIM<-80,-80,FRMIM,0.5,1),COLOR008080;
STICKLINE(FRMIM>-20,-20,FRMIM,0.5,1),COLOR0080FF;


[url=http://www.70822.com/soft/sort013/sort02/down-21616.html]主副套装指标(源码)[/url]

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