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

软件名称:[B]缠论MACD背驰指标 和谐源码分享[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2019-01-28 01:38:16
软件简介:

 {公式名称: MACD背驰

副图}
 
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK,LINETHICK2;
VAR1:=CROSS(DIFF,DEA) AND DIFF<(-0.1);
STICKLINE(VAR1,0,0.08,6,0),COLORYELLOW;
DRAWTEXT(VAR1,0.16,44),COLORWHITE;
VAR2:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
VAR3:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(VAR2=2,21)=1;
STICKLINE(VAR3,0,0.06,6,0),COLORMAGENTA;
DRAWICON(VAR3,DEA*0.9,1);
DRAWTEXT(VAR3,DEA,45),COLORYELLOW;
VAR4:=BARSLAST(REF(CROSS(DIFF,DEA),1));
VAR5:=REF(CLOSE,VAR4+1)>CLOSE AND DIFF>REF(DIFF,VAR4+1) AND CROSS(DIFF,DEA);
STICKLINE(VAR5,0,0.03,6,0),COLORGREEN;
底背:DRAWLINE(VAR4=0,DEA,VAR5,DEA,0),COLORRED,LINETHICK4;
DRAWTEXT(VAR5,0.12,46),COLORMAGENTA;
VAR6:=BARSLAST(REF(CROSS(DEA,DIFF),1));
VAR7:=REF(CLOSE,VAR6+1)<CLOSE AND REF(DIFF,VAR6+1)>DIFF AND CROSS(DEA,DIFF);
顶背:DRAWLINE(VAR6=0,DEA,VAR7,DEA,0),COLORGREEN,LINETHICK4;
DRAWTEXT(VAR1 AND VAR3 AND VAR5,DIFF,47),COLORRED,LINETHICK2;
DRAWICON(CROSS(DIFF,DEA),DIFF,1);
DRAWICON(CROSS(DEA,DIFF),DIFF,2);
MACD值:2*(DIFF-DEA),COLORSTICK,COLORRED;
VAR8:=SUM(MACD值,0);{分析家公式网www.70822.com}
VAR9:=IF(MAX(VAR8,REF(VAR8,2))<REF(VAR8,1) OR MIN(VAR8,REF(VAR8,2))>REF(VAR8,1),1,0);
VAR10:=BARSLAST(VAR9)+1;
VAR11:=VAR8-REF(VAR8,VAR10);
VAR12:=IF(MACD值>0,HHV(ABS(MACD值),VAR10),LLV(MACD值,VAR10));
VAR13:=MACD值/20;
面积:VAR11,NODRAW;
DRAWNUMBER(REF(VAR13,1)>0 AND VAR13<=0,REF(VAR12,1),REF(面积,1)),COLORMAGENTA;
DRAWNUMBER(REF(VAR13,1)<0 AND VAR13>=0,REF(VAR12,1),REF(ABS(面积),1)),COLORGREEN;
DRAWNUMBER(ISLASTBAR AND VAR13<0,REF(VAR12,1),ABS(面积)),COLORMAGENTA;
DRAWNUMBER(ISLASTBAR AND VAR13>0,REF(VAR12,1),面积),COLORGREEN;
 

[url=http://www.70822.com/soft/sort013/sort05/down-133107.html]缠论MACD背驰指标 和谐源码分享[/url]

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