C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
- DEA:=EMA(DIFF,9);
- MACD:=(2)*(DIFF-DEA);
- A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
- 接近大盘底:(REF(CLOSE,A1+1)>CLOSE) AND (DIFF>REF(DIFF,A1+1)) AND CROSS(DIFF,DEA);
- STICKLINE(接近大盘底,0,1,0,0),COLOR0000FF;
- DRAWICON(接近大盘底>0,1,11);