Range of gain or loss of orders currently opened, positive and negative.
-
Hello friends, I would like to know how I can get information in the graph showing the maximum that the asset was reached of positive gain, and of loss when it was negative.
I'll try to explain:
- Imagine that I have $ 1,000 in the account
- I have 3 open orders and the profit result is as shown in the image 16.90 $ ->

But, after a few minutes the balance got bigger as shown in the image again, it went to $ 34.60 ->

Then he will have to register this balance of 34.60 $ this time as a new maximum profit achieved, and so he will continue to do so.
If the profit decreases he will do nothing, he only registers new higher profits
The same situation for the sale.
- He now shows that he has 1 open order and has a negative profit of -1.20 $ -->

Then he should register that the lowest profit achieved was 1.20 $.
But after some time he registers that he is -13.30 $ negative -->
So he understands that it is the lowest profit achieved and records it this time.
-
@fabiobioware I guess you wantthat info for closed trades, right?
-
@l-andorrà said in Range of gain or loss of orders currently opened, positive and negative.:
I guess you wantthat info for closed trades, right?
I guess you wantthat info for closed trades, right?
No, only for ongoing negotiations.
The reason is that I want to know how negative the sum of the open orders in progress was.
Or how positive the negotiations in progress have become. -
@l-andorrà Negotiations that are open and in progress, the sum of them, being positive or negative.
That way I will know that that particular $ 1000 asset came to a negative -300 $ maximum at the moment. -
@l-andorrà https://fxdreema.com/shared/tZzpCraXc -->I believe I got the positive value.
But the negative I have no idea.
Can anyone help? -
@fabiobioware Did you try this block?

-
@l-andorrà exactly my friend, this block solved everything i needed, thank you very much.
-
@fabiobioware You're welcome.