Download MetaTrader 5

Get Profit for a specic day

To add comments, please log in or register
Have you developed a profitable strategy? Launch your trading signal and make profit from it!
Blackberry
28
Blackberry 2012.08.14 17:02 

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 2012.08.15 16:50  

Anybody out there???
onewithzachy
2271
onewithzachy 2012.08.15 17:00  
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 2012.08.15 21:36  
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