i would like to color the "macd" histogram according to the slope of the "average" depending on whether it ticks up or down.
i downloaded "macd color background" & "macd up down" from the forum & mucked around a bit...in "macd up down", i inserted :
if (Avg[0] > Avg[1])
{
BackColor = Color.PaleGreen;
}
else if (Avg[0] < Avg[1])
{
BackColor = Color.Pink;
}
which changes the background color ok, but i can't seem to work out how to translate this to change the macd histogram color instead.
pretty new at ninjascript & a bit confused. thanks for any help.
Comment