5 Digits platforms flip up

 

Hello

I am making an EA to put pending orders a distance from current price, if the current price for EURUSD 1.38243 and buy limit at 1.38253 as example, i see the price on the platform flip very fast and passes the 1.38253 and does not activate the pending .

i used normalizedouble(1.38253,4) but sometimes succeeded and sometimes not, so how to overcome the problem with 5 Digits flipping very fast.

 
fx2013:

Hello

I am making an EA to put pending orders a distance from current price, if the current price for EURUSD 1.38243 and buy limit at 1.38253 as example, i see the price on the platform flip very fast and passes the 1.38253 and does not activate the pending .

i used normalizedouble(1.38253,4) but sometimes succeeded and sometimes not, so how to overcome the problem with 5 Digits flipping very fast.


You are too close to the market. See here for example.