PT_Scalper
Member
Hi all,
I'm in need of a bit of help trying to sort a column that always seems to be sorting from 9 down to 1.
How do I sort something by the highest value and not first digit of the number? This is on my WatchList as a customer column;
Thanks in advance.
I'm in need of a bit of help trying to sort a column that always seems to be sorting from 9 down to 1.
How do I sort something by the highest value and not first digit of the number? This is on my WatchList as a customer column;
plot x = round((count),2);
x.assignValueColor (color.black);
assignBackgroundColor (if Count > 24 then Color.dark_green else if count > 20 then color.green else if count > 16 then color.yellow else if count > 12 then color.orange else if count > 8 then Color.red else color.dark_red);
AddLabel(yes, count, (if Count > 24 then Color.white else if count > 20 then color.black else if count > 16 then color.black else if count > 12 then color.black else if count > 8 then Color.black else color.black));
Thanks in advance.