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

软件名称:[B]大智慧MACD修改副图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2011-04-28 07:40:27
软件简介:

input:
short(45,10,1000),long(90,10,1000),m(20,5,1000);
m5:=ema(indexc,5);
m20:=ema(indexc,20);
mhyear:=ema(indexc,120);
myear:=ema(indexc,240);
DIFF:=EMA(CLOSE,short)-EMA(CLOSE,long);
DEA:=EMA(DIFF,m);
MACD:2*(DIFF-DEA),coloryellow;

STICKLINE(MACD<REF(MACD,1) AND MACD>0 and indexc>m20,0,MACD,4,1),COLORyellow;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0 and indexc>m20 and m5>m20,0,MACD,4,1),COLORred;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0 and (indexc<m20 or m5<m20),0,MACD,4,1),COLORgreen;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0 and indexc<m20,0,MACD,4,1),COLORgreen;
STICKLINE(MACD>REF(MACD,1) AND MACD<0 and mhyear>myear and (m5<m20 OR C<M20),0,MACD,4,1),COLORgreen;
STICKLINE(MACD>REF(MACD,1) AND MACD<0 and mhyear>myear and (m5>=m20 AND C>M20),0,MACD,4,1),COLORYELLOW;
STICKLINE(MACD>REF(MACD,1) AND MACD<0 and mhyear<myear,0,MACD,4,1),COLORgreen;
STICKLINE(MACD<REF(MACD,1) AND MACD<0 and indexc>myear and indexc>m20 and m5>m20,0,MACD,4,1),COLORGREEN;
STICKLINE(MACD<REF(MACD,1) AND MACD<0 and indexc>myear and (indexc<m20 or m5<m20),0,MACD,4,1),COLORgreen;
STICKLINE(MACD<REF(MACD,1) AND MACD<0 and indexc<myear,0,MACD,4,1),COLORgreen;
0,colorwhite;


出现第一根红色柱壮线做个选股预警公式:
M5:=EMA(INDEXC,5);
M20:=EMA(INDEXC,20);
DIFF:=EMA(CLOSE,45)-EMA(CLOSE,90);
DEA:=EMA(DIFF,20);
MACD:=2*(DIFF-DEA);
AA:=MACD>=REF(MACD,1) AND MACD>0 AND INDEXC>M20 AND M5>M20;
XG:CROSS(AA,0.5);
 


[url=http://www.70822.com/soft/sort013/sort03/down-33208.html]大智慧MACD修改副图[/url]

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