通达信金钻MACD及选股指标(源码)
2015-08-13 23:25:00来源:本站整理浏览:440
DIF:EMA(CLOSE,3)-EMA(CLOSE,7);
DEA:EMA(DIF,3);
MACD:(DIF),COLORSTICK;
DIF,COLORGREEN,LINETHICK2;
DEA,COLORGREEN,LINETHICK2;
线上金叉买:0,COLORGREEN,LINETHICK2;
IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
DRAWICON(CROSS(DIF,DEA),DEA,25);
DRAWICON(CROSS(DEA,DIF),DEA,24);
{
选股公式:
DIF:=EMA(CLOSE,3)-EMA(CLOSE,7);
DEA:=EMA(DIF,3);
CROSS(DIF,DEA);
}
- 上一篇公式:通达信资金量抓股指标(源码)
- 下一篇公式:通达信中线买卖指标(源码)