Moving average that has a color based on the angle. The display is updated on a change in price.
If the angle causes a down color of red and later in the bar price increases to cause a steeper angle and thus a color of green, the red line between the last bar and the current bar remains along with the now steeper line that is green (and a gray (flat color) in between).
There must be a way to erase the now incorrect color portion but I can't find any examples.
I have attached a pic showing exactly what I mean.
Hints?
Comment