Here you have a script that requests all that data of positions, oders and the history.
Study it and copy that what you need.
BTW I don't understand what you your image should mean.
![Order - Deals - Position - Histroy Order - Deals - Position - Histroy](https://c.mql5.com/36/83/order-deals-position-histroy.jpg)
Order - Deals - Position - Histroy
- www.mql5.com
Get all your Deal, Positions and order Information to .csv Files. Ready for Excel import History is splitted in 3 files, Positions, Deals and Orders
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How can I get the value of the position, which is marked in the picture, in the EA code