通达信揪住主力公式
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- 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;
|