Can someone fix the following code for me? I want to assign the color to the value instead of the background and I would Also like to color RED the values 85 and greater.
Thanks-
plot X = round(RSI(4), 0);
assignbackgroundColor(if rsi(4) < 15 then
color.green else color.current);
X.assignvaluecolor(if rsi(4) < 15 then color.black
else color.current);
Thanks-
plot X = round(RSI(4), 0);
assignbackgroundColor(if rsi(4) < 15 then
color.green else color.current);
X.assignvaluecolor(if rsi(4) < 15 then color.black
else color.current);