Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Relative colors Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
vincectec1
Posted : Saturday, October 13, 2018 2:33:37 PM
Gold Customer 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?

Bruce_L
Posted : Tuesday, October 16, 2018 8:21:48 AM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.