OrderSend error #130

 

Hi guys,

i wanted my EA to open a pending order BUYSTOP but i received this error message #130

I think the problem is that the entry price is to near to the actual price.

I wanted to open a long pending order at 1.3000 and the actual price is 1.2999. So how can i get the lowest price for this long pending order BUYSTOP?

 
Just try to type '130' into the find box and press the search button.
 
FamWue:

Hi guys,

i wanted my EA to open a pending order BUYSTOP but i received this error message #130

I think the problem is that the entry price is to near to the actual price.

I wanted to open a long pending order at 1.3000 and the actual price is 1.2999. So how can i get the lowest price for this long pending order BUYSTOP?

You need to read this:  Requirements and Limitations in Making Trades
Reason: