Record, gains, loss and operations by day.
-
Hello friends, can you help me to produce a logic to find some data???
Below what I want to find and register:Operations Record:
- Maximum amount of Operations per day.
- Minimum number of Transactions per day.
- Average number of Transactions per day.
Earnings record:
- Maximum amount of Earnings per day.
- Minimum amount of Earnings per day.
- Average amount of earnings per day.
Loss record:
- Maximum amount of Earnings per day.
- Minimum amount of Earnings per day.
- Average amount of earnings per day.
At the end, I want to generate a report informing me of all this so that I can generate for each EA that I develop a type of management based on the potential number of operations, daily gains and losses.
Does anyone have any example projects with this? -
Is the information provided by that daily report supposed to be stored in any way?
-
@l-andorrà I just need them to be displayed on the screen, the biggest problem is that it has to be something daily and it may be necessary to work with a matrix for this. the mt5 report generates an excel and I'm trying to get this information through it.
-
@OntradingX You can get all that info via variables that are visualized on the chart. However, they will be restarted to 0 every new day. I guess you need all that info stored day after day, right?
-
@l-andorrà yes, exactly i need all that info stored day after day.
But i created one excel about this, i run test to show any information for my management risk.
Thank you for help me. -
@OntradingX I don't know how to use EXCEL, but you can print the daily results of as many variables as you need bu adding this custom code at the end of each session:

Roar taught me to use it. Then at the end of the day you can open the log folder and find the results there. You'll have to do it on a daily basis.
-
@l-andorrà Very interesting.
I will test this approach, thanks for trying to help me. -
@OntradingX You're welcome.