C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- N:=14;
- TYP:=(HIGH+LOW+CLOSE)/3;
- CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
- DIF:EMA(CLOSE,12) - EMA(CLOSE,26);
- DEA:EMA(DIF,9);
- MACD:(DIF-DEA)*2,COLORSTICK;
- 主力潜伏:COUNT(MACD<0,10)=10,COLORRED,NODRAW;
- STICKLINE(主力潜伏,0,MACD*200,8,0),COLORRED;
- 100;
- 0;
- -100;
- -100,STICK;