MQL4 How to show each chart profit? AccountProfit() ?

To add comments, please log in or register
Cromo
259
Cromo  

Hi,

I want to know current profit for each chart. I set 2 EA in each chart.

USDJPY EA1 and current profit $12

GBPUSD EA2 and current profit -8$

========================================

In this case, Account profit() =$12+(-$8) =$4. (total)

but I want to know each chart profit separately not total.

How can I know that by MQL4?

Marco vd Heijden
Moderator
12692
Marco vd Heijden  

put

Comment(OrderProfit());

in the orderselect loop.

Cromo
259
Cromo  
Marco vd Heijden:

put

in the orderselect loop.

Wow! Thank you so much!  Now I could done perfectly.
To add comments, please log in or register