靓丽MACD 源码
2013-01-22 09:53:00来源:本站整理浏览:229
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*3,COLORCC66DD;
STICKLINE(((DIF<DEA)),MACD,0,6,1),COLOR00FF00 ;
STICKLINE(((DIF>DEA)),MACD,0,6,1),COLORMAGENTA ;
STICKLINE(((DIF>DEA)),DIF,DEA,2,0),COLORFF00FF;
STICKLINE(((DIF<DEA)),DIF,DEA,2,0),COLOR00FF00;
DRAWICON((DEA<DIF),DEA*0.99,26);
{www.gpxiazai.com 股票软件下载网_通达信指标公式}
DRAWICON((DEA>DIF),DIF*0.99,24);
DRAWICON((DIF<DEA),DEA*0.99,27);
DRAWICON((DIF>DEA),DIF*0.99,25);
DRAWICON(CROSS(MACD,0),0,1);
DRAWICON(CROSS(0,MACD),-0.05,2);
DRAWICON(CROSS(DIF,DEA),DIF,1),COLORRED;
DRAWICON(CROSS(DEA,DIF),DEA,2),COLORGREEN;