多空MACD
2016-10-25 12:40:16点击:
DIFf: EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA: EMA(DIFf,m);
MACD : 2*(DIFf-DEA),COLORSTICK,LINETHICK2;
龙改:IF((CROSS(DIFf,DEA) OR CROSS(DIFf,DEA) AND DIFf<DEA AND DEA>DIFf),0.1,0),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(DEA,DIFf),DEA+0.1,'空'),COLORGREEN;
DRAWTEXT(CROSS(DIfF,DEA),DIFf-0.1,'多'),COLORRED;