Download MetaTrader 5

How to get the historic profits made on a day so far

To add comments, please log in or register
Use the Pocket to paste your content. It is convenient!
Bipin Kuria
100
Bipin Kuria 2016.08.02 12:13 

Hi,

How do we get the total historic profits made on a day so far from 00:00?

Any code examples or link for reference?

 

Thanks,

Bip 

Marco vd Heijden
Moderator
4686
Marco vd Heijden 2016.08.02 12:23  
bipinkuriakose:

Hi,

How do we get the total historic profits made on a day so far from 00:00?

Any code examples or link for reference?

 

Thanks,

Bip 

Just filter on:

PERIOD_D1
And add all profits that have an opentime after the opentime of the last D1 bar.
Mohammad Soubra
24939
Mohammad Soubra 2016.08.03 00:45  
Marco vd Heijden:

Just filter on:

And add all profits that have an opentime after the opentime of the last D1 bar.
Very quick and summary
Not as simple as you think
To add comments, please log in or register