How can I calculate the average return percentage on Metatrader4? Thanks

 

  Hi. Can I ask how can I calculate automatically the average return percentage on Metatrader 4 or at least how to export automatically the data to Microsoft Exel and get it in the form of a chart in real time? Is this possible with Metatrader 4? Thanks