一组K线后,股价上涨15%以上,同时所对应的MACD红柱峰值(最高值)是上次MACD红柱峰值的2倍以上,现在MACD红柱缩短,但股价并没大幅下跌(MACD顶背离也可以),当MACD红柱不等变绿,再次放大时,就是买入点.
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 红柱放大; |