How can I change the label colors so that greater than .5 the color is dark green, between 0 and .5 the color is light green, less than 0 but between 0 and -.5 light red and greater than -.5 dark red?
AddLabel(yes, "Utilities 2.5%: " + XLu_d_pct, (if xlu_d_pct > 0 then Color.GREEN else if xlu_d_pct < 0 then color.RED else Color.gray));
AddLabel(yes, "Utilities 2.5%: " + XLu_d_pct, (if xlu_d_pct > 0 then Color.GREEN else if xlu_d_pct < 0 then color.RED else Color.gray));