Code to keep track of ea profit and loss

 

how to keep track of EA profit and loss?

Does anyone have a code to put in EA so that it will keep track of the EA's profit & loss? 

 

  I want the total of profit & loss display on the chart, when someone drag and drop the EA to the chart.

 
Please stop once and for all to create new topics on "Articles, Library comments..." section. I moved this one on "General" section. Thanks.
Reason: