软件名称:[B]MACD面积计算[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2018-05-16 03:12:26
软件简介:
DRAWTEXT_FIX(1,0.3,0.02,1,239),COLORRED;
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:(DIFF-DEA)*2,COLORSTICK,LINETHICK2;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,0.5,0),COLORYELLOW;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,0.5,0),COLORGREEN;
STICKLINE(MACD>REF(MACD,1) AND MACD,0,MACD,0.5,0),COLORLIRED;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.5,0),COLORRED;
HJ_1:=IF(DIFF>=DEA,DIFF,DRAWNULL);
HJ_2:=IF(DEA>=DIFF,DEA,DRAWNULL);
HJ_3:=IF(DIFF>=DEA,DEA,DRAWNULL);
HJ_4:=IF(DEA>=DIFF,DIFF,DRAWNULL);
HJ_5:=BARSLAST(REF(CROSS(DIFF,DEA),1));
HJ_6:=REF(CLOSE,HJ_5+1)>CLOSE AND DIFF>REF(DIFF,HJ_5+1) AND CROSS(DIFF,DEA);
红面积:SUM(MACD,BARSLAST(MACD<0))*(MACD>0),NODRAW,COLORRED;
绿面积:SUM(MACD,BARSLAST(MACD>0))*(MACD<0),NODRAW,COLORCYAN;
HJ_7:=ROUND(REF(绿面积,1)*100);
HJ_8:=ROUND(REF(红面积,1)*100);
{分析家公式网www.70822.com}
DRAWNUMBER(CROSS(0,MACD),HHV(REF(MACD,1),5)+0.03,ABS(HJ_8)),COLORRED;
DRAWNUMBER(CROSS(MACD,0),LLV(REF(MACD,1),5)-0.03,ABS(HJ_7)),COLORGREEN;
{-----------------------------------}
[url=http://www.70822.com/soft/sort013/sort05/down-124766.html]MACD面积计算[/url]