Download MetaTrader 5

Get Profit for a specic day

To add comments, please log in or register
Blackberry
28
Blackberry  

Greetings Guys

I am trying to get the total profit for a day, basically trying to make a little report for myself.

I have been using the Standard Libs alot and I am still trying to piece together this small function.

Can somebody please assist.

Thanks.

Blackberry
28
Blackberry  

Anybody out there???
onewithzachy
2271
onewithzachy  
Blackberry:

Greetings Guys

I am trying to get the total profit for a day, basically trying to make a little report for myself.

I have been using the Standard Libs alot and I am still trying to piece together this small function.

Can somebody please assist.

Thanks.

Hi Blackberry,

Try to explore Trade function (https://www.mql5.com/en/docs/trading)  especially - but not limited to - HistortSelect() https://www.mql5.com/en/docs/trading/historyselect and OrderCalcProfit() https://www.mql5.com/en/docs/trading/ordercalcprofit

And please do explore the other function in there.

 

Documentation on MQL5: Trade Functions
Documentation on MQL5: Trade Functions
  • www.mql5.com
Trade Functions - Documentation on MQL5
Blackberry
28
Blackberry  
onewithzachy:

Hi Blackberry,

Try to explore Trade function (https://www.mql5.com/en/docs/trading)  especially - but not limited to - HistortSelect() https://www.mql5.com/en/docs/trading/historyselect and OrderCalcProfit() https://www.mql5.com/en/docs/trading/ordercalcprofit

And please do explore the other function in there.

 

 


Dude thanks for pointing me in the correct direction, i will have a look @ this indeed.

Thanks

To add comments, please log in or register