OrderSend error 130

5 replies

nolube

Customer, bbp_participant, community, 115 replies.

Visit profile

10 years ago #113832

Hi Tomas and Mark, I get this error ‘OrderSend error 130’ during backtesting in MT4. I can’t see that anyone else has had the same problem. 

 

The weird thing is, it is only happening to my long orders, the short orders are being executed fine!

 

Any ideas?

 

 

0

nolube

Customer, bbp_participant, community, 115 replies.

Visit profile

10 years ago #130898

Here you can see it has hit the stop level, but not triggered the buy. As I said, only long orders it doesn’t work for… weird.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #130908

Hi,

 

that is not usual. Can you please post your EA Wizard strategy file so I can check where the problem could be?

0

Jazzy

Subscriber, bbp_participant, community, 4 replies.

Visit profile

10 years ago #131699

Hi Nolube,

 

Did you get this sorted?  I have a similar problem.  I am only doing long orders, so I can’t say whether it works for short transactions.

 

It looks like it is trying to place orders with a stoploss and take profit of 0.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #131705

Hello Jazzy, it could be also a bug since error 130 can be translated as “Invalid Stops”. So the strategy code could generate incorrect rules for moving or setting stop-loss order. You can also send your strategy to our support email: [email protected] so I can check it

0

Matusiak Adrian

Customer, bbp_participant, community, 300 replies.

Visit profile

10 years ago #131724

If there are invalid stops, it also might tell that strategy uses Limit/Stop orders. So, now You should know what is minimum distance for such orders in Your broker. Lets say its “10”, so if SQ compute that it should send trade with limit/stop 4 pips away, then just server refuse such order.

btn_viewmy_160x33.png

0

Viewing 5 replies - 1 through 5 (of 5 total)