当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:MACD将死不死优化(通达信指标 副图 源码 测试图)
软件名称:[B]MACD将死不死优化(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-07-10 00:15:18
软件简介:
{MACD将死不死优化}
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:EMA(DIF,9),COLORBLUE,LINETHICK2;
MACD:(DIF-DEA)*2,COLORSTICK,COLORMAGENTA;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,0.05,0),COLORLIBLUE,LINETHICK2;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,0.05,0),COLORFF00FF,LINETHICK2;
DRAWICON(CROSS(DIF,DEA),DIF+0.025,1);
DRAWICON(CROSS(DEA,DIF),DIF+0.025,2);
NH:=REF(DIF,3)>=REF(DIF,2) AND REF(DIF,2)>=REF(DIF,1) AND DIF>REF(DIF,1)*1.1;
NH1:=ABS((REF(DIF,1)-REF(DEA,1))/REF(DIF,1))<=0.2;
DT:=REF(DIF,2)>REF(DEA,2) AND REF(DIF,1)>=REF(DEA,1) AND DIF>DEA;
NLZ:=MACD>REF(MACD,1) AND DIF>0;
NLZ1:=MACD>REF(MACD,1) AND DIF<0;
将死不死1:=(NH1 AND NH AND DT AND NLZ);
将死不死0:=(NH1 AND NH AND DT AND NLZ1);
将死不死:将死不死1 OR 将死不死0,NODRAW;
DRAWTEXT(将死不死,DIF,'不死')LINETHICK5,COLORBLUE;
DRAWICON(将死不死,DEA-0.01,38);
DRAWICON(将死不死,DEA-0.03,38);
[url=http://www.70822.com/soft/sort013/sort05/down-168358.html]MACD将死不死优化(通达信指标 副图 源码 测试图)[/url]