Gold Customer
Joined: 5/13/2010 Posts: 146
|
Is there a way to color an indicator a particular color when its is above the 20 sma and another color when its is below the 20 sma?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It depends on the indicator. But generally, if you can create a formula for the indicator and use the Dots or Histogram Plot Styles, you can use two Custom PCF Indicators plotted in the same pane and scale as each other to do this.
As an example, let's use price. The first Custom PCF Indicator would use the following formula.
IIF(C > AVGC20, C, 1 / 0)
And the second Custom PCF Indicator would use the following formula.
IIF(C < AVGC20, C, 1 / 0)
You would use the Dots Plot Style for both along with different colors.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|