Find volume of currently open positions
-
I'm doing new module on my EA where I'll be able to turn an option ON/OFF with a button. This option is breakeven point or BEP. On activation (when multiply positions are opened with same type ) horizontal line appears and estimates the BEP (at £0) between all of the trades.
SO I need to know how to find each trade volume , alternatively I need to find pip value of each trade.
I don't know how to find the open trades and how to identify/sort them.
Little help will be appreciated .
Thanks -
This becomes a lot of work, trade tab for SL moving, or pink blocks across the tabs to see when all have the same SL, then you need to get the values and work with them.