How can we display the profit ON chart after a closed trade?
-
Hello,does any one know
How can we display the profit ON chart after a closed trade?
Not in panel as a comment but right above the close of the trade.like that:

-
Something like this should be ok:

Note the correct Event, and also the custom function. I found the function from here: https://docs.mql4.com/trading/orderprofit
-
@roar This will output OrderProfit() as a string. Better use the other "Text" option:

-
@fxdreema Oh, of course, thanks!
-
-
-
You can change the font size (bigger).
-
@l-andorrà There is no "Position closed" in fxdreema

I want to show profit after closed position and i dont know how to start.
I tried with "Bucket of closed trades" but dont know how to get profit for n-trades from history and show on right places (on candle when trade has stopped). -
@tpieczka said in How can we display the profit ON chart after a closed trade?:
@l-andorrà There is no "Position closed" in fxdreema
They are talking about MT5.....
With MT5 Builder it is Position.
With MT4 it is Trade.....Same thing just different names....:)
-
@Morpheus_0 I didnt know
im using MT4.
I have found a solution few minutes a go...Thank you.
-
You're very welcome*
-
hola https://fxdreema.com/shared/zjlUN1zF
