通达信指标公式 通达信macd显示面积指标公式
2015-2-7 9:04:02 股票入门 http://rumen.southmoney.com
南方财富网带来通达信指标公式 通达信macd显示面积指标公式:
DIF:EMA(CLOSE,9)-EMA(CLOSE,26);
DEA:EMA(DIF,13);
MACD:(DIF-DEA)*2,COLORSTICK;
空中加油:IF(DIF》REF(DIF,1) AND DIF》=DEA AND REF(DIF,1)《=REF(DIF,2) AND REF(DIF,1)》=REF(DEA,1) ,1,0),NODRAW;
DRAWICON(空中加油=1,DIF,23);
DRAWICON(CROSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DEA,2);
强:IF(DIF》=DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;
弱:IF(DEA》=DIF,DEA,DRAWNULL),COLORBLUE,LINETHICK2;
红面积: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);
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;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。