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

软件名称:[B]合并下macd与多空指标~~!![/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:5.00 KB
官方主页:Home Page
更新时间:2012-08-06 07:15:54
软件简介:

指标可以通过但是无法展现出来

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORRED;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,1),COLORA8A8A8;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORGREEN;

VAR1:=99999999999;
VAR2:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,13,8);
阳: SMA(VAR4,13,8),COLORRED;
阴: SMA(VAR2,21,8),COLOR00FF00;
减:90,COLORCYAN,LINETHICK2, POINTDOT;
加:0, ,COLORFF00FF,LINETHICK2, POINTDOT;
分水岭: 45,COLORYELLOW, POINTDOT;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
阴阳线:A+100,COLORBLUE;



DIFF:EMA(CLOSE,12) - EMA(CLOSE,26), LINETHICK1;
DEA:EMA(DIFF,9), LINETHICK1;
MACD:=2*(DIFF-DEA),COLORSTICK LINETHICK1;
DEA1:=EMA(DIFF,9)*DEA/30,NODRAW;
DIF1:=EMA(CLOSE,5) - EMA(CLOSE,10),NODRAW;
DEA2:=EMA(DIFF,5),COLORGRAY,NODRAW;
MACD2:=EMA(MACD,3);
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORGREEN;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORFF00FF;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLOR00FFFF;
这个是华丽一点的macd那位高手帮我改写下,选择通达信原版macd源码最好~!!!

合并后:
DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*6;
DEA:EMA(DIF,9)*6;
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORRED;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,1),COLORA8A8A8;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORGREEN;

VAR1:=99999999999;
VAR2:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,13,8);
阳: SMA(VAR4,13,8),COLORRED;
阴: SMA(VAR2,21,8),COLOR00FF00;
减:90,COLORCYAN,LINETHICK2, POINTDOT;
加:0, ,COLORFF00FF,LINETHICK2, POINTDOT;
分水岭: 45,COLORYELLOW, POINTDOT;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
阴阳线:A+100,COLORBLUE;
 


[url=http://www.70822.com/soft/sort013/sort05/down-51460.html]合并下macd与多空指标~~!![/url]

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