@l-andorrà I know how to use declaring variables. So much so that I used several in my project. What I'm not able to understand is how to use "For each Position" to get the data I need.
Latest posts made by vanderleyfm
-
RE: Distance to Take Profitposted in General Discussions
-
RE: Distance to Take Profitposted in General Discussions
@vanderleyfm I also didn't understand how to use manu variables to find each TP.
-
RE: Distance to Take Profitposted in General Discussions
@l-andorrà On my FxDreema screen there is no option for "For each Trade". Only "For each Position", "For each Pending Order" and "For each Close position" appear.
-
RE: Distance to Take Profitposted in General Discussions
@l-andorrà Yes, I can share, but how do I do it?
-
RE: Distance to Take Profitposted in General Discussions
When starting the EA, at the predetermined time all orders are placed and, as the price varies, they are opened.
As many orders as I want can be placed. Usually about 200 orders (100 buy and 100 sell - grid type), with the respective take profit -
Distance to Take Profitposted in General Discussions
I am using a hedge account where I open several orders with the respective take profit. I need to find the distance between the current price and the first take profit above the current price and the first take profit below the current price. How can I do this?
I saw that in the "Bucket of Positions / Orders", "Take-profit", "Price Level", "Max value" or "Min value", I can find the distance to the highest and lowest take profit, but there is no way locate the first from the current price.