Dynamic indicator line color?
Author: karla2010
Creation Date: 9/12/2010 4:53 AM
profile picture

karla2010

#1
I'm sure that this question has been asked and answered but I cannot find it in search.

I'd like to change the color of a moving average in the price pane, depending on an indicator value.

For example:
if DIPlus > DIMinus then uptrend and moving average is green
if DIPlus < DIMinus then downtrend and moving average is red

Thanks.
profile picture

Eugene

#2
QuickRef (hit F11) > SetSeriesBarColor.
profile picture

karla2010

#3
Eugene,

Works great. Thanks.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).