Show Proft and Loss information.
-
Hello friends, I am trying to understand how I can obtain the profit and loss information in each trade to carry out the sums and display in real time the real situation of my robot's trades.
Let's get to what I need:- Display the total number of trades that took place in real time.
- Display of this total the total gains and total losses in real time.
- Display in values how much is gain and how much is loss in real time.
Does anyone know if this already exists or how can I do it?
-
You can try a similar srtructure as I created here:
https://fxdreema.com/forum/topic/8803/daily-performance
You just need to insert all variables in a 'Comment (ugly)' block on a separated new tree on the 'on tick' tab. That should work.
-
@l-andorrà The backtest worked perfectly.
In the real market it is not displaying the data correctly. Field is " GANHO NO MOMENTO "
Could you help me understand the reason for this difference in the display of information?
https://fxdreema.com/shared/4ogGeH7Mc

-
@l-andorrà url correct is https://fxdreema.com/shared/Mok4qGf4e
-
@l-andorrà If you observe, during the backtest the value informed in the red markings are the same and this is correct, but this only works correctly in the backtest, in the real market the information is as shown in the previous image in the post.

-
@l-andorrà @trader-philipps and @fxdreema Can you guys help me solve this problem?
Bellow url to access:
https://fxdreema.com/shared/C1JkBiDfe -
I see you are using MT5. I'm afraid that is the reason. I know that in MT5 the list of closed trades in your history trade tab is not acceed the same as it is in MT4. The administrator himself confirmed this to me. I guess the reason why it works in backtest is that there is no history at all there.
I'm afraid you will need a real programmer for this issue. I'm not your man for this, sorry.

-
@l-andorrà said in Show Proft and Loss information.:
I see you are using MT5. I'm afraid that is the reason. I know that in MT5 the list of closed trades in your history trade tab is not acceed the same as it is in MT4. The administrator himself confirmed this to me. I guess the reason why it works in backtest is that there is no history at all there.
I'm afraid you will need a real programmer for this issue. I'm not your man for this, sorry.
Oh my God, what bad news.
I will unfortunately have to look for a programmer to try to overcome this limitation that I found on FXdreema, I also tried all the ways and really what became evident is that fxdreema does not meet this expectation of the idea that I had, I will try to work around it somehow to overcome this idea and go in search of an mql5 programmer.
Thanks for all the help my friend. -
You are welcome.