你确定是想要绿柱子一天比一天长的公式吗(意味着连跌3天)?而不是要绿柱一天比一天短的?我给你个大智慧的公式,你试试吧.
求macd线的绿柱子连续3天一天比一天长(前、昨、今天)的公式
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
绿连3长:MACD<0 AND MACD<REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
下面的是绿柱连续三天一天比一天短的公式:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
绿连3短:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2);