当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:漫步MACD(通达信公式 副图 源码 测试图)
软件名称:[B]漫步MACD(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2022-02-11 00:15:29
软件简介:
漫步MACD
{PARAM}
SHORT:=12;
LONG:=26;
MID:=9;
{周MACD}
WEEK_JC:="MACD.DIF#WEEK"(SHORT,LONG,MID)>"MACD.DEA#WEEK"(SHORT,LONG,MID);
WEEK_SC:="MACD.DIF#WEEK"(SHORT,LONG,MID)<"MACD.DEA#WEEK"(SHORT,LONG,MID);
{月MACD}
MONTH_JC:="MACD.DIF#MONTH"(SHORT,LONG,MID)>"MACD.DEA#MONTH"(SHORT,LONG,MID);
MONTH_SC:="MACD.DIF#MONTH"(SHORT,LONG,MID)<"MACD.DEA#MONTH"(SHORT,LONG,MID);
银:WEEK_JC,NODRAW;
金:MONTH_JC,NODRAW;
VAR1:=EMA(EMA(CLOSE,9),9);
主力:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED,LINETHICK2;
VAR2:=100*WINNER(CLOSE*0.95);
加速:VAR2>50 AND COST(85)<CLOSE AND 主力>0,COLORRED,NODRAW;
_DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE,LINETHICK1;
_DEA:=EMA(_DIF,9),COLORYELLOW,LINETHICK1;
_MACD:=(_DIF-_DEA)*2,COLORWHITE,COLORSTICK;
A1:=_MACD<REF(_MACD,1) AND _MACD>0;
A2:=_MACD<REF(_MACD,1)/2 AND _MACD<0;
_WIDTH:=-1;
STICKLINE((_MACD>=0) AND (WEEK_JC),_MACD,0,_WIDTH,0),COLORRED;
STICKLINE((_MACD>=0) AND (WEEK_JC) AND 加速,_MACD,0,_WIDTH,0),COLORMAGENTA;
STICKLINE((_MACD>=0) AND (WEEK_SC),_MACD,0,_WIDTH,1),COLORRED;
STICKLINE((_MACD>=0) AND (MONTH_JC),_MACD/2,0,_WIDTH,0),COLORYELLOW;
STICKLINE((_MACD>=0) AND (MONTH_SC AND WEEK_JC),_MACD/2,0,_WIDTH,0),COLORGREEN;
STICKLINE((_MACD<0) AND (WEEK_JC),_MACD,0,_WIDTH,0),COLORGREEN;
STICKLINE((_MACD<0) AND (WEEK_SC),_MACD,0,_WIDTH,1),COLORLIGREEN;
STICKLINE((_MACD<0) AND (MONTH_JC),_MACD/2,0,_WIDTH,0),COLORYELLOW;
STICKLINE((_MACD<0) AND (MONTH_SC AND WEEK_JC),_MACD/2,0,_WIDTH,0),COLORGREEN;
强弱分界:0,COLORWHITE,LINETHICK1;
值:_MACD,COLORRED,NODRAW;
白:_DIF,COLORWHITE;
黄:_DEA,COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-160689.html]漫步MACD(通达信公式 副图 源码 测试图)[/url]