Modify DirectionalChange indicator for new algorithm.