A question about limit orders mt5

 
Hi, I have an EA that place sell and buy limit orders in future market. So here's the thing: My sell limit order is triggered at 4150.000 and I want a profit of 2 points (which is 4148.000) so my EA place a order at 4148.000 but when the price(bid) goes there it didnt take my order, only if the price goes below 4148.000 (so the ASK would be 4148.000). So how do I do to correct this spread? because I want take 2 points from the sell limit entry.
 
paludo:
Hi, I have an EA that place sell and buy limit orders in future market. So here's the thing: My sell limit order is triggered at 4150.000 and I want a profit of 2 points (which is 4148.000) so my EA place a order at 4148.000 but when the price(bid) goes there it didnt take my order, only if the price goes below 4148.000 (so the ASK would be 4148.000). So how do I do to correct this spread? because I want take 2 points from the sell limit entry.

Hi,

if you want to get the final profit of this trade equal to 2 points, your EA is doing everything correct, and spread is already accounted for.

If you want to close the order after price moves 2 points after it was triggered, you should ADD spread to the take profit order (4148+(Ask-Bid)), but in this case the trade outcome might be negative if the spread is greater than these 2 points.

Reason: