Average price
ingvar_e:
Not sure I understand your question.
If I have understood it correctly.
When adding to a position the price will be adjusted to some kind of "average" price for the aggregated position. Is this "average price" adjusted with regard of the size of what is added
in order to get the same result as when adding a new (separate) order in MT4
angevoyageur:
Not sure I understand your question.
Deal 1 opened at price x, Deal 2 opened at price y what is the resulting opening price of the position ? logically the respective deal sizes must affect the resultant position open price, I looked but didn't find anything to explain/confirm this.
Not sure I understand your question.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Position Properties
- www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Position Properties - Documentation on MQL5
RaptorUK:
Deal 1 opened at price x, Deal 2 opened at price y what is the resulting opening price of the position ? logically the respective deal sizes must affect the resultant position open price, I looked but didn't find anything to explain/confirm this.
Deal 1 opened at price x, Deal 2 opened at price y what is the resulting opening price of the position ? logically the respective deal sizes must affect the resultant position open price, I looked but didn't find anything to explain/confirm this.
Of course the deal sizes are important.
Average price = (size_1 * price_x + size_2 * price_y) / (size_1 + size_2)
im not andestand your question.......
If I have understood it correctly.
When adding to a position the price will be adjusted to some kind of "average" price for the aggregated position. Is this "average price" adjusted with regard of the size of what is added
in order to get the same result as when adding a new (separate) order in MT4