[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coding help for color?



PureBytes Links

Trading Reference Links

At 1:21 PM -0400 7/20/02, rghstocks@xxxxxxx wrote:

>I have been trying to plot a moving average where if it is going up it is one color and if it is going down it's a different color. I've done it a couple of different ways but not receiving the desired effect.  One of the ways is listed below but it lags one bar in color.  Can someone please help with the correct method.

You can plot it back one bar like this:

  Plot[1](.....);

But I see no way to find the top until after it has passed.

Bob Fulks