How to make Pay-out

 

Hi,

     I am developing an EA. While back testing I would like to make payout the profit at the end of my trading cycles. (OrdersTotal() = 0) How can I make it?

Or The account balance should be reduced to opening balance and paid-out fund should be noted..

Thanks in advance. 

 
krishna_gopal_2:

Hi,

     I am developing an EA. While back testing I would like to make payout the profit at the end of my trading cycles. (OrdersTotal() = 0) How can I make it?

Or The account balance should be reduced to opening balance and paid-out fund should be noted..

Thanks in advance. 

You can't.

Keep track yourself and save the information to file. 

Reason: