How can I print the stop loss live?
-
Probably a very, very simple question.
I want to output the actual loss on an open trade on the screen.
But which block can tell me this? I want it to print the loss in points on open BUY trades and one line showing the loss on the open SELL trades on the trades that are open for this EA.Something like this:
SELL LOSS: 250 points
BUY LOSS: 732 pointsBut which block can give me these numbers?
Probably very, very simple, but I just can't find it.
And I only have one BUY trade and one SELL trade open, so it's just one I'm looking for.
What I'm looking for is the loss compared to the open price. -
This could be an approach (not tested)

You can have one "Comment" block for a BUY trade and other one for a SELL trade using the block "If position".
-
No, didn't get the points from that example.
-


Not sure if it Will work for all the brokers because it Will depend on the digits count but usually 1PIP = 10POINTS.
-
Do you have only 1 trade at a time, or is it possible to have multiple?