Good day All,
Can someone please help me reformat this simple script to display as a percentage with two decimal places? Additionally, if positive I would like it to display as green and if negative, red. I use the script on my watchlists.
Thanks for your assistance!...
input length = 9;
AddLabel(yes, AsText(((ask - open) / open[length]), NumberFormat.THREE_DECIMAL_PLACES));
Can someone please help me reformat this simple script to display as a percentage with two decimal places? Additionally, if positive I would like it to display as green and if negative, red. I use the script on my watchlists.
Thanks for your assistance!...
input length = 9;
AddLabel(yes, AsText(((ask - open) / open[length]), NumberFormat.THREE_DECIMAL_PLACES));