Download MetaTrader 5

Calculation profit and loss

To add comments, please log in or register
Ali irwan
5211
Ali irwan  
hallo 

how to make a profit or loss calculation script in mt4

Thank
Marco vd Heijden
Moderator
5667
Marco vd Heijden  
Ali irwan:
hallo 

how to make a profit or loss calculation script in mt4

Thank

Please look at the function AccountProfit().

AccountProfit()
https://docs.mql4.com/account/accountprofit
AccountProfit - Account Information - MQL4 Reference
AccountProfit - Account Information - MQL4 Reference
  • docs.mql4.com
AccountProfit - Account Information - MQL4 Reference
To add comments, please log in or register