Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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.
|
|
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.
|
|
Registered User Joined: 11/6/2013 Posts: 9
|
Thank You!
|
|
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
|
|
Guest-1 |