DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
股价上涨:hhv(c,4)/llv(c,20)>1.15 and hhv(macd,3)/ref(hhv(macd,1),20)>2;
红柱放大:count(macd>0,4)=4 and count(macd2 and macd>ref(macd,1)and ma(c,5)>ref(ma(c,5),1);
选股用:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
股价上涨:=hhv(c,4)/llv(c,20)>1.15 and hhv(macd,3)/ref(hhv(macd,1),20)>2;
红柱放大:=count(macd>0,4)=4 and count(macd2 and macd>ref(macd,1)and ma(c,5)>ref(ma(c,5),1);
股价上涨 and 红柱放大; |