el_chartel
New member
I made this Thinkscript for % change at open but I cant figure out how to add a "%" symbol at the end. Can someone please guide me how to?
Code:
def Change = if close > open then (close - open) else if close < open then ((open - close)* -1) else 0;
plot DayChange = (Change / open) * 100;
DayChange.AssignValueColor(if DayChange > 0 then CreateColor(191, 255, 173) else CreateColor(255, 204, 215));
AssignBackgroundColor(if DayChange > 0 then CreateColor(17, 130, 34) else if DayChange == 0 then CreateColor(98, 98, 98) else CreateColor(82, 24, 24));