DIFF–DEA 跌到 MACD零轴 停止交易 零轴上可以交易
//该公式仅仅用来示范如何编写指标条件公式
//用户需要根据自己交易经验,进行修改后再实际应用!!!
SHORT:=12;
LONG:=26;
M:=9;
DIFF: EMA(CLOSE,SHORT) – EMA(CLOSE,LONG);
DEA: EMA(DIFF,M);
2*(DIFF-DEA),COLORSTICK;
COND:=CROSSDOWN(DIFF,DEA);
DRAWICON(COND,DIFF,'ICO11');//标识出DIFF下穿DEA的K线。ZHI
J:=CROSS(DIFF,DEA);
J,BK;
COND,SP;
AUTOFILTER;
(来源:文华财经)