Test Generator Error: invalid stops & order send error 130

 

5/30/2010 Alpari UK invalid stops - order send error 130 when t/o on alpari uk demo gbp/usd


... This is a common error, however I'm now wondering if the broker can cause this by a lack of data or broker settings, because using the same EA I am getting different results on different brokers.

 

I'm also getting the following error:


2010.05.30 16:19:36 TestGenerator: unmatched data error (volume limit 4689 at 2010.05.07 15:00 exceeded)

 

hi, as far i know. the minimum difference between OpenPrice and SL/TP are different on different brokers. you can check it with MarketInfo(Symbol(),MODE_STOP_LEVEL)

also ECN brokers does not accept SL/TP set in the OrderSend() function.

 
zzuegg:

also ECN brokers does not accept SL/TP set in the OrderSend() function.

This statement is inaccurate, zzuegg.

It depends upon how the institutional connectivity behind MT4 Server is achieved.

Specifically, if this is implemented using the Boston Technologies Bridge, then Instant Execution is not allowed (Market Execution only) and stops must be set at 0 in the initial OrderSend() and subsequently modified using OrderModify().

However, there are a) a couple of different APIs which can be used in MT4 Server (Server API and Manager API) and b) there are other broker-proprietary and commercial bridges which exploit this flexibility, are architected differently and can offer Instant Execution with stops set in the OrderSend().

CB

 
eliteeservices:

I'm also getting the following error:

2010.05.30 16:19:36 TestGenerator: unmatched data error (volume limit 4689 at 2010.05.07 15:00 exceeded)

I have already answered your question -> https://www.mql5.com/en/forum/126281. Why don't u do some searching before u post, both questions have been answered many times in the past.
 
gordon:
I have already answered your question -> https://www.mql5.com/en/forum/126281. Why don't u do some searching before u post, both questions have been answered many times in the past.

Trying to find an answer that works.
 
eliteeservices:

Trying to find an answer that works.
I see... Good luck finding it.
 
If you want to perfect solution for your test generator so feel free visit http://www.proprofs.com I hope its helpful to you....
Reason: