Change the color of the text in the box window

 

Hello to all professors

I created a box and with this object I have the amount of perfite inside the box

Now I want the color to change to green when we were in profit and the color to red when we were at a loss

I asked the professors for guidance.

Label("GOLD:T6",240,200,CORNER_RIGHT_UPPER,ANCHOR_LEFT,"TOTALL PROFIT : "+string(AccountProfit()),"Arial Black",12,Red);  


 
Use ObjectSetInteger()
Reason: