网友求助:

求高手帮我做一个MACD死叉和5日均线和10日均线交叉成死叉的选股公式,,,我想从个股调整时入手

 

解答如下:

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;

OK:CROSS(DEA,DIFF) AND CROSS(MA(C,10),MA(C,5));