通达信胡氏指标(源码)
2015-07-01 21:52:00来源:本站整理浏览:265
M:=5;
JX:=(C-REF(C,1))/REF(C,1)*100;
VX:=(V-REF(V,1))/REF(V,1)*100;
Z1:=IF(JX>2 AND VX>2,2,0);
Z2:=IF(JX>2 AND VX<(-2),1,0);
Z3:=IF(JX<(-2) AND VX>2,-2,0);
Z4:=IF(JX<(-2) AND VX<(-2),-1,0);
LYX:SUM(Z1+Z2+Z3+Z4,M);
MA(LYX,5);
0,POINTDOT;
- 上一篇公式:通达信连续走强MACD指标(源码)
- 下一篇公式:通达信实战KDJ指标(源码)