彩色MACD 通达信副图指标 源码 贴图
2021-01-13 11:01:00来源:本站整理浏览:950
彩色MACD 通达信副图指标 源码 贴图
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);{www.gpxiazai.com}
DRAWBAND(DIF,RGB(150,0,150),DEA,RGB(0,150,0));
STICKLINE(MACD>0,MACD,0,2,1),COLORRED;
STICKLINE(MACD<0,MACD,0,2,1),COLORCYAN;
DRAWTEXT_FIX(1,0.62,0,0,''),COLORRED;
MACD120:=REF(MACD/2,BARSLAST(MACD=HHV(MACD,120))),COLORRED,LINETHICK2;
指标:=NOT(REF(MACD120,1)=MACD120);
STICKLINE(指标,0,MACD,2,0),COLORYELLOW;