Position value in EA
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
- 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
How can I get the value of the position, which is marked in the picture, in the EA code