Please Does Anyone Know How To Close All Positions Exact Pips
-
This way, when the Robot has several orders in a grid, it ends up closing much higher, I would like to close the exact pips in profit

-
That is virtually impossible to do unless you are using a common TP level for all your trades. Every time a new tick is arriving to the MT4, all profits are recalculated. That means each open trade will add at least one more pip the the current single profit. For example, 4 open trades means a new tick will add 4 more pips to the global profit.
-
I don't think that is how it works, I think this is how long a command takes to get from your terminal, then the broker acts on the command, then your terminal gets a confirmed operation response, and this continues until all have closed. This is why news events are hard to EA trade, with the speed of tick changes, and the number of people asking for actions, brokers/terminals struggle to keep up. However, this makes little sense to me because if you click the x on a trade on your terminal it closes immediately. I think this has to do with the liquidity of the chosen market at the time, and also why slippage can at times be large. I have tried moving all TP/SL to above/below/on close price but trades still too up to 1 minute for each trade to close, and it starts with the most recent.
This just made me think that possibly starting the loop old to new might speed things up...
-
@l-andorrà said in Please Does Anyone Know How To Close All Positions Exact Pips:
That is virtually impossible to do unless you are using a common TP level for all your trades. Every time a new tick is arriving to the MT4, all profits are recalculated. That means each open trade will add at least one more pip the the current single profit. For example, 4 open trades means a new tick will add 4 more pips to the global profit.
Thank you, brother, close money works well, close pips no longer work -
@jstap said in Please Does Anyone Know How To Close All Positions Exact Pips:
I don't think that is how it works, I think this is how long a command takes to get from your terminal, then the broker acts on the command, then your terminal gets a confirmed operation response, and this continues until all have closed. This is why news events are hard to EA trade, with the speed of tick changes, and the number of people asking for actions, brokers/terminals struggle to keep up. However, this makes little sense to me because if you click the x on a trade on your terminal it closes immediately. I think this has to do with the liquidity of the chosen market at the time, and also why slippage can at times be large. I have tried moving all TP/SL to above/below/on close price but trades still too up to 1 minute for each trade to close, and it starts with the most recent.
This just made me think that possibly starting the loop old to new might speed things up...
Thank you, brother, close money works well, close pips no longer work
so it works well -
It will with a few trades (especially on backtest), but have a large number over a long duration and it won't
-
@jstap said in Please Does Anyone Know How To Close All Positions Exact Pips:
I don't think that is how it works, I think this is how long a command takes to get from your terminal, then the broker acts on the command, then your terminal gets a confirmed operation response, and this continues until all have closed. This is why news events are hard to EA trade, with the speed of tick changes, and the number of people asking for actions, brokers/terminals struggle to keep up. However, this makes little sense to me because if you click the x on a trade on your terminal it closes immediately. I think this has to do with the liquidity of the chosen market at the time, and also why slippage can at times be large. I have tried moving all TP/SL to above/below/on close price but trades still too up to 1 minute for each trade to close, and it starts with the most recent.
This just made me think that possibly starting the loop old to new might speed things up...
Hello Bro, why in money close does it close correctly?
now in pips it does not close, using this option Check profit (unrealized) using grid after 7 order in grid closes wrong much above the stipulated pips
-
@alok said in Please Does Anyone Know How To Close All Positions Exact Pips:
@jstap said in Please Does Anyone Know How To Close All Positions Exact Pips:
I don't think that is how it works, I think this is how long a command takes to get from your terminal, then the broker acts on the command, then your terminal gets a confirmed operation response, and this continues until all have closed. This is why news events are hard to EA trade, with the speed of tick changes, and the number of people asking for actions, brokers/terminals struggle to keep up. However, this makes little sense to me because if you click the x on a trade on your terminal it closes immediately. I think this has to do with the liquidity of the chosen market at the time, and also why slippage can at times be large. I have tried moving all TP/SL to above/below/on close price but trades still too up to 1 minute for each trade to close, and it starts with the most recent.
This just made me think that possibly starting the loop old to new might speed things up...
Hello Bro, why in money close does it close correctly?
now in pips it does not close, using this option Check profit (unrealized) using grid after 7 order in grid closes wrong much above the stipulated pips
Is there another way to do this?
-
@alok said in Please Does Anyone Know How To Close All Positions Exact Pips:
@alok said in Please Does Anyone Know How To Close All Positions Exact Pips:
@jstap said in Please Does Anyone Know How To Close All Positions Exact Pips:
I don't think that is how it works, I think this is how long a command takes to get from your terminal, then the broker acts on the command, then your terminal gets a confirmed operation response, and this continues until all have closed. This is why news events are hard to EA trade, with the speed of tick changes, and the number of people asking for actions, brokers/terminals struggle to keep up. However, this makes little sense to me because if you click the x on a trade on your terminal it closes immediately. I think this has to do with the liquidity of the chosen market at the time, and also why slippage can at times be large. I have tried moving all TP/SL to above/below/on close price but trades still too up to 1 minute for each trade to close, and it starts with the most recent.
This just made me think that possibly starting the loop old to new might speed things up...
Hello Bro, why in money close does it close correctly?
now in pips it does not close, using this option Check profit (unrealized) using grid after 7 order in grid closes wrong much above the stipulated pips
Is there another way to do this?
I've tried everything but it didn't work

-
@alok jstap and me provided an answer to your question above.