【资料名称】:通达信MACD顶底副图指标 源码介绍【资料描述】:
通达信MACD顶底副图指标 源码
DIF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIF,9);
MACD : 2*(DIF-DEA),COLORSTICK;
MACD1: 2*(DIF-DEA);
MACD2:MA(MACD1,3);
压力:MA(REF(HHV(MACD,20),1),2),COLORGRAY;
支撑:MA(REF(LLV(MACD ,10),1),2),COLORGRAY;
抄底:=CROSS(MACD,支撑)*6,COLORRED,LINETHICK1;
DRAWTEXT(CROSS(MACD,支撑),支撑,'B'),COLORRED;
追涨:=CROSS(MACD,0)*6,COLORMAGENTA,LINETHICK1;
DRAWTEXT(CROSS(MACD,0),0,'B'),COLORMAGENTA;
卖点:=CROSS(压力,MACD),COLORGREEN,LINETHICK1;
DRAWTEXT(卖点,压力,'S'),COLORGREEN;
gd53967
【下载地址隐藏】: 点:回复可见地址