Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

custom indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
ljcampbell42
Posted : Tuesday, May 31, 2016 2:42:41 PM
Registered User
Joined: 11/6/2013
Posts: 9

Im wondering if it's possible to create an indicator where if the 15 ema were up for the day the bar would be green but if the 15 ema moved down it would color the bar red

StockGuy
Posted : Tuesday, May 31, 2016 2:51:53 PM

Administration

Joined: 9/30/2004
Posts: 9,187

It's not possible to color price bars based on the value or net change of an indicator. But you could plot a custom PCF indicator using the following formula...

abs(xavgc15 > xavgc15.1) - .5

Set the plot style to histogram and set color for positive and negative values. When the 15 ema moves up it will plot a green bar and when down will plot a red bar.

busterram
Posted : Tuesday, May 31, 2016 8:48:02 PM
Registered User
Joined: 10/9/2011
Posts: 485

I use that technique a lot and play with the transparency so you can mark the bar.

Good technique but not well documented in the documentation with an example.

ljcampbell42
Posted : Saturday, June 4, 2016 10:17:52 AM
Registered User
Joined: 11/6/2013
Posts: 9

Thank You!

Bruce_L
Posted : Wednesday, June 8, 2016 9:40:34 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Another option would be to set the Plot Style of the Moving Average indicator to Dot and then add a Custom PCF Indicator in the same pane and scale with the Plot Style also set to ot using a different color.

ABS(C < XAVGC15.1) * XAVGC15



-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.