high volatility situation

 

Suppose we have opened a buy position at the price of 2500 XAUUSD (placed by the EA) and we set the TP to 2501 (virtually means in my mql codes) and there is no SL.

At the time of publishing the news (high volatility situation ), the price reaches our TP price for just a short moment, but , the time for converting a order into a deal is high

(for example 11503 mili seconds  = 11 seconds !!) and during this time definitely the price has changed and my EA close that position with a loss !!!


any solutions ?

thanks

 
masoodbabagoli:

Suppose we have opened a buy position at the price of 2500 XAUUSD (placed by the EA) and we set the TP to 2501 (virtually means in my mql codes) and there is no SL.

At the time of publishing the news (high volatility situation ), the price reaches our TP price for just a short moment, but , the time for converting a order into a deal is high

(for example 11503 mili seconds  = 11 seconds !!) and during this time definitely the price has changed and my EA close that position with a loss !!!


any solutions ?

thanks

There is no solution you will get slippage 

 
You might want to set "real tp/sl" values much higher than your virtual tp/sl.
And have trailing applied to real and virtual tp/sl.

In worst case scenario, your real tp/sl would get triggered instead of your virtual tp/sl.

Good luck.
 
Paul Anscombe #:
There is no solution you will get slippage 


if i decrease my current ping from 35 ms to 2 ms , can i escape from slippage ?

 
Soewono Effendi #:
You might want to set "real tp/sl" values much higher than your virtual tp/sl.
And have trailing applied to real and virtual tp/sl.

In worst case scenario, your real tp/sl would get triggered instead of your virtual tp/sl.

Good luck.
my strategy work with partial close and when price hit my virtual tp i want to close half of position not all of that
 
masoodbabagoli #:

if i decrease my current ping from 35 ms to 2 ms , can i escape from slippage ?

How does that help if the order processing time is 11 seconds?

 
Paul Anscombe #:
How does that help if the order processing time is 11 seconds?

you mean i should change my broker ?
 
masoodbabagoli #:
you mean i should change my broker ?


Mr Paul Anscombe please help 
Paul Anscombe
Paul Anscombe
  • 2024.07.30
  • www.mql5.com
Trader's profile
 
masoodbabagoli #: Mr Paul Anscombe please help 

What part of “There is no solution you will get slippage” was unclear?

TP becomes a market order when hit. Your close price will vary.

Welcome to trading.