Change indicator's color when slope changes
Author: pestocat2
Creation Date: 5/1/2018 11:05 PM
profile picture

pestocat2

#1
How do I get access to code for changing the color of the Hullma indicator. I would like to change the color when the slope changes from up to down. I'm sure it's simple.
Thank you
profile picture

Eugene

#2
"Access to HullMA() Code" was a suboptimal topic title that did not reflect your true question which is "Change indicator's color when slope changes". Please choose your topic titles wisely, in the spirit of "a wise man's question contains half the answer". It will let you and other forum members enjoy the forum search always coming up with the right content. Thanks.

QUOTE:
I would like to change the color when the slope changes from up to down.

There's no need to get access to its code. Neither it would help. What you request can be achieved with the built-in method SetSeriesBarColor. For more information and sample usage, hit F11 key in WLP to open up QuickRef. Here's one more quick example:

How to change the color of PlotSeries
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).