Download MetaTrader 5

StopLoss greater than actual price on open BUY position

To add comments, please log in or register
Laurentiu Sorin Tene
692
Laurentiu Sorin Tene 2014.09.13 09:14 

Hello,

I am in front of an abnormal situation. As you can see from attached pictures I run an EA. It opens a position at 1.29604 with a StopLoss at 1.29574. Till now everything OK.

After that it starts to modify position StopLoss according to my code. The question is why position is not closed when SL is reached. As you see in picture actual price is less than SL and position is still opened.

How could it be possible? What is the explanation? Does anyone confronted with such behavior ?


 

Files:
Michele Lazzarini
471
Michele Lazzarini 2014.09.16 11:23  

Try with Show Ask line.

Irwan Adnan
929
Irwan Adnan 2014.09.16 11:47  
oddpip:

Try with Show Ask line.

Is was buy position.
Michele Lazzarini
471
Michele Lazzarini 2014.09.16 12:51  

Add a CloseOrder if Price < StopLoss.

Alain Verleyen
Moderator
31177
Alain Verleyen 2014.09.16 15:15  
tenlau:

Hello,

I am in front of an abnormal situation. As you can see from attached pictures I run an EA. It opens a position at 1.29604 with a StopLoss at 1.29574. Till now everything OK.

After that it starts to modify position StopLoss according to my code. The question is why position is not closed when SL is reached. As you see in picture actual price is less than SL and position is still opened.

How could it be possible? What is the explanation? Does anyone confronted with such behavior ?


 

That's weird, I suggest you to ask explanation to your broker and to report this to ServiceDesk.
To add comments, please log in or register