The slope only repaints when it changes! The point where it changes could only be known after two bars. hope this helps!