-
Fix Ultimate Oscillator divide by zero exception (#7618)
发布于
2023-12-08 18:21:07 +00:00 | 1145 次提交 在此版本后已推送到 master- Solve bug and add unit test
The bug was raised when the sum of the True Range values was zero. Since
the Ultimate Oscillator provides a more reliable indicator of momentum,
if the prices don't change, its value should be zero, as there is no
acceleration of a security's price.- enhance implementation
下载附件