当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:MACD红柱和绿柱天数(通达信公式 副图 源码 测试图)
软件名称:[B]MACD红柱和绿柱天数(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2023-12-30 00:15:25
软件简介:
MACD红柱和绿柱天数
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;
DEA:EMA(DIFF,9),COLORYELLOW;
MACD:2*(DIFF-DEA),COLORSTICK,LINETHICK4;
绿柱天:=BARSLAST(MACD>0)NODRAW;
HSL100:=SUM(VOL/CAPITAL*100,BARSLAST(CROSS(DIFF,DEA))+1)-VOL/CAPITAL*100;
HSL101:=SUM(VOL/CAPITAL*100,BARSLAST(CROSS(DEA,DIFF))+1)-VOL/CAPITAL*100;
HSL102:=SUM(VOL/CAPITAL*100,BARSLAST(CROSS(DIFF,DEA))+1);
HSL103:=SUM(VOL/CAPITAL*100,BARSLAST(CROSS(DEA,DIFF))+1);
红柱天数:BARSLAST(MACD< 0),COLORRED,NODRAW;
绿柱天数:REF(绿柱天,1),COLORGREEN,NODRAW;
DRAWNUMBER(CROSS(DEA,DIFF),0.2,ROUND(HSL100)),COLORRED;
DRAWNUMBER(CROSS(DIFF,DEA),-0.05,ROUND(HSL101)),COLORGREEN;
DRAWNUMBER(MACD>0 AND ISLASTBAR,0.2,ROUND(HSL102)),COLORYELLOW;
DRAWNUMBER(MACD< 0 AND ISLASTBAR,-0.05,ROUND(HSL103)),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-170590.html]MACD红柱和绿柱天数(通达信公式 副图 源码 测试图)[/url]