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

软件名称:[B]【大智慧】《云制MACD顶底背离》【副图】【贴图】[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2013-05-08 02:29:17
软件简介:

偶尔偷闲,把传统的MACD指标做了一下优化,权当送予大家的礼物

{云制MACD顶底背离}

VAR1:=BARSLAST(REF(CROSS(EMA(C,13) - EMA(C,34),EMA(EMA(C,13) - EMA(C,34) ,12)),1));

VAR2:=BARSLAST(REF(CROSS(EMA(EMA(C,13) - EMA(C,34) ,12),EMA(C,13) - EMA(C,34) ),1));

VAR3:=LLV(L,VAR2 + 3);

VAR4:=HHV(H,VAR1 +3);

DIFF:EMA(C,13) - EMA(C,34) ;

DEA:EMA(EMA(C,13) - EMA(C,34),12) ;

MACD:1.5 * (EMA(C,13) - EMA(C,34)  - EMA(EMA(C,13) - EMA(C,34) ,12) ),NODRAW ;

STICKLINE((MACD > 0),0,MACD,2.5,0),COLOR0000CC;

STICKLINE((MACD > 0),0,MACD*0.9,2.5 ,0),COLOR0000EE;

STICKLINE((MACD > 0),0,MACD*0.8,2.5 ,0),COLOR0011FF;

STICKLINE((MACD > 0),0,MACD*0.7,2.5 ,0),COLOR0033FF;

STICKLINE((MACD > 0),0,MACD*0.6,2.5 ,0),COLOR0055FF;

STICKLINE((MACD > 0),0,MACD*0.5,2.5 ,0),COLOR0077FF;

STICKLINE((MACD > 0),0,MACD*0.4,2.5 ,0),COLOR0099FF;

STICKLINE((MACD > 0),0,MACD*0.3,2.5 ,0),COLOR00BBFF;

STICKLINE((MACD > 0),0,MACD*0.2,2.5 ,0),COLOR00DDFF;

STICKLINE((MACD > 0),0,MACD*0.1,2.5 ,0),COLOR00FFFF;

STICKLINE((MACD < 0),0,MACD,2.5 ,0),COLORCC0033;

STICKLINE((MACD < 0),0,MACD*0.9,2.5 ,0),COLOREE0033;

STICKLINE((MACD < 0),0,MACD*0.8,2.5 ,0),COLORFF1133;

STICKLINE((MACD < 0),0,MACD*0.7,2.5 ,0),COLORFF3333;

STICKLINE((MACD < 0),0,MACD*0.6,2.5 ,0),COLORFF5533;

STICKLINE((MACD < 0),0,MACD*0.5,2.5 ,0),COLORFF7733;

STICKLINE((MACD < 0),0,MACD*0.4,2.5 ,0),COLORFF9933;

STICKLINE((MACD < 0),0,MACD*0.3,2.5 ,0),COLORFFBB33;

STICKLINE((MACD < 0),0,MACD*0.2,2.5 ,0),COLORFFDD33;

STICKLINE((MACD < 0),0,MACD*0.1,2.5 ,0),COLORFFFF33;


IF(EMA(C,13) - EMA(C,34)  >= EMA(EMA(C,13) - EMA(C,34) ,12),EMA(C,13) - EMA(C,34) ,DRAWNULL),COLORRED;

IF((EMA(C,13) - EMA(C,34)  - EMA(EMA(C,13) - EMA(C,34) ,12) ) * 1000/EMA(C,15) > 0 AND (EMA(C,13) - EMA(C,34)  - EMA(EMA(C,13) - EMA(C,34) ,12) ) * 1000/EMA(C,15) <  1.85,EMA(C,13) - EMA(C,34),DRAWNULL),COLORGREEN;

IF(EMA(C,13) - EMA(C,34)  <  EMA(EMA(C,13) - EMA(C,34) ,12)  OR EMA(C,13) - EMA(C,34)  > EMA(EMA(C,13) - EMA(C,34) ,12)  AND REF(EMA(C,13) - EMA(C,34) ,1) <  REF(EMA(EMA(C,13) - EMA(C,34) ,12) ,1),EMA(C,13) - EMA(C,34) ,DRAWNULL),COLORFF0000;

MACD底背离:REF(VAR3,VAR1 + 1) > VAR3 AND REF(EMA(C,13) - EMA(C,34) ,VAR1 + 1) <  EMA(C,13) - EMA(C,34)  AND CROSS(EMA(C,13) - EMA(C,34),EMA(EMA(C,13) - EMA(C,34) ,12) ),NODRAW,COLORRED;

DRAWTEXT(REF(VAR3,VAR1 + 1) > VAR3 AND REF(EMA(C,13) - EMA(C,34) ,VAR1 + 1) <  EMA(C,13) - EMA(C,34)  AND CROSS(EMA(C,13) - EMA(C,34) ,EMA(EMA(C,13) - EMA(C,34) ,12) ),EMA(EMA(C,13) - EMA(C,34) ,12)-0.04,'底'),COLOR00FFFF;

DRAWTEXT(REF(VAR3,VAR1 + 1) > VAR3 AND REF(EMA(C,13) - EMA(C,34) ,VAR1 + 1) <  EMA(C,13) - EMA(C,34)  AND CROSS(EMA(C,13) - EMA(C,34) ,EMA(EMA(C,13) - EMA(C,34) ,12) ),EMA(EMA(C,13) - EMA(C,34) ,12)-0.08,'背'),COLOR00FFFF;

MACD顶背离:REF(VAR4,VAR2 + 1) <  VAR4 AND REF(EMA(C,13) - EMA(C,34) ,VAR2 + 1) > EMA(C,13) - EMA(C,34) AND CROSS(EMA(EMA(C,13) - EMA(C,34) ,12) ,EMA(C,13) - EMA(C,34) ),NODRAW,COLORGREEN;

DRAWTEXT(REF(VAR4,VAR2 + 1) <  VAR4 AND REF(EMA(C,13) - EMA(C,34) ,VAR2 + 1) > EMA(C,13) - EMA(C,34)  AND CROSS(EMA(EMA(C,13) - EMA(C,34) ,12) ,EMA(C,13) - EMA(C,34) ),EMA(EMA(C,13) - EMA(C,34) ,12)+0.08,'顶'),COLORFFFF00;

DRAWTEXT(REF(VAR4,VAR2 + 1) <  VAR4 AND REF(EMA(C,13) - EMA(C,34) ,VAR2 + 1) > EMA(C,13) - EMA(C,34)  AND CROSS(EMA(EMA(C,13) - EMA(C,34) ,12) ,EMA(C,13) - EMA(C,34) ),EMA(EMA(C,13) - EMA(C,34) ,12)+0.04,'背'),COLORFFFF00;

DRAWICON(CROSS(EMA(C,13) - EMA(C,34)  >= EMA(EMA(C,13) - EMA(C,34) ,12),0.5),EMA(EMA(C,13) - EMA(C,34) ,12) ,5);

DRAWICON(CROSS(EMA(EMA(C,13) - EMA(C,34) ,12) >=EMA(C,13) - EMA(C,34)  ,0.5),EMA(EMA(C,13) - EMA(C,34) ,12) ,6);


 


[url=http://www.70822.com/soft/sort013/sort05/down-62203.html]【大智慧】《云制MACD顶底背离》【副图】【贴图】[/url]

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