通达信小牛爬山选股/副图指标
2016-07-20 11:27:00来源:本站整理浏览:190
DIFF:=EMA(C,13)-EMA(C,21);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
DDI:=EMA(CLOSE,12)-EMA(CLOSE,26);
DDE:=EMA(DDI,9);
MD:=(DDI-DDE)*2;
VA2:=((HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VA3:=SMA(VA2,2,1),COLORWHITE,LINETHICK2;
AX1:=SMA(VA3,2,1);
BX1:=(AX1-((VA2-AX1)*VA2-AX1)/AX1);
CP:=SMA(BX1,5,1),COLORFFAA00;
CCP:=EMA(EMA(EMA(VA3,3),2),1);
XG:MACD>0 AND DDI>0 AND DDE>0 AND MD>0 AND CROSS(CP,CCP);
- 上一篇公式:〖划线示例〗在指定日期的K线位置处划竖线---周一标识线
- 下一篇公式:通达信富力趋势顶底副图源码