C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 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(MACD<REF(MACD,1),4)>2 AND MACD>REF(MACD,1)AND MA(C,5)>REF(MA(C,5),1);
- XG:股价上涨 AND 红柱放大;