分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式大智慧L2公式 → 一键转帖:MACD-背变

软件名称:[B]MACD-背变[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2010-01-30 20:09:24
软件简介:

{MACD-背变}

{设置缺省值:short:9,M:12,long:26}

DRAWTEXTREL(10,5,'正面负面:'+BKNAME),COLORwhite;

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),COLORgreen;  
DEA : EMA(DIFF,M),COLORyellow;  
MACD : 2*(DIFF-DEA), COLORSTICK,COLOR5454FF;  
DD:=C=HHV(C,180);  
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;  
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;  
上升背离:(CC AND EE)*DEA,COLOR00FFFF;  
顶背离:(DD AND EE AND DEA< HHV(DEA,180))*DEA,STICK,LINETHICK3,COLORGREEN;  
FF:=C=LLV(C,180);  
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;  
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;  
下降背离:(LL AND GG)*DEA,COLORMAGENTA;  
底背离:(FF AND GG AND DEA> LLV(DEA,180))*DEA,STICK,LINETHICK3,COLORRED;  
MM:=IF(MACD< 0,MACD,0);  
JJ:=MM> REF(MM,1);  
ZZ:=REF(JJ,1)=1;  
介入区:(JJ AND ZZ)*DEA,POINTDOT,COLORRED;
STICKLINE(介入区=DEA,DEA,DIFF,3,0),COLORRED;
DRAWTEXT(CROSS(DIFF,DEA ),0,'金叉'),ColorFFFFFF;
DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN;

PARTLINE(DIFF,DIFF>(REF(DIFF,1)+0.008),RGB(255,0,0)){,COLORMAGENTA},LINETHICK2;
PARTLINE(DEA,DIFF<=(REF(DIFF,1)+0.008){长期线<=REF(长期线,1)},RGB(50,100,100)){,COLORFFFF00,LINETHICK2};

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);
FH4:=FH1 AND FH2 AND ABS((DIFF-DEA)/C)<0.018;
FH5:=FH1 AND FH2 AND MACD<0.10;

DRAWTEXT(FH3 OR FH4 OR FH5,DIFF,'★'),COLORred;
 


[url=http://www.70822.com/soft/sort013/sort03/down-16185.html]MACD-背变[/url]

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