How can i set backround is show profit label?
-
Hello,how can i have a backround and not only text in my chart showing better the profit?

my chart above.i want to be like this below:

-
@fxmich78 The only way I know is combining two blocks: 'Draw text' and 'Draw shape' with the same coordinates both.
-
@l-andorrà Thank you very much.
One other thing is that when i use the OrderProfit() ,when i have more than one trade closed(a grid for example) it does not show the sum profit but the latest trade.
How can we fix that?

-
@fxmich78 I'm afraid i'm not a programmer so I have no idea what that order does. What do you exactly need? The overall profit from all closed trades? From what period?
-
@l-andorrà
I need every time that the positions are closed,the profit to be depicted in chart as above. -
@fxmich78 Did you try to store that value in a variable by using a 'Trade closed' block on the 'on trade tab'? Then you can draw the value of tha variable.