通达信副图指标公式 通达信红面积MACD副图指标公式
2015-3-6 12:50:37 股票入门 http://rumen.southmoney.com
南方财富网带来通达信副图指标公式 通达信红面积MACD副图指标公式:
DRAWGBK(C》0, RGB(40,120,20),RGB(00,00,00),0,0,1),LINETHICK2;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
红面积:SUM(MACD,BARSLAST(MACD《0))*(MACD》0),COLOR0000FF,NODRAW;
绿面积:SUM(MACD,BARSLAST(MACD》0))*(MACD《0),COLORFFFF00,NODRAW;
AA:=ROUND(REF(绿面积,1)*100);
BB:=ROUND(REF(红面积,1)*100);
0,COLORF00FF0,LINETHICK2;
-0.40,COLORF00FF0,LINETHICK2;
DRAWNUMBER(CROSS(0,MACD),HHV(REF(MACD,1),5)+0.03,ABS(BB)),COLORMAGENTA;
DRAWNUMBER(CROSS(MACD,0),LLV(REF(MACD,1),5)-0.03,ABS(AA)),COLORGREEN;
TRLSX1:= MAX(MAX((HHV(DIF,13)-LLV(DIF,13)),ABS(REF(DIF,1)-HHV
(DIF,13))),ABS(REF(DIF,1)-LLV(DIF,13)));
TRLSX2:=EMA(TRLSX1,13);
TRLSX3:=REF(DIF,1)-REF(TRLSX2,1);
DRAWBAND(DIF,RGB(200,50,55),DEA,RGB(50,100,10));
MACDXG2:=REF(COUNT(DIF》0 AND MACD《0 AND MACD《REF(MACD,1),4)=4,1) AND
MACD》REF(MACD,1);
STICKLINE(MACDXG2,MACD*1.2,0,2.8,0),COLORFF00FF;
STICKLINE(MACD》REF(MACD,1) AND MACD》0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD》REF(MACD,1) AND MACD》0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD》REF(MACD,1) AND MACD》0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD《=REF(MACD,1) AND MACD》0,0,MACD,1.8,0),COLOR888888;
STICKLINE(MACD《=REF(MACD,1) AND MACD》0,0,MACD,1.1,0),COLORBBBBBB;
STICKLINE(MACD《=REF(MACD,1) AND MACD》0,0,MACD,0.6,0),COLORDDDDDD;
STICKLINE(MACD》REF(MACD,1) AND MACD《0,0,MACD,1.8,0),COLOR3377AA;
STICKLINE(MACD》REF(MACD,1) AND MACD《0,0,MACD,1.1,0),COLOR3388BB;
STICKLINE(MACD》REF(MACD,1) AND MACD《0,0,MACD,0.6,0),COLOR4499CC;
STICKLINE(MACD《=REF(MACD,1) AND MACD《0,0,MACD,1.8,0),COLORFF3300;
STICKLINE(MACD《=REF(MACD,1) AND MACD《0,0,MACD,1.1,0),COLORFF5500;
STICKLINE(MACD《=REF(MACD,1) AND MACD《0,0,MACD,0.6,0),COLORFF7700;
DRAWICON(CROSS(DIF,0),DIF,1);
DRAWICON(CROSS(DIF,-0.40),DIF,1);
DRAWICON(CROSS(MACD,0),MACD,1);
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。