I need help to code real time statistic for EA!!!

 

I find in this EA very useful info.He display on chart real time statistic about sell lots,buy,profit and etc.I heed help to make a little piece of universal code for other EA.I mean to display only total number of sell and buy order and current sell and buy profit

Files: