DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA);
MACD騎墻進(jìn):DIFF》=0 AND CROSS(DIFF,dea) AND V/MA(V,5)》1.5,colormagenta;
DRAWTEXT(MACD騎墻進(jìn),0.9,‘MACD騎墻進(jìn)’),colormagenta;
MACD騎墻出:DIFF《0 AND CROSS(dea,DIFF) AND V/MA(V,5)《1.5,colorcyan;
DRAWTEXT(MACD騎墻出,1,‘MACD騎墻出’),colorcyan;
(南方財富網(wǎng)SOUTHMONEY.COM)