「翔博精选指标」MACD狙击黑马,和谐源码分享(通达信公式 副图
2022-05-06原创 编 辑:翔博软件
{MACD狙击黑马}
XA_1:=EMA(EMA(EMA(CLOSE,5),5),5);
XA_2:=EMA(EMA(EMA(CLOSE,7),7),7);
XA_3:=EMA(EMA(EMA(CLOSE,12),12),12);
峰谷1线:(XA_1-REF(XA_1,1))/REF(XA_1,1)*200,COLORMAGENTA,LINETHICK2;
峰谷2线:(XA_2-REF(XA_2,1))/REF(XA_2,1)*250,COLORGREEN,LINETHICK2;
议事线:(XA_3-REF(XA_3,1))/REF(XA_3,1)*300,COLOR99EEEE;
门廷线:MA(议事线,9),COLORRED;
DRAWBAND(议事线,RGB(255,0,0),门廷线,RGB(0,100,50));
红蓝带:(XA_1-XA_2)*5,COLORSTICK;
零轴线:0,DOTLINE,COLOR0099FF;