分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式飞狐公式 → 一键转帖:发一个自己用的MACD

软件名称:[B]发一个自己用的MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2012-08-17 16:35:19
软件简介:

DIFF : EMA(CLOSE,S) - EMA(CLOSE,P);
DEA  : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK;

VAR6:=((CLOSE)/(REF(CLOSE,3))>=1.05);
VAR7:=BACKSET(VAR6,3);
STICKLINE(VAR7 AND (COUNT(VAR7,5)=1),0.09,0,4,0),CoLor0000FF,LINETHICK3;
DRAWTEXT(VAR7 AND (COUNT(VAR7,5)=1),0.02,'买入 '),CoLorFF00FF;

VAR10:=HHV(DEA,53);
VAR20:=LLV(DEA,55);
VAR30:=DEA-(DIFF-DEA);
UP:IF(DIFF>VAR10 AND DEA=VAR10,MAX(LLV(VAR10,10),VAR30),VAR10),COLORbb0000,LINETHICK1;
DN:IF(DIFF<VAR20 AND DEA=VAR20,MIN(HHV(VAR20,10),VAR30),VAR20),COLORRED,LINETHICK1;

UU:=HHV(MACD,55);
LL:=LLV(MACD,55);
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLOR00cfff,LINETHICK2;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORFF00FF,LINETHICK2;
PARTLINE(DIFF>REF(DIFF,1),DIFF),colorred;
PARTLINE(DIFF<REF(DIFF,1),DIFF),colorgreen;
PARTLINE(DIFF>REF(DIFF,1)AND REF(DIFF,1)>0,DIFF),colorred;
PARTLINE(DIFF<REF(DEA,1),DIFF),COLORGRAY;
VAR6:=((CLOSE)/(REF(CLOSE,3))>=1.05);
VAR7:=BACKSET(VAR6,3);
STICKLINE(VAR7 AND (COUNT(VAR7,5)=1),0.09,0,4,0),CoLor0000FF,LINETHICK3;
DRAWTEXT(VAR7 AND (COUNT(VAR7,5)=1),0.02,'买入 '),CoLorFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.01,6,0),COLOR00FF00;
底背:=DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;
DRAWTEXT(底背离,DIFF*0.98,'↑\n底背离'),COLORFF00FF;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,DIFF*0.98,'↓顶背离'),COLORFF00FF;
顶背:=DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORBLUE,LINETHICK2;

强:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2),LINETHICK0;
差A:=3*EMA(EMA(EMA(EMA(强,2),2),2),2),LINETHICK0;
净流:=3*EMA(EMA(EMA(EMA(差A,1),2),2),2), COLORRED,LINETHICK0;
DRAWTEXT(CROSS(0,净流),0+0,'空'),COLORGREEN;
DRAWTEXT(CROSS(REF(净流,1),净流),DIFF,'注意'),COLORFFFF00;
DRAWTEXT(CROSS(净流,0),0,'关注 资金介入'),COLOR00FFFF;


 


[url=http://www.70822.com/soft/sort013/sort02/down-51786.html]发一个自己用的MACD[/url]

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