How to find out Buy Price of my existing Trades?
-
I would like to store the "Buy Price" of my existing single/multiple trades in a variable.
I want the Buy Price based on the following:
- Last Trade taken.
- Trade that has the biggest lot size.
Can someone please help with this?
-
- https://fxdreema.com/shared/053yS3uA
- Now this is a little bit more complicated. In "For each Trade" I added the ability to sort trades by profit, but there is no sorting by lot size. So you can get the trade with the biggest profit, but not the one with the biggest lot size. Anyway, it depends on what money management you are using, maybe the one with the biggest lot size is the latest one, or the oldest one?
-
@fxDreema said in How to find out Buy Price of my existing Trades?:
- https://fxdreema.com/shared/053yS3uA
- Now this is a little bit more complicated. In "For each Trade" I added the ability to sort trades by profit, but there is no sorting by lot size. So you can get the trade with the biggest profit, but not the one with the biggest lot size. Anyway, it depends on what money management you are using, maybe the one with the biggest lot size is the latest one, or the oldest one?
This does help me to get my buy price of my last trade. But this will not help me get the buy price of the trade which has the maximum lots. Is there any way?
My open trades will have no connection between profit on it and lot size.